<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(&quot;caller_id_number&quot;)<br>
                consoleLog(&quot;info&quot;,number)<br>                session.setVariable(&quot;varnum&quot;, &quot;hammer&quot;);<br>                consoleLog(&quot;info&quot;,varnum) <br><br></div>i encounter with this message and call is hangup.<br>
<br>&quot;Message: global name &#39;varnum&#39; is not defined<br>Exception: None&quot;<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>