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 <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>> 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>
> Hi all,<br>
> I am using a simple perl script to connect with ast manager api. the script<br>
> tries to set a channel variable. It extracts the channel name from the<br>
> events it recieves after dial command. When i try to set the channel<br>
> variable, asterisk responses with an error saying that the channel does not<br>
> exist. Can anybody tell me why its doing so, coz i can see on cli that the<br>
> channel exists. If i try to set the variable without stating the channel<br>
> then it sets the global variable, but i want to set the channel variable.<br>
> 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't<br>
think you can do that in 1.4 .<br>
<br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
+972-50-7952406 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> <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>
<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>