how get billserc in dialplan?
Hi how get billsec in dialplan. i am try a condition after sched_transfer_time. <condition field="${cond( ${answered_time} >= ${duration} ? YES : NO )}" expression="^YES$"> i need check two time in seconds, without hangup the call example <condition field="${cond( 60 >= 30 ? YES : NO )}" expression="^YES$"> Thank
Billsec is set after hangup (in the reporting state), and a call won’t be in the dial plan after it is hung up.
On Sep 16, 2019, at 9:10 AM, Jorge Cadena <jorge.cadena@gmail.com> wrote:
Hi
how get billsec in dialplan.
i am try a condition after sched_transfer_time.
<condition field="${cond( ${answered_time} >= ${duration} ? YES : NO )}" expression="^YES$">
i need check two time in seconds, without hangup the call
example
<condition field="${cond( 60 >= 30 ? YES : NO )}" expression="^YES$">
participants (2)
-
Jorge Cadena
-
Mike Jerris