same is the case in 1.6, i cant set the variable still.<br><br><div class="gmail_quote">On Thu, May 8, 2008 at 8:43 PM, Tzafrir Cohen &lt;<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Thu, May 08, 2008 at 07:39:39PM +0500, Rizwan Hisham wrote:<br>

&gt; Hi all,<br>
&gt; I am using a simple perl script to connect with ast manager api. the script<br>
&gt; tries to set a channel variable. It extracts the channel name from the<br>
&gt; events it recieves after dial command. When i try to set the channel<br>
&gt; variable, asterisk responses with an error saying that the channel does not<br>
&gt; exist. Can anybody tell me why its doing so, coz i can see on cli that the<br>
&gt; channel exists. If i try to set the variable without stating the channel<br>
&gt; then it sets the global variable, but i want to set the channel variable.<br>
&gt; Anybody has a solution to this problem?<br>
<br>
</div></div>In 1.6 you can set a channel variable from a diferent context. I don&#39;t<br>
think you can do that in 1.4 .<br>
<br>
--<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Tzafrir Cohen<br>
icq#16849755 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> &nbsp;<a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
 &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>