<div dir="ltr">Guys, <br><br>I am using <br>Asterisk 1.8.20.0 built by mockbuild @ <a href="http://buildvm-24.phx2.fedoraproject.org">buildvm-24.phx2.fedoraproject.org</a> on a x86_64 running Linux on 2013-01-18 19:52:25 UTC<br>
<br>How can I set variable in one context and then Redirect a channel to another context and use variable there? The code below doesn't work, so I've got empty VAR1 in context_2<br><br>[context_1]<br><br>exten => s,1,SET(__VAR1=VALUE1)<br>
exten => s,n,ChannelRedirect(${CHANNEL},context_2,AMD,1)<br><br>[context_2]<br><br>exten => AMD,1,NoOp(VAR1: ${VAR1})<br><br>Thank you in advance, <br>Igor</div>