[Freeswitch-users] Getting Bill Seconds in Lua
Alexander Perkins
alexanderhenryperkins at gmail.com
Tue May 3 16:52:21 UTC 2022
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:
freeswitch.consoleLog("info", "Billable Duration: " ..
session:getVariable("variable_billmsec"));
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.
Any suggestions?
Thank you,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220503/2e52bb6e/attachment.html>
More information about the FreeSWITCH-users
mailing list