[Freeswitch-users] Script for resubmitting failed mod_xml_cdr CDRs

Michael Collins msc at freeswitch.org
Sat Jul 27 00:11:44 MSD 2013


Nice script - easy to understand and makes good use of existing tools.
Thanks for sharing.
-MC


On Fri, Jul 26, 2013 at 9:57 AM, Steven Ayre <steveayre at gmail.com> wrote:

> Hi everyone,
>
> 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.
>
> 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.
>
>
> https://wiki.freeswitch.org/wiki/Mod_xml_cdr#Script_.28for_cronjob_or_manual_run.29
>
> It will automatically remove the failed CDRs from the err-log-dir, but
> only if the HTTP request is successful.
>
> It requires minimum configuration, as it reads the required url &
> credentials from the existing mod_xml_cdr.conf.xml file.
>
> -Steve
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130726/e9564a6c/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list