[asterisk-users] Get Channel Variables in AMI Event NewExten
Faheem
faheem_imt at yahoo.com
Tue May 7 00:25:00 CDT 2013
Hi, I'm stucked in situation, and look for a work around if possible in Asterisk.
I have a dialplan,
[default]
exten => 111222,n,Set(fu_callerid=141688xyxzz)
exten => _X.,n,NoOp(Callerid ${fu_callerid})
exten => _X.,n,wait(2)
exten => _X.,n,Answer()
When, Answer Application is called AMI Event is triggered like this..
'Event' => 'Newexten',
'Privilege' => 'dialplan,all',
'Channel' => 'IAX2/X.X.X.X:4572-5011',
'Context' => 'default',
'Extension' => '111222',
'Application' => 'Answer',
'Uniqueid' => '1367903383.682',
'AppData' => '',
'Priority' => '4'
--------------
Now my question is how can I get the variable "fu_callerid" in the AMI event block.? Please suggest any work around if possible.
Thank you!
Muhammad Faheem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130506/d6db25d4/attachment.htm>
More information about the asterisk-users
mailing list