> 2-- when dialing into conference, getting following from fs_cli
> [ERR] mod_xml_cdr.c:365 Got error [502] posting to web server
> [http://www.xxx.com/PERL/cdr.pl]

There isn't a lot of info to work on here, but I'd look at your web
setup and not FS for the mix-up (particularly true as "HTTP Error 502"
means you have a bad gateway).

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
won't be submitting a CDR but you can at least check the script runs without an (unexpected) error.




On 23 May 2011 07:38, Gabriel Gunderson <gabe@gundy.org> wrote:
On Sun, May 22, 2011 at 6:27 PM, deniro <ayhkor@gmail.com> wrote:
> several questions;
> 1-- do I really need to  load mod_xml_curl for mod_xml_cdr?
> trying to figure out if my problem is with cdr or with curl

No, they are not functionally related... easy to get mixed up because
they both use HTTP and XML. One does not depend on the other. However,
you *can* configure mod_xml_cdr (or any other module) with
mod_xml_curl.



> 2-- when dialing into conference, getting following from fs_cli
> [ERR] mod_xml_cdr.c:365 Got error [502] posting to web server
> [http://www.xxx.com/PERL/cdr.pl]

There isn't a lot of info to work on here, but I'd look at your web
setup and not FS for the mix-up (particularly true as "HTTP Error 502"
means you have a bad gateway).



> 3-- I am not quiete sure if this line is correct in xml_cdr.conf.xml
>  <param name="url" value="http://www.xxx.com/PERL/cdr.pl"/>

Looks good to me, but check it with the wiki:
http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Sample_Configuration



> 4-- if I need mod_xml_curl (question 1)
> what should this line be like in xml_curl.conf.xml?
> <param name="gateway-url" value="http://www.xxx.com:80"
> bindings="dialplan"/>

This one is a little tricker to get right.  Again, the wiki is might
be the best place to reference:
http://wiki.freeswitch.org/wiki/Mod_xml_curl#Configuring



Good luck,
Gabe

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org