Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gavin Pryke
linuxmce
Commits
9f6fcceb
Commit
9f6fcceb
authored
Apr 04, 2017
by
Alblasco1702
Browse files
Update phoneLines.php
parent
f965c86d
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/lmce-admin/operations/phones/phoneLines.php
View file @
9f6fcceb
...
...
@@ -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';
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment