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
--
_____________________________________________________________________
-- 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

Reply via email to