Parse the xml cdr it will give you more than you want probably.<br><br>On Friday, February 12, 2016, Alexandru Covalschi &lt;<a href="mailto:568691@gmail.com">568691@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hello folks!<br><br></div>I have a problem - I need to get actual duration of the call - I mean from ANSWER to HANGUP, without the time user waited being parked on the bridge. The thing is I need to write that info into a custom table which belongs to a custom database where I have leg_a uuid. <br></div>How can I achieve that in case of:<br></div>1. Outoing origination via bridge()<br></div>2. Connecting two customers which are already inside a freeswitch via bridge()<br></div>I&#39;ve read about mod_cdr_csv but it afaik doesn&#39;t allow to connect to a custom db.<br></div>Would mod_odbc_cdr allow me to do that? And if yes - can you tell me &quot;chan-var-name&quot;?<br><br></div>And don&#39;t be afraid - such slow method is not for billing :) Just to provide customer more detailed calls history.<br clear="all"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><br></div><div>Thanks!<br></div><div>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><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 size="2" face="monospace, 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="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, 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></div></div></div></div></div></div><br>