The variable varname has not been set prior to the consoleLog call.
torsdag 26 juni 2014 skrev Aqs Younas <aqsyounas@gmail.com>:
Everytime i rum this code..
while (session.ready() == True):
session.answer()
number=session.getVariable("caller_id_number");
session.setVariable("varname", "hammer");
consoleLog("info",varname)i get this error.
"Message: global name 'varname' is not defined
Exception: None"Don't where i am doing something wrong
Any help would be much appreciated.Thanks