[asterisk-users] AMI question

Jerry Geis geisj at pagestation.com
Fri Jun 10 13:53:51 CDT 2011


>
> Either use ExtensionState or watch for Hold/Unhold events.
>
> http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+ExtensionState
>   

Eric

Thanks I have 2 questions:

1) trying to use the command and not getting anything of value:
Response: Success
ActionID: 1
Message: Extension Status
Exten: 401
Context: polycom
Hint:
Status: -1

Current calls are this:
SIP/401-0000001a!smvoice-sip!!1!Up!AppDial!(Outgoing 
Line)!401!!3!24!SIP/404-00000019
SIP/404-00000019!smvoice-sip!401!6!Up!Dial!SIP/401|20|!204!!3!24!SIP/401-0000001a

status -1 is not found. 401 is valid for me and even active. what am I 
not sending correct? I also tried SIP/401, same result.


2) Is it possible to status for Incoming calls also - if they are on hold.
how do I do that?

THanks,

Jerry








More information about the asterisk-users mailing list