[asterisk-users] OriginateResponse Event
Philipp Kempgen
philipp.kempgen at amooma.de
Mon Oct 5 12:57:43 CDT 2009
Danny Nicholas schrieb:
> What are the limitations of ActionID? In all of the examples I see, it is
> usually 1 or some integer. Can it be a timestamp like uniqueid?
AFAICR ActionID is a string. Probably limited to 255 characters or
something.
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jared Smith
> On Mon, 2009-10-05 at 14:55 +0000, Anahi Ludueña wrote:
>> I'm executing some parallel Originate async, is there a way to know
>> the result of each originate?...
>> I was looking at the OriginateResponse event, but I don't know how to
>> get it from my web service. Also, if I have 3 originate in parallel,
>> how can I identify the OriginateResponse of each one?
>
> Whenever you send an action through AMI, you should also provide an
> ActionID string, which is something you create and should be unique for
> each action you send. The response from that action should contain that
> same ActionID, so that you can identify the responses with the
> corresponding action based on the ActionID.
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
--
More information about the asterisk-users
mailing list