<div dir="ltr"><div><div><div>when i try to run this python script.<br><br>def handler(session, args):<br> while (session.ready() == True):<br> session.answer()<br> number=session.getVariable("caller_id_number")<br>
consoleLog("info",number)<br> session.setVariable("varnum", "hammer");<br> consoleLog("info",varnum) <br><br></div>i encounter with this message and call is hangup.<br>
<br>"Message: global name 'varnum' is not defined<br>Exception: None"<br><br></div>Any help in this regard would be much appreciated.<br></div><br>Thanks.<br><div><div><div> <br>
</div></div></div></div>