<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">&lt;<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>&gt;</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[&#39;cdr&#39;] 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 &lt;<a href="mailto:koralu@gmail.com">koralu@gmail.com</a>&gt; wrote:<br>
&gt; Hello<br>
&gt;<br>
&gt; I tried to set up mod_xml_cdr but it doesn&#39;t work at all. I made the<br>
&gt; following steps:<br>
&gt;<br>
&gt; - Uncomment mod_xml_cdr in modules.conf.  - Ok<br>
&gt; - Edit conf/autoload_configs/modules.conf.xml. - OK<br>
&gt; - Load mod_xml_cdr from CLI - NO errors<br>
&gt; - My *xml_cdr.conf.xml* looks like:<br>
&gt;<br>
&gt; &lt;configuration name=&quot;xml_cdr.conf&quot; description=&quot;XML CDR CURL logger&quot;&gt;<br>
&gt;   &lt;settings&gt;<br>
&gt;     &lt;param name=&quot;url&quot; value=&quot;<a href="http://localhost/xml-cdr/cdr.php" target="_blank">http://localhost/xml-cdr/cdr.php</a>&quot;/&gt;<br>
&gt;      &lt;param name=&quot;retries&quot; value=&quot;2&quot;/&gt;<br>
&gt;      &lt;param name=&quot;delay&quot; value=&quot;120&quot;/&gt;<br>
&gt;      &lt;param name=&quot;log-http-and-disk&quot; value=&quot;true&quot;/&gt;<br>
&gt;     &lt;param name=&quot;log-dir&quot; value=&quot;/usr/local/freeswitch/log/cdr&quot;/&gt;<br>
&gt;     &lt;param name=&quot;err-log-dir&quot;<br>
&gt; value=&quot;/usr/local/freeswitch/log/cdr/errors&quot;/&gt;<br>
&gt;   &lt;/settings&gt;<br>
&gt; &lt;/configuration&gt;<br>
&gt;<br>
&gt; (The php files are from contrib/trixter/xml-cdr.)<br>
&gt;<br>
&gt; In some posts I read that if log-dir and err-log-dir are changed from<br>
&gt; &quot;default&quot; I should set also the log-http-and-disk. But it doesn&#39;t work.<br>
&gt;<br>
&gt; Wiki said that I should check the freeswitch.xml to see if it is included<br>
&gt; xml_cdr.conf.xml but I can&#39;t find any line with xml_cdr.conf.xml. The<br>
&gt; version of freeswitch is FreeSWITCH Version 1.0.head (git-2c52f23<br>
&gt; 2012-02-18 08-37-47 -0600) so I think is new enough to have this feature<br>
&gt; available.<br>
&gt;<br>
&gt; Could anyone help me to find out what I&#39;m missing? Are any commands in FS<br>
&gt; in order to run a mod_cdr_xml debug?<br>
&gt;<br>
&gt; Ty in advance.<br>
&gt;<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>