Hi people, 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? Thanks in advance... Anahi Ludue?a _________________________________________________________________ Nuevo Windows Live, un mundo lleno de posibilidades. Desc?brelo. http://www.microsoft.com/windows/windowslive/default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091005/9f34b012/attachment.htm
Each response set has a uniqueid field that designates the start time and call sequence of the call. Unless you manage to start 36K calls simultaneously, you can track each call with this. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anahi Ludue?a Sent: Monday, October 05, 2009 9:56 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] OriginateResponse Event Hi people, 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? Thanks in advance... _____ Anahi Ludue?a _____ Nuevo Windows Live, un mundo lleno de posibilidades Desc?brelo. <http://www.microsoft.com/windows/windowslive/default.aspx> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091005/17d51c1b/attachment.htm
Thanks Danny, but how can I get it from my web service? Anahi Ludue?a From: danny at debsinc.com To: asterisk-users at lists.digium.com Date: Mon, 5 Oct 2009 10:03:41 -0500 Subject: Re: [asterisk-users] OriginateResponse Event Each response set has a uniqueid field that designates the start time and call sequence of the call. Unless you manage to start 36K calls simultaneously, you can track each call with this. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anahi Ludue?a Sent: Monday, October 05, 2009 9:56 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] OriginateResponse Event Hi people, 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? Thanks in advance... Anahi Ludue?a Nuevo Windows Live, un mundo lleno de posibilidades Desc?brelo. _________________________________________________________________ Nuevo Windows Live, un mundo lleno de posibilidades. Desc?brelo. http://www.microsoft.com/windows/windowslive/default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091005/02a585ed/attachment.htm
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.