[Freeswitch-users] mod_xml_cdr is not logging

Adrian Andrei koralu at gmail.com
Thu May 10 19:27:55 MSD 2012


Ok but the $_POST['cdr'] is empty. I tried diffrent methods to check
this and is true.
Please if you have some advice to debug I appriciate.

On 5/8/12, Adrian Andrei <koralu at gmail.com> wrote:
> Hello
>
> 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">
>   <settings>
>     <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"/>
>   </settings>
> </configuration>
>
> (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
> available.
>
> 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.
>



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