[asterisk-users] Get the Uniqueid of Action Originate in the AMI

Miguel Molina mmolina at millenium.com.co
Mon Nov 8 12:45:32 CST 2010


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 


More information about the asterisk-users mailing list