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






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to