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

jobin dcruz jobindcruz at gmail.com
Mon Nov 17 20:54:49 MSK 2014


Issue is solved.Thanks all

On Mon, Nov 17, 2014 at 7:17 PM, Brian West <brian at freeswitch.org> wrote:

> tsk tsk tsk, you really shouldn't be doing billing inline with your call
> flow, There are many ways of accomplishing this without having to invade
> the session itself to accomplish billing.  Is that all you're trying to do
> is billing calls? Can you elaborate a little bit more?
>
> On Fri, Nov 14, 2014 at 8:48 PM, jobin dcruz <jobindcruz at gmail.com> wrote:
>
>> Hi Michael,
>>
>> I want to customer call duration for billing details.
>>
>> <action application="bridge" data="sofia/gateway/outside/${
>> customer_number}"/>
>>
>> ex: i am calling xxxxxxxxxx customer number , if customer call is hungup
>> i want to customer call duration
>>
>>
>> On Fri, Nov 14, 2014 at 11:45 PM, Michael Collins <msc at freeswitch.org>
>> wrote:
>>
>>> 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
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>> 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> 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
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141117/c84e4c1a/attachment-0001.html 


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