[asterisk-users] OriginateResponse Event

Danny Nicholas danny at debsinc.com
Mon Oct 5 12:33:47 CDT 2009


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?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jared Smith
Sent: Monday, October 05, 2009 12:30 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] OriginateResponse Event

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.


-- 
Jared Smith
Training Manager
Digium, Inc.


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list