Rodrigo Lang
2010-Nov-08 18:12 UTC
[asterisk-users] Get the Uniqueid of Action Originate in the AMI
Hi to all. I'm begin a use the AMI and i have the need to get the uniqueid from the call i have generate using the Action Originate. Anyone can help me? When I generate these commands: action: Originate channel: SIP/101 application: Dial data: SIP/100,120,Ttr The only response I get when the call is answered, is this: Response: Success Message: Originate successfully queued Thanks a lots, -- Rodrigo Lang Opening your mind - Just another Open Source site<http://openingyourmind.wordpress.com/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101108/842f8ab3/attachment.htm
Danny Nicholas
2010-Nov-08 18:41 UTC
[asterisk-users] Get the Uniqueid of Action Originate in the AMI
_____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Rodrigo Lang Sent: Monday, November 08, 2010 12:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Get the Uniqueid of Action Originate in the AMI Hi to all. I'm begin a use the AMI and i have the need to get the uniqueid from the call i have generate using the Action Originate. Anyone can help me? When I generate these commands: action: Originate channel: SIP/101 application: Dial data: SIP/100,120,Ttr The only response I get when the call is answered, is this: Response: Success Message: Originate successfully queued If you generate this from an AGI, you can query the output and get the uniqueid from that. If you are doing it via a Call file or some other method, you are probably out of luck. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101108/78e105c6/attachment.htm
Adolphe Cher-Aime
2010-Nov-08 18:43 UTC
[asterisk-users] Get the Uniqueid of Action Originate in the AMI
Set event on while login into AMI and set your own uniqueid using action ID for that call . Example : action: login Username: your_user Secret: your_secret Event: On action: Originate channel: SIP/101 application: Dial data: SIP/100,120,Ttr ActionId: yourID Hope that will help. On Mon, Nov 8, 2010 at 1:12 PM, Rodrigo Lang <rodrigoferreiralang at gmail.com>wrote:> Hi to all. > > I'm begin a use the AMI and i have the need to get the uniqueid from the > call i have generate using the Action Originate. Anyone can help me? > > When I generate these commands: > > action: Originate > channel: SIP/101 > application: Dial > data: SIP/100,120,Ttr > > The only response I get when the call is answered, is this: > > Response: Success > Message: Originate successfully queued > > > > > Thanks a lots, > -- > Rodrigo Lang > Opening your mind - Just another Open Source site<http://openingyourmind.wordpress.com/> > > > -- > _____________________________________________________________________ > -- 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 >-- *Adolphe CHER-AIME Network / VoIP Engineer CCNA, CCNA VOICE, Global VSAT Forum Certified (509) 3449-4280* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101108/d920db82/attachment.htm
Miguel Molina
2010-Nov-08 18:45 UTC
[asterisk-users] Get the Uniqueid of Action Originate in the AMI
El 08/11/10 13:12, Rodrigo Lang escribi?:> Hi to all. > > I'm begin a use the AMI and i have the need to get the uniqueid from > the call i have generate using the Action Originate. Anyone can help me? > > When I generate these commands: > > action: Originate > channel: SIP/101 > application: Dial > data: SIP/100,120,Ttr > > The only response I get when the call is answered, is this: > > Response: Success > Message: Originate successfully queued >Hi, If you are using the originate action in asynchronous mode, you will receive the uniqueid of the originated call in the OriginateResponse event, not in the response of the action. Regards, -- Ing. Miguel Molina Grupo de Tecnolog?a Millenium Phone Center -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101108/17321633/attachment.htm