[asterisk-users] Hint and state

Administrator TOOTAI admin at tootai.net
Thu Jan 10 12:10:14 CST 2019


Le 10/01/2019 à 16:18, Social Boh a écrit :
> Hello,
> 
> maybe:
> 
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_DEVICE_STATE 

Thanks Social, exactly what I wanted.

> 
> 
> ---
> I'm SoCIaL, MayBe
> 
> El 10/01/2019 a las 09:13, Administrator TOOTAI escribió:
>> Hi,
>>
>> 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 ;))
>>
>> Daniel
>>
> 



More information about the asterisk-users mailing list