[Freeswitch-users] Message: global name 'varnum' is not defined
Aqs Younas
aqsyounas at gmail.com
Fri Jun 27 00:58:45 MSD 2014
when i try to run this python script.
def handler(session, args):
while (session.ready() == True):
session.answer()
number=session.getVariable("caller_id_number")
consoleLog("info",number)
session.setVariable("varnum", "hammer");
consoleLog("info",varnum)
i encounter with this message and call is hangup.
"Message: global name 'varnum' is not defined
Exception: None"
Any help in this regard would be much appreciated.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140627/d1bee8f6/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list