wifx
(wifx)
#1
Hello !
I need to monitor the number of channels in use on a trunk.
Found this command to get the informations :
asterisk -rx “pjsip list endpoints” | grep SunrisePJSIP | grep “[0-9]”
The return :
I just want the number of channels to be return by the command, What am I doing wrong ?
Stewart1
(Stewart)
#2
asterisk -rx "pjsip list endpoints" | grep SunrisePJSIP | grep -o [0-9]
1 Like
wifx
(wifx)
#3
Your the boss !! Thank you !!!
system
(system)
closed
#4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.