<div dir="ltr">Check /etc/hosts file. Sometimes the localhost entry is not present. Make sure it is there and pointing to 127.0.0.1 or use 127.0.0.1 explicitly in the config file.<br><br><div class="gmail_quote">On Thu, May 10, 2012 at 6:27 PM, Adrian Andrei <span dir="ltr"><<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok but the $_POST['cdr'] is empty. I tried diffrent methods to check<br>
this and is true.<br>
Please if you have some advice to debug I appriciate.<br>
<br>
On 5/8/12, Adrian Andrei <<a href="mailto:koralu@gmail.com">koralu@gmail.com</a>> wrote:<br>
> Hello<br>
><br>
> I tried to set up mod_xml_cdr but it doesn't work at all. I made the<br>
> following steps:<br>
><br>
> - Uncomment mod_xml_cdr in modules.conf. - Ok<br>
> - Edit conf/autoload_configs/modules.conf.xml. - OK<br>
> - Load mod_xml_cdr from CLI - NO errors<br>
> - My *xml_cdr.conf.xml* looks like:<br>
><br>
> <configuration name="xml_cdr.conf" description="XML CDR CURL logger"><br>
> <settings><br>
> <param name="url" value="<a href="http://localhost/xml-cdr/cdr.php" target="_blank">http://localhost/xml-cdr/cdr.php</a>"/><br>
> <param name="retries" value="2"/><br>
> <param name="delay" value="120"/><br>
> <param name="log-http-and-disk" value="true"/><br>
> <param name="log-dir" value="/usr/local/freeswitch/log/cdr"/><br>
> <param name="err-log-dir"<br>
> value="/usr/local/freeswitch/log/cdr/errors"/><br>
> </settings><br>
> </configuration><br>
><br>
> (The php files are from contrib/trixter/xml-cdr.)<br>
><br>
> In some posts I read that if log-dir and err-log-dir are changed from<br>
> "default" I should set also the log-http-and-disk. But it doesn't work.<br>
><br>
> Wiki said that I should check the freeswitch.xml to see if it is included<br>
> xml_cdr.conf.xml but I can't find any line with xml_cdr.conf.xml. The<br>
> version of freeswitch is FreeSWITCH Version 1.0.head (git-2c52f23<br>
> 2012-02-18 08-37-47 -0600) so I think is new enough to have this feature<br>
> available.<br>
><br>
> Could anyone help me to find out what I'm missing? Are any commands in FS<br>
> in order to run a mod_cdr_xml debug?<br>
><br>
> Ty in advance.<br>
><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>