[asterisk-users] Adding Variable in all AMI events

SamyGo govoiper at gmail.com
Wed Sep 9 11:41:36 CDT 2015


Hi all,

I'm required to send a dialplan variable with every AMI event triggered for
the duration of the call.
For example;

...
exten => s,n,Set(MyVar=${ODBC_GetSomething(${EXTEN}))
...

so can I have this Variable MyVar attached in all AMI events for this call
? I can understand that untill this variable has not been set some value it
may even be empty but as soon as its set I expect some value for the rest
of the channel life.


Hope to get some directions,

Regards,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150909/d5fdd032/attachment.html>


More information about the asterisk-users mailing list