[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 sitehttp://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
Re: [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 -- _ -- 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
Re: [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 rodrigoferreiral...@gmail.comwrote: 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 sitehttp://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* -- _ -- 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
Re: [asterisk-users] Get the Uniqueid of Action Originate in the AMI
_ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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. -- _ -- 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
Re: [asterisk-users] Get the Uniqueid of Action Originate in the AMI
The other thing you can do is put UserEvent() calls in your dialplan that can have pretty much anything you want in them. exten = s,5,UserEvent(DidQueue,${UNIQUEID} ${CHANNEL}) -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Nov 8, 2010, at 10:45 AM, Miguel Molina wrote: 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 -- _ -- 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 -- _ -- 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
Re: [asterisk-users] Get the Uniqueid of Action Originate in the AMI
Thanks a lot to all for the responses. I begin to use the event OriginateResponse, it's what i need. Thanks again. Best regards, -- Rodrigo Lang Opening your mind - Just another Open Source sitehttp://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