<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>I have the following situation....<br><br>I'm using Action Originate to originate a call for a costumer. Originate goes to a context that call the dial application. Before the application (Dial using the G option) to be invoked i'm setting the variable cellphone like this:<br><br>[firstcontext]<br>&nbsp;&nbsp; exten =&gt; s,1,Set(CDR(cellphone)=${CELLPHONE})<br>&nbsp;&nbsp; exten =&gt; s,n,Dial(IAX2/user:pass@otherasterisk/${CELLPHONE},30,G(secondcontext^s^1))<br><br>[secondcontext]<br>&nbsp;&nbsp; exten =&gt; s,1,Hangup()&nbsp; <br>&nbsp;&nbsp; exten =&gt; s,n,Playback(something)<br>&nbsp;&nbsp; exten =&gt; s,n,NoOp(CDR(cellphone)<br>&nbsp;&nbsp; exten =&gt; s,n,Hangup()&nbsp; <br><br><span>When the costumer answer the call, caller party goes to </span>secondcontex on extension 1 and the called party goes to secondcontex on extension 2. On firstcontext (before the Dial) i can see the value of variable cellphone, but on my secondcontext (after Dial)&nbsp; the variable CDR(cellphone) is blank. <br><br>Is there something that i can do to pass the value after Dial application?<br><span id="2147aaf4-535e-4e88-9c50-311f42c9b5ef"><br><span name="x"></span><div><div><font style="font-weight: bold;" size="2"><span style="font-family: arial,helvetica,sans-serif;">Luiz Gustavo Chiaretto</span></font><br><img src="http://freeddom.com/images/signature/signature.jpg"><br></div></div><span name="x"></span><br></span><br></div></body></html>