On Thu, Aug 22, 2019, at 5:33 AM, Jonas Kellens wrote:
> Hello 
> 
> I see on the CLI :
> 
> tst*CLI> core show hints
>  -= Registered Asterisk Dial Plan Hints =-
>  50@blf : SIP/testacc7 State:Idle Watchers 3
>  6001@blf : Custom:q-6001 State:Idle Watchers 1
>  5@blf : SIP/testacc6 State:Unavailable Watchers 1
> 
> 
> 
> Is there a way to get this info through the manager API ?

There is an ExtensionStateList action[1]. You can also get individual extension 
state, or device state, or you could use the AMI action which allows you to 
execute a CLI command. I'd suggest looking through the manager action 
documentation to find the action that does precisely what you want if 
ExtensionStateList isn't it.

[1] 
https://wiki.asterisk.org/wiki/display/AST/Asterisk+17+ManagerAction_ExtensionStateList

-- 
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to