<div dir="ltr">Hi All.  I am trying to access the billmsec from lua, but not being very successful at it.  Here's what I've done so far:<br><div><br></div><div>freeswitch.consoleLog("info", "Billable Duration: " .. session:getVariable("variable_billmsec"));<br></div><div><br></div><div>However, when I look at the cli, I get an error because it is nil.  I am calling this script from the api_hangup_hook.</div><div><br></div><div>Any suggestions?</div><div><br></div><div>Thank you,</div><div>Alex</div></div>