[Freeswitch-users] How to get bridge call duration with lua

Michael Collins msc at freeswitch.org
Fri Nov 14 21:15:03 MSK 2014


Can you describe in a little more detail what you are trying to do? For
example, are you trying to get the bridge duration at some random point
during the call ("how long has this call been bridged so far?") or after
the call has ended?

-MC

On Fri, Nov 14, 2014 at 3:23 AM, jobin dcruz <jobindcruz at gmail.com> wrote:

> Hi,
>
> I am using freeswitch bridge,every thing working with fine.
>
> <action application="set" data="call_timeout=10"/>
>                         <action application="set"
> data="hangup_after_bridge=true"/>
>                         <action application="set"
> data="ringback=${us-ring}"/>
>                         <action application="bridge"
> data="sofia/gateway/outside/${customer_number}"/>
>
> My problem is
>
> How to get bridge call duration with lua?
> Cannot update CDR table with bridge call details.How to update it?
>
> --
> Jobin D'cruz (LAMP Developer)
> Email: jobindcruz at gmail.com | lampdeveloper.jobindcruz at gmail.com
>
>
>
> Php MySql Linux Apache Ajax FFmpeg FFmpeg-php Mplayer Zend Framework
> Codeigniter CakePhp Wordpress Drupal Joomla Html5 Css3 jQuery YUI
> MooTools Smarty Firefox Extension
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141114/11cc4dad/attachment.html 


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