Hi,<br><br>I place my xml response generator directory.php under /var/www/fs/directory.php<br><br>In my xml_curl_conf.xml, I have<br><br> <binding name="directory fetcher"><br> <param name="gateway-url" value="<a href="http://localhost/fs/">http://localhost/fs/</a>" bindings="directory.php"/><br>
</binding><br><br><span style="color: rgb(255, 0, 0);">2008-04-18 22:23:17 [ERR] mod_xml_curl.c:251 do_config() Binding has no url!</span><br>2008-04-18 22:23:17 [NOTICE] mod_xml_curl.c:273 do_config() Binding [directory fetcher] XML Fetch Function [<a href="http://localhost/fs/">http://localhost/fs/</a>] [directory.php]<br>
2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749 switch_loadable_module_load_file() Successfully Loaded [mod_xml_curl]<br>2008-04-18 22:23:17 [NOTICE] switch_loadable_module.c:245 switch_loadable_module_process() Adding API Function 'xml_curl'<br>
2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749 switch_loadable_module_load_file() Successfully Loaded [mod_cdr_csv]<br>2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749 switch_loadable_module_load_file() Successfully Loaded [mod_event_socket]<br>
2008-04-18 22:23:17 [NOTICE] switch_loadable_module.c:225 switch_loadable_module_process() Adding Application 'socket'<br>2008-04-18 22:23:17 [CONSOLE] switch_loadable_module.c:749 switch_loadable_module_load_file() Successfully Loaded [mod_iax]<br>
2008-04-18 22:23:17 [NOTICE] switch_loadable_module.c:139 switch_loadable_module_process() Adding Endpoint 'iax'<br>2008-04-18 22:23:17 [NOTICE] sofia.c:1373 config_sofia() Adding Alias [<a href="http://192.168.1.104">192.168.1.104</a>] for profile [default]<br>
2008-04-18 22:23:17 [NOTICE] sofia.c:1383 config_sofia() Started Profile default [sofia_reg_default]<br>2008-04-18 22:23:17 [NOTICE] switch_scheduler.c:166 switch_scheduler_task_thread() Starting task thread<br>2008-04-18 22:23:17 [NOTICE] sofia.c:1383 config_sofia() Started Profile nat [sofia_reg_nat]<br>
<span style="color: rgb(255, 0, 0);">2008-04-18 22:23:18 [ERR] mod_xml_curl.c:190 xml_url_fetch() Received HTTP error 404 trying to fetch <a href="http://localhost/fs/">http://localhost/fs/</a></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">data: [hostname=ser&section=directory&tag_name=domain&key_name=name&key_value=192.168.1.104&domain=<a href="http://192.168.1.104">192.168.1.104</a>]</span><br style="color: rgb(255, 0, 0);">
<.....><br><br><span style="color: rgb(255, 0, 0);">freeswitch@ser> 2008-04-18 22:24:26 [ERR] mod_xml_curl.c:190 xml_url_fetch() Received HTTP error 404 trying to fetch <a href="http://localhost/fs/">http://localhost/fs/</a></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">data: [hostname=ser&section=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=<a href="http://192.168.1.103">192.168.1.103</a>]</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">2008-04-18 22:24:26 [ERR] mod_xml_curl.c:190 xml_url_fetch() Received HTTP error 404 trying to fetch <a href="http://localhost/fs/">http://localhost/fs/</a></span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">data: [hostname=ser&section=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=<a href="http://192.168.1.103">192.168.1.103</a>]</span><br style="color: rgb(255, 0, 0);">
<br><br>I think this may just be a very minor error in my setup.<br>Can someone please tell me what I did wrong?<br><br>Thank you very much in advance for your help.<br><br>Pete<br><br><br><br>