[asterisk-users] Hint and state

Administrator TOOTAI admin at tootai.net
Thu Jan 10 08:13:13 CST 2019


on an Asterisk 16 with PJSIP I want to know the state of a device (idle, 
busy, unavailable, ...) in the dialplan. I tried with ChanIsAvail() but 
this one doesn't return the real state (eg a device calling an extension 
which is running ChanIsAvail() is marked as idle!)

When I use in a console "core show hints" or "core show hint 
<EXTENSION>" I get the right information. How to get the same 
information in a dialplan ?

Thanks for any hint (ha ha ;))


More information about the asterisk-users mailing list