Matthew M. Boedicker
2007-May-16 13:42 UTC
[asterisk-users] getting call status using Manager API
I am originating a call using the "Originate" action in the Manager API. It calls one party, then when they answer does the "Dial" application and calls another party and connects the two. Is there a way using the Manager API to check back later on the status of this call (is it still up, etc.)? I have found the "Status" API action, but I don't know how to get what to pass in for the channel parameter. Thanks, Matthew Boedicker
Matthew, If you hold open the connection to the manager api after initiating your call you should see packets returning from Asterisk which you can parse to get the call state. I'm not sure if there is a way to do it later after the fact. You can execute commands like "Show Channels" through manager though. On 5/16/07, Matthew M. Boedicker <matthewm@boedicker.org> wrote:> I am originating a call using the "Originate" action in the Manager API. It > calls one party, then when they answer does the "Dial" application and calls > another party and connects the two. > > Is there a way using the Manager API to check back later on the status of > this call (is it still up, etc.)? > > I have found the "Status" API action, but I don't know how to get what to > pass in for the channel parameter. > > Thanks, > Matthew Boedicker > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- ________________ Mitchel Constantin Snap - A desktop user interface for Asterisk www.snapanumber.com