Ticket #2704: page.asteriskinfo.php.diff

File page.asteriskinfo.php.diff, 0.5 kB (added by drmessano, 4 years ago)
  • D:/Downloads/patch/page.asteriskinfo.php

    old new  
    7979if (trim($astver) == '99') { 
    8080  if ($astman) { 
    8181    //get version 
    82     $response = $astman->send_request('Command', array('Command'=>'show version')); 
     82    $response = $astman->send_request('Command', array('Command'=>'core show version')); 
    8383    $astver = $response['data']; 
    8484    if (preg_match('/Asterisk (\S+)/', $astver, $matches)) { 
    8585      $astver=$matches[1];