At this point I would run a packet sniffer on port 80 on your FS machine and confirm whether or not it's even attempting to contact your web server. Also, check to make sure you don't have IP tables or some other external process/device interfering with your FS trying to contact the web server. Last resort is to get a different box, re-install FS and try posting to a web server running on the same box.<br>
<br>-MC<br><br><div class="gmail_quote">On Fri, May 11, 2012 at 4:34 AM, 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">
I made a test that calls cdr.php and the $_POST['cdr'] is bigger(5Mb)<br>
than the cdr generated localy by FS and it works. I don't think is a<br>
problem of webserver.<br>
<br>
Ty<br>
<div class="HOEnZb"><div class="h5">On 5/11/12, Sergey Okhapkin <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>> wrote:<br>
> How do you run php on web server? I got a problem recently with fresh<br>
> mod_fcgid, in default configuration POST request size is limited to 128M<br>
> now.<br>
><br>
> On Friday 11 May 2012 11:41:23 Adrian Andrei wrote:<br>
>> When mod_xml_cdr is reloaded nothing apear in<br>
>> /usr/local/freeswitch/log/cdr/errors.<br>
>><br>
>> When uncomment <param name="log-http-and-disk" value="true"/> the cdr<br>
>> apears in /usr/local/freeswitch/log/cdr an I think that the process of<br>
>> logging cdr it works.<br>
>><br>
>> But the problem is that the $_POST['cdr'] contain nothing.<br>
>><br>
>> My php is as simple as possible:<br>
>> <?php<br>
>> $raw_cdr = $_POST['cdr'];<br>
>> $writefile = fopen('/var/www/xml-cdr/dump.txt',"a+");<br>
>> fwrite($writefile, $raw_cdr);<br>
>> fclose($writefile);<br>
>> ?><br>
>><br>
>> When FS calls cdr.php it creats dump.txt but is empty.<br>
>><br>
>> Ty<br>
>><br>
>> On 5/10/12, Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>
>> > Anything in /usr/local/freeswitch/log/cdr/errors ?<br>
>> ><br>
>> > -MC<br>
>> ><br>
>> > On Thu, May 10, 2012 at 11:39 AM, Adrian Andrei <<a href="mailto:koralu@gmail.com">koralu@gmail.com</a>><br>
>> > wrote:<br>
>> >> The logs are:<br>
>> >><br>
>> >> 2012-05-10 21:37:03.399431 [CONSOLE] switch_loadable_module.c:1765<br>
>> >> Stopping: mod_xml_cdr<br>
>> >> 2012-05-10 21:37:03.399431 [NOTICE] switch_event.c:1935 Event Binding<br>
>> >> deleted for mod_xml_cdr:TRAP<br>
>> >> 2012-05-10 21:37:03.399431 [CONSOLE] switch_loadable_module.c:1785<br>
>> >> mod_xml_cdr unloaded.<br>
>> >> 2012-05-10 21:37:05.459437 [NOTICE] mod_xml_cdr.c:99 Rotating log file<br>
>> >> paths<br>
>> >><br>
>> >> +OK module unloaded<br>
>> >> +OK Reloading XML<br>
>> >> +OK module loaded<br>
>> >><br>
>> >> 2012-05-10 21:37:05.459437 [NOTICE] mod_xml_cdr.c:126 Setting log file<br>
>> >> path to /usr/local/freeswitch/log/cdr<br>
>> >> 2012-05-10 21:37:05.459437 [NOTICE] mod_xml_cdr.c:164 Setting err log<br>
>> >> file<br>
>> >> path to /usr/local/freeswitch/log/cdr/errors<br>
>> >> 2012-05-10 21:37:05.459437 [CONSOLE] switch_loadable_module.c:1299<br>
>> >> Successfully Loaded [mod_xml_cdr]<br>
>> >> freeswitch@peer1> 2012-05-10 21:37:05.459437 [INFO] mod_enum.c:812<br>
>> >> ENUM<br>
>> >> Reloaded<br>
>> >> 2012-05-10 21:37:05.479431 [INFO] switch_time.c:1035 Timezone reloaded<br>
>> >> 530<br>
>> >> definitions<br>
>> >><br>
>> >><br>
>> >> On Thu, May 10, 2012 at 9:17 PM, Michael Collins<br>
>> >><br>
>> >> <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>>wrote:<br>
>> >>> On Thu, May 10, 2012 at 8:45 AM, Adrian Andrei <<a href="mailto:koralu@gmail.com">koralu@gmail.com</a>><br>
>> >>> wrote:<br>
>> >>>> Same result. I tried both 127.0.0.1 and localhost. etc/hosts is<br>
>> >>>> valid.<br>
>> >>><br>
>> >>> what happens when you go to fs_cli and type:<br>
>> >>> reload mod_xml_cdr<br>
>> >>><br>
>> >>> I'm curious.<br>
>> >>> -MC<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>
><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>
><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>
</div></div></blockquote></div><br>