Hi everyone,<div><br></div><div>For anyone using mod_xml_cdr to submit CDRs to a web server, you&#39;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">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 &amp; credentials from the existing mod_xml_cdr.conf.xml file.</div>

<div><br></div><div>-Steve</div>