I got the same error before. But once I ran the server on the configured port and send back some NO result responses to the initial request from FS. The error was gone.

On Mon, May 24, 2010 at 9:45 AM, Peder <peder@networkoblivion.com> wrote:
I am trying to use xml_curl with directory and it is failing with this
message:

2010-05-24 08:38:46.333352 [ERR] mod_xml_curl.c:444 Binding has no url!
2010-05-24 08:38:46.333352 [CRIT] switch_loadable_module.c:882 Error Loading
module /usr/local/freeswitch/mod/mod_xml_curl.so
**Module load routine returned an error**


I am sure I am missing something, but I can't figure out what it is.  The
module is built:

ls -al /usr/local/freeswitch/mod/mod_xml_curl.so

-rwxr-xr-x 1 root root 1498152 2010-05-24 08:23
/usr/local/freeswitch/mod/mod_xml_curl.so


The config file looks ok from what I can tell:

cat /usr/local/freeswitch/conf/autoload_configs/xml_curl.conf.xml

<configuration name="xml_curl.conf" description="cURL XML Gateway">
 <bindings>
   <binding name="directory_lookup">
   <param name="directory.php" value="http://localhost:80"
bindings="directory"/>
   </binding>
 </bindings>
</configuration>


I've stopped and started FS multiple times and still the same error on
startup and if I try and manually load the module with "load
mod_xml_curl.so".  Any ideas?  I am sure it is something dumb, but I just
can't see it.



_______________________________________________
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