[Freeswitch-users] mod_xml_cdr is not logging

Adrian Andrei koralu at gmail.com
Tue May 8 22:48:04 MSD 2012


I tried to set up mod_xml_cdr but it doesn't work at all. I made the
following steps:

- Uncomment mod_xml_cdr in modules.conf.  - Ok
- Edit conf/autoload_configs/modules.conf.xml. - OK
- Load mod_xml_cdr from CLI - NO errors
- My *xml_cdr.conf.xml* looks like:

<configuration name="xml_cdr.conf" description="XML CDR CURL logger">
    <param name="url" value="http://localhost/xml-cdr/cdr.php"/>
     <param name="retries" value="2"/>
     <param name="delay" value="120"/>
     <param name="log-http-and-disk" value="true"/>
    <param name="log-dir" value="/usr/local/freeswitch/log/cdr"/>
    <param name="err-log-dir" value="/usr/local/freeswitch/log/cdr/errors"/>

(The php files are from contrib/trixter/xml-cdr.)

In some posts I read that if log-dir and err-log-dir are changed from
"default" I should set also the log-http-and-disk. But it doesn't work.

Wiki said that I should check the freeswitch.xml to see if it is included
xml_cdr.conf.xml but I can't find any line with xml_cdr.conf.xml. The
version of freeswitch is FreeSWITCH Version 1.0.head (git-2c52f23
2012-02-18 08-37-47 -0600) so I think is new enough to have this feature

Could anyone help me to find out what I'm missing? Are any commands in FS
in order to run a mod_cdr_xml debug?

Ty in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120508/6dfccbeb/attachment.html 

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