[asterisk-users] AMI: anything to glue originate to events?
Jim Dickenson
dickenson at cfmc.com
Thu Nov 17 15:20:39 CST 2011
The easiest thing to do is to create userevents in your dialplan to passed to AMI details you want to key off of. In the original originate you can set so variable that you pass to various macros and what have you. These then generate userevents that AMI can use to track the flow of the call.
--
Jim Dickenson
mailto:dickenson at cfmc.com
CfMC
http://www.cfmc.com/
On Nov 17, 2011, at 12:02 PM, giovanni.v wrote:
> On 17/11/2011 19.45, c.savinovich at itntelecom.com wrote:
>> if it is what I think it is, I remember I had a similar situation a few
>> years ago, and I ended up having to create an internal table in my code,
>> so that I could keep track of the channel ids + action ids .
>
> Which is exactly what I'm doing but I tried to figure out if there was something more reliable ... I refer to the logic not the data structure.
>
> Ignoring for a moment the relationship between events, my conclusion is still that there is nothing that ensures that very first event that I will receive after /Response/ to my /Originate/ for that channel is really fired from my application, I can only guess it is.
>
> Thank you.
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> 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