Commit 9f6fcceb authored by Alblasco1702's avatar Alblasco1702
Browse files

Update phoneLines.php

parent f965c86d
......@@ -405,7 +405,7 @@ function getLineState($protocol, $username){
}
else if($protocol == 'SPA') {
$cmd='sudo -u root /usr/sbin/asterisk -rx "sip show peers" | awk \'$1 == "'.$username.'/'.$username.'" { print $6}\'';
$cmd='sudo -u root /usr/sbin/asterisk -rx "sip show peers" | awk \'$1 == "'.$username.'" { print $6}\'';
$response=exec_batch_command($cmd,1);
//$response='N/A';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment