26 Jun
2014
26 Jun
'14
8:58 p.m.
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.