<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span>Hi, I'm stucked in situation, and look for a work around if possible in Asterisk.</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>I have a dialplan,</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;"><font size="2">[default]</font></div><div style="background-color: transparent;"><font size="2">exten => 111222,n,Set(fu_callerid=141688xyxzz)</font></div><div style="background-color: transparent;"><font size="2">exten => _X.,n,NoOp(Callerid ${fu_callerid})</font></div><div
style="background-color: transparent;"><font size="2">exten => _X.,n,wait(2)</font></div><div><font size="2" style="background-color: rgb(255, 128, 128);">exten => _X.,n,Answer()</font></div><div style="background-color: transparent;"><span style="font-size: 10pt;"> </span><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><span style="font-size: 10pt;">When, Answer Application is called AMI Event is triggered like this..</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 10pt; font-family: arial, helvetica, sans-serif; font-style: normal;"><span><div style="background-color: transparent;"><span style="font-size: 13px;"> 'Event' => 'Newexten',</span></div><div style="background-color: transparent;"><span style="font-size: 13px;">
'Privilege' => 'dialplan,all',</span></div><div style="background-color: transparent;"><span style="font-size: 13px;"> 'Channel' => 'IAX2/X.X.X.X:4572-5011',</span></div><div style="background-color: transparent;"><span style="font-size: 13px;"> 'Context' => 'default',</span></div><div style="background-color: transparent;"><span style="font-size: 13px;"> 'Extension' => '111222',</span></div><div style="background-color: transparent;"><span style="font-size: 13px;"> 'Application' => 'Answer',</span></div><div style="background-color: transparent;"><span style="font-size: 13px;"> 'Uniqueid' => '1367903383.682',</span></div><div style="background-color: transparent;"><span style="font-size: 13px;"> 'AppData' => '',</span></div><div
style="background-color: transparent;"><span style="font-size: 13px;"> 'Priority' => '4'</span></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; font-style: normal;">--------------</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; font-style: normal;">Now my question is how can I get the variable "fu_callerid" in the AMI event block.? Please suggest any work around if possible.</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; font-style: normal;">Thank you!</div></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><div>Muhammad Faheem</div> <div><br><br></div></div></div></body></html>