<div dir="ltr">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?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 8:48 PM, jobin dcruz <span dir="ltr"><<a href="mailto:jobindcruz@gmail.com" target="_blank">jobindcruz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Michael,<br><br></div>I want to customer call duration for billing details.<span class=""><br><br><action application="bridge" data="sofia/gateway/outside/${<div>customer_number}"/><br><br></div></span><div>ex: i am calling xxxxxxxxxx customer number , if customer call is hungup i want to customer call duration<br></div><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 11:45 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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?<br><br></div>-MC<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Nov 14, 2014 at 3:23 AM, jobin dcruz <span dir="ltr"><<a href="mailto:jobindcruz@gmail.com" target="_blank">jobindcruz@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>I am using freeswitch bridge,every thing working with fine.</div><div><br></div><div><div><action application="set" data="call_timeout=10"/></div><div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="set" data="ringback=${us-ring}"/></div><div> <action application="bridge" data="sofia/gateway/outside/${customer_number}"/></div><div><br></div><div>My problem is</div><div><br></div><div>How to get bridge call duration with lua?</div><div>Cannot update CDR table with bridge call details.How to update it?</div><span><font color="#888888"><div><br></div>-- <br><div>Jobin D'cruz (LAMP Developer)<br>Email: <a href="mailto:jobindcruz@gmail.com" target="_blank">jobindcruz@gmail.com</a> | <a href="mailto:lampdeveloper.jobindcruz@gmail.com" target="_blank">lampdeveloper.jobindcruz@gmail.com</a><br><br><br><br>Php MySql Linux Apache Ajax FFmpeg FFmpeg-php Mplayer Zend Framework<br>Codeigniter CakePhp Wordpress Drupal Joomla Html5 Css3 jQuery YUI<br>MooTools Smarty Firefox Extension<br></div>
</font></span></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><br>-- <br><div>Jobin D'cruz (LAMP Developer)<br>Email: <a href="mailto:jobindcruz@gmail.com" target="_blank">jobindcruz@gmail.com</a> | <a href="mailto:lampdeveloper.jobindcruz@gmail.com" target="_blank">lampdeveloper.jobindcruz@gmail.com</a><br><br><br><br>Php MySql Linux Apache Ajax FFmpeg FFmpeg-php Mplayer Zend Framework<br>Codeigniter CakePhp Wordpress Drupal Joomla Html5 Css3 jQuery YUI<br>MooTools Smarty Firefox Extension<br></div>
</div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>