Good, because we were running out of things to try! :)<br>-MC<br><br><div class="gmail_quote">On Fri, May 11, 2012 at 12:36 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">"interfering":This word points me to the right direction. I tried to call another webserver and it works. Thank you MC for the advice.<br>
<br>
<div class="gmail_quote">On Fri, May 11, 2012 at 6:28 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">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.<span><font color="#888888"><br>
<br>-MC</font></span>
<div>
<div><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 style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">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>
<div>On 5/11/12, Sergey Okhapkin <<a href="mailto:sos@sokhapkin.dyndns.org" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">msc@freeswitch.org</a>>wrote:<br>
>> >>> On Thu, May 10, 2012 at 8:45 AM, Adrian Andrei <<a href="mailto:koralu@gmail.com" target="_blank">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></div></div></blockquote></div></div></div></blockquote></div></blockquote></div><br>