[Freeswitch-users] xml_curl - Binding has no url
Peder
peder at networkoblivion.com
Mon May 24 07:46:26 PDT 2010
I figured it out. I was changing "gateway-url" to the actual url name. It
is actually a keyword. I knew it was something dumb.. Here is the correct
syntax for what I had:
<param name="gateway-url" value="http://localhost/directory.php"
bindings="directory"/>
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Peder
Sent: Monday, May 24, 2010 9:06 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] xml_curl - Binding has no url
The web server is running and the files are setup to return the correct
values, but I am not seeing any access to the webserver from FS. If I bring
it up in my web browser, I see access_log entries, but nothing when FS
starts up.
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Erwin
Davis
Sent: Monday, May 24, 2010 8:55 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] xml_curl - Binding has no url
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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100524/31ba924f/attachment.html
More information about the FreeSWITCH-users
mailing list