[Freeswitch-users] Question with curl_xml
Pete Kay
petedao at gmail.com
Thu Apr 17 23:28:38 PDT 2008
Hi,
I place my xml response generator directory.php under
/var/www/fs/directory.php
In my xml_curl_conf.xml, I have
<binding name="directory fetcher">
<param name="gateway-url" value="http://localhost/fs/"
bindings="directory.php"/>
</binding>
2008-04-18 22:23:17 [ERR] mod_xml_curl.c:251 do_config() Binding has no url!
2008-04-18 22:23:17 [NOTICE] mod_xml_curl.c:273 do_config() Binding
[directory fetcher] XML Fetch Function [http://localhost/fs/]
[directory.php]
2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749
switch_loadable_module_load_file() Successfully Loaded [mod_xml_curl]
2008-04-18 22:23:17 [NOTICE] switch_loadable_module.c:245
switch_loadable_module_process() Adding API Function 'xml_curl'
2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749
switch_loadable_module_load_file() Successfully Loaded [mod_cdr_csv]
2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749
switch_loadable_module_load_file() Successfully Loaded [mod_event_socket]
2008-04-18 22:23:17 [NOTICE] switch_loadable_module.c:225
switch_loadable_module_process() Adding Application 'socket'
2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749
switch_loadable_module_load_file() Successfully Loaded [mod_iax]
2008-04-18 22:23:17 [NOTICE] switch_loadable_module.c:139
switch_loadable_module_process() Adding Endpoint 'iax'
2008-04-18 22:23:17 [NOTICE] sofia.c:1373 config_sofia() Adding Alias [
192.168.1.104] for profile [default]
2008-04-18 22:23:17 [NOTICE] sofia.c:1383 config_sofia() Started Profile
default [sofia_reg_default]
2008-04-18 22:23:17 [NOTICE] switch_scheduler.c:166
switch_scheduler_task_thread() Starting task thread
2008-04-18 22:23:17 [NOTICE] sofia.c:1383 config_sofia() Started Profile nat
[sofia_reg_nat]
2008-04-18 22:23:18 [ERR] mod_xml_curl.c:190 xml_url_fetch() Received HTTP
error 404 trying to fetch http://localhost/fs/
data:
[hostname=ser§ion=directory&tag_name=domain&key_name=name&key_value=192.168.1.104&domain=
192.168.1.104]
<.....>
freeswitch at ser> 2008-04-18 22:24:26 [ERR] mod_xml_curl.c:190 xml_url_fetch()
Received HTTP error 404 trying to fetch http://localhost/fs/
data:
[hostname=ser§ion=directory&tag_name=domain&key_name=name&key_value=192.168.1.104&action=sip_auth&sip_profile=default&sip_user_agent=Linksys/SPA3102-3.3.6(GW)&sip_auth_username=1006&sip_auth_realm=192.168.1.104&sip_auth_nonce=25f4793c-0d53-11dd-bc54-07f6ea524331&sip_auth_uri=sip%3A192.168.1.104&sip_auth_qop=auth&sip_auth_cnonce=36fbccf&sip_auth_nc=00000001&sip_auth_response=e55890e6e780c28aa2ac5487c3e75905&sip_auth_method=REGISTER&key=id&user=1006&domain=192.168.1.104&ip=
192.168.1.103]
2008-04-18 22:24:26 [ERR] mod_xml_curl.c:190 xml_url_fetch() Received HTTP
error 404 trying to fetch http://localhost/fs/
data:
[hostname=ser§ion=directory&tag_name=domain&key_name=name&key_value=192.168.1.104&action=sip_auth&sip_profile=default&sip_user_agent=Linksys/SPA3102-3.3.6(GW)&sip_auth_username=1007&sip_auth_realm=192.168.1.104&sip_auth_nonce=25fd93f0-0d53-11dd-bc54-07f6ea524331&sip_auth_uri=sip%3A192.168.1.104&sip_auth_qop=auth&sip_auth_cnonce=d14a908&sip_auth_nc=00000001&sip_auth_response=b1c78c65639c34ad74af62d8d5f9cd7e&sip_auth_method=REGISTER&key=id&user=1007&domain=192.168.1.104&ip=
192.168.1.103]
I think this may just be a very minor error in my setup.
Can someone please tell me what I did wrong?
Thank you very much in advance for your help.
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080418/d60435dc/attachment-0002.html
More information about the FreeSWITCH-users
mailing list