[asterisk-users] Manager API - Setvar not working

Rizwan Hisham rizwanhasham at gmail.com
Thu May 8 09:39:39 CDT 2008


Hi all,
I am using a simple perl script to connect with ast manager api. the script
tries to set a channel variable. It extracts the channel name from the
events it recieves after dial command. When i try to set the channel
variable, asterisk responses with an error saying that the channel does not
exist. Can anybody tell me why its doing so, coz i can see on cli that the
channel exists. If i try to set the variable without stating the channel
then it sets the global variable, but i want to set the channel variable.
Anybody has a solution to this problem?

-- 
Best Regards
Rizwan Hisham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080508/4762e3d6/attachment-0001.htm 


More information about the asterisk-users mailing list