[Freeswitch-users] mod_xml_cdr error log is not working

Michael Jerris mike at jerris.com
Mon May 3 13:14:24 PDT 2010


would you mind making sure this gets documented on the wiki, and, if it is not in the sample configuration, send us a patch for that via http://jira.freeswitch.org ?

Mike

On May 3, 2010, at 6:43 AM, Frank Church wrote:

> I have received some help about it in http://lists.freeswitch.org/pipermail/freeswitch-users/2010-May/057453.html.
> 
> It requires an additional undocumented parameter in mod_xml_cdr.conf, though that may not have been necessary in earlier versions.
> 
> 
> On 3 May 2010 06:06, Michael Jerris <mike at jerris.com> wrote:
> the defaults in windows are all relative to the running freeswitch base dir, unless you explicitly set them.  there may be some issue with trailing vs no trailing path seperator when you configure them.
> 
> Mike
> 
> On Apr 29, 2010, at 9:56 PM, Frank Church wrote:
> 
> > I have set the err-log-dir and log-dr in xml_cdr.conf.xml but the logs
> > are not working. The system is a windows system and I wonder if the
> > defaults for windows are different.
> >
> > I have logs/xml_cdr  in addition to the  log/xml_cdr in the
> > c:\freeswitch directory but Freeswitch can't find them.
> >
> > Logs snippet
> > =========
> > 2010-04-30 02:41:02.984375 [DEBUG] switch_core_state_machine.c:314
> > (sofia/internal/1811 at 192.168.1.133) Running State Change CS_REPORTING
> > 2010-04-30 02:41:02.984375 [DEBUG] switch_core_state_machine.c:590
> > (sofia/internal/1811 at 192.168.1.133) State REPORTING
> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:359 Got error [0]
> > posting to web server [http://192.168.1.20:8132/]
> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:366 Retry will be with
> > url [http://192.168.1.20:8132/]
> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:377 Unable to post to
> > web server, writing to file
> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:399 Error![No such file
> > or directory]
> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100503/e86adc7c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list