Thanks for sharing!<div><br></div><div>Cal<br><br><div class="gmail_quote">On Fri, Jul 26, 2013 at 5:57 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<div><br></div><div>For anyone using mod_xml_cdr to submit CDRs to a web server, you'll be familiar with the issue that if there is a web server error the CDRs will not be loaded into the database. They need to be manually resubmitted when the error is corrected to appear in the DB.</div>
<div><br></div><div>I have added a script to the Wiki that can automatically find and resubmit these CDRs. You could either use this from the command-line or schedule it in a cronjob.</div><div><br></div><div><a href="https://wiki.freeswitch.org/wiki/Mod_xml_cdr#Script_.28for_cronjob_or_manual_run.29" target="_blank">https://wiki.freeswitch.org/wiki/Mod_xml_cdr#Script_.28for_cronjob_or_manual_run.29</a></div>
<div><br></div><div>It will automatically remove the failed CDRs from the err-log-dir, but only if the HTTP request is successful.</div><div><br></div><div>It requires minimum configuration, as it reads the required url & credentials from the existing mod_xml_cdr.conf.xml file.</div>
<div><br></div><div>-Steve</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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br></div>