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:[email protected]

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

Reply via email to