Billsec is set in reporting state, after you are out of dial plan. What are you trying to do based on that, I can suggest a few approaches<span></span><br><br>On Monday, April 11, 2016, Joel Serrano <<a href="mailto:joel@gogii.net">joel@gogii.net</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>Is it possible to access ${billsec} in the dialplan after the bridge application (having hangup_after_bridge=false)??</div><div><br></div><div>I want to log the billsec but currently it is always empty.</div><div><br></div><div>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.</div><div><br></div><div>Is there no way to do this within the XML dialplan?</div><div><br></div><div>Thanks!</div><div><br></div><div>Best regards, </div><div>Joel.</div><div><br></div><div><br></div></div>
</blockquote>