How can i look on cli sip peer status like ringing, busy, in use, etc. Note that sip peer is not member any queue.
Asked
Active
Viewed 1,301 times
1 Answers
2
Sip peer status is reachable/unreachable.
What you have asked is device state. Asterisk have multiple method for check device state, for example you can do it via AMI or ARI
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Devicestates+REST+API

arheops
- 15,544
- 1
- 21
- 27
-
1execuseme i forgot write metod. I want it in cli – Ramin Darvishov Oct 16 '19 at 06:04
-
So what is problem? Add it to cli. At this moment cli show only custom states "devstate list" – arheops Oct 16 '19 at 06:29
-
Exactly which command return state of sip on cli ? In my case state mean ringing, busy, hold, etc. – Ramin Darvishov Oct 16 '19 at 07:40
-
There is no such command, you can easy add it, source code availible. – arheops Oct 16 '19 at 11:02