Hello, When I attempt to make a call using AMI interface with originate action I successfully specify all of the needed parameters but when I try to control the flow of the call I am unable to identify each call because asterisk uses some kind of unique identification appended to the channel string. E.g. channel: SIP/1000 results in SIP/1000-*0845ea38*. I also found an auto-generated unique ID but I don't know how to retrieve it immediately after the originate action to be able to use it to identify the calls that I made. How can I get the actual channel string after calling Originate? or how can I get the unique ID of a call about to start (or already started) using the same action (Originate). Regards. Carlos. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090706/7691a40b/attachment.htm
Carlos Ruiz Diaz schrieb:> When I attempt to make a call using AMI interface with originate action I > successfully specify all of the needed parameters but when I try to control > the flow of the call I am unable to identify each call because asterisk > uses some kind of unique identification appended to the channel string. E.g. > > channel: SIP/1000 results in SIP/1000-*0845ea38*. > > I also found an auto-generated unique ID but I don't know how to retrieve > it immediately after the originate action to be able to use it to identify > the calls that I made. > > How can I get the actual channel string after calling Originate? or how can > I get the unique ID of a call about to start (or already started) using the > same action (Originate).Doesn't the OriginateResponse give you that information? Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de --