<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
> 2-- when dialing into conference, getting following from fs_cli<br>
> [ERR] mod_xml_cdr.c:365 Got error [502] posting to web server<br>
> [<a href="http://www.xxx.com/PERL/cdr.pl" target="_blank">http://www.xxx.com/PERL/cdr.pl</a>]<br>
<br>
There isn't a lot of info to work on here, but I'd look at your web<br>
setup and not FS for the mix-up (particularly true as "HTTP Error 502"<br>
means you have a bad gateway).<br></blockquote><br>Check your web server logs - there may be some useful message. It sounds like the cgi-bin/perl handler hasn't been configured correctly, the script isn't executable, or it's not returning some headers. Try visiting the URL in your webbrowser (you <br>
won't be submitting a CDR but you can at least check the script runs without an (unexpected) error.<br><br><br><br><br><div class="gmail_quote">On 23 May 2011 07:38, Gabriel Gunderson <span dir="ltr"><<a href="mailto:gabe@gundy.org">gabe@gundy.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sun, May 22, 2011 at 6:27 PM, deniro <<a href="mailto:ayhkor@gmail.com">ayhkor@gmail.com</a>> wrote:<br>
> several questions;<br>
> 1-- do I really need to load mod_xml_curl for mod_xml_cdr?<br>
> trying to figure out if my problem is with cdr or with curl<br>
<br>
</div>No, they are not functionally related... easy to get mixed up because<br>
they both use HTTP and XML. One does not depend on the other. However,<br>
you *can* configure mod_xml_cdr (or any other module) with<br>
mod_xml_curl.<br>
<div class="im"><br>
<br>
<br>
> 2-- when dialing into conference, getting following from fs_cli<br>
> [ERR] mod_xml_cdr.c:365 Got error [502] posting to web server<br>
> [<a href="http://www.xxx.com/PERL/cdr.pl" target="_blank">http://www.xxx.com/PERL/cdr.pl</a>]<br>
<br>
</div>There isn't a lot of info to work on here, but I'd look at your web<br>
setup and not FS for the mix-up (particularly true as "HTTP Error 502"<br>
means you have a bad gateway).<br>
<div class="im"><br>
<br>
<br>
> 3-- I am not quiete sure if this line is correct in xml_cdr.conf.xml<br>
> <param name="url" value="<a href="http://www.xxx.com/PERL/cdr.pl" target="_blank">http://www.xxx.com/PERL/cdr.pl</a>"/><br>
<br>
</div>Looks good to me, but check it with the wiki:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Sample_Configuration" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Sample_Configuration</a><br>
<div class="im"><br>
<br>
<br>
> 4-- if I need mod_xml_curl (question 1)<br>
> what should this line be like in xml_curl.conf.xml?<br>
> <param name="gateway-url" value="<a href="http://www.xxx.com:80" target="_blank">http://www.xxx.com:80</a>"<br>
> bindings="dialplan"/><br>
<br>
</div>This one is a little tricker to get right. Again, the wiki is might<br>
be the best place to reference:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#Configuring" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_curl#Configuring</a><br>
<br>
<br>
<br>
Good luck,<br>
Gabe<br>
<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 style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>