Can you pastebin a dialplan snippet and samples of CDRs in success and failure scenarios?<br>-MC<br><br><div class="gmail_quote">On Sun, Sep 12, 2010 at 1:10 PM, Ross McKillop <span dir="ltr">&lt;<a href="mailto:ross@ossiantelecom.co.uk">ross@ossiantelecom.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
I&#39;m curious how others handle CDRs from FreeSWITCH.  I need them to end up in<br>
a MySQL database and the easiest way I&#39;ve found of achieving this is to use the<br>
mod_xml_cdr module to call a PHP script that inserts the row. Is there a preferred<br>
way of achieving this?<br>
<br>
Also, I only need ONE cdr entry per call, for billing purposes, so what I end up doing<br>
is having process_cdr as &quot;b_only&quot; which works great for successful calls. However,<br>
a call that is not successfully bridged results in two HTTP POST calls to my script<br>
one with is_outbound = true (as I&#39;d expect for the b leg) but also what appears to<br>
be the a leg of the CDR (despite requesting b_only)<br>
<br>
Is this the intended behaviour of &quot;b_only&quot;<br>
<br>
Regards,<br>
Ross<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>