[Freeswitch-users] Billsec in dialplan

Joel Serrano joel at gogii.net
Tue Apr 12 07:44:23 MSD 2016


Is it possible to access ${billsec} in the dialplan after the bridge
application (having hangup_after_bridge=false)??

I want to log the billsec but currently it is always empty.

I have a workaround in a test server using api_hangup_hook to call a lua
script with session_in_hangup_hook=true, and inside the lua script I can
access the billsec variable and thus write it to the logs.

Is there no way to do this within the XML dialplan?


Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160411/99fa173e/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list