[Freeswitch-users] call duration for bash script

David Villasmil david.villasmil.work at gmail.com
Wed Feb 23 22:45:14 UTC 2022


look into
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+set+zombie+exec
billsec is not available until the call actually hangs up.

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Wed, Feb 23, 2022 at 4:54 PM Bote Man <botelist at gmail.com> wrote:

> I don't know a good answer to your question, but over the years I
> understand that the best way to solve these kinds of problems is to read
> the call detail log and parse out the desired values from there. This is
> best done outside of the dialplan, so you would trigger your script to
> start its processing while the dialplan completes the call.
>
>
> John Boteler
> Bote Communications
>
>
>
> -----Original Message-----
> From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On
> Behalf Of thomas peterseil
> Sent: Monday, 21 February, 2022 11:57
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Subject: [Freeswitch-users] call duration for bash script
>
> hello freeswitch-users,
> i would like to run a bash script after a call and for this script i need
> the duration of that call. i found the variable "billsec", but i couldnĀ“t
> find any dialplan examples how to use this variable. can someone give me a
> hint how i can hand over the duration of the call to a bash script in the
> dialplan.
> thank you very much!
> best regards,
> thomas
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220223/9933934e/attachment.html>


More information about the FreeSWITCH-users mailing list