<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
This definitely works. I've set up mod_xml_curl in a number of places,
managing anywhere from 10-10000 gateways... as long as you have the url
correct, and you spelled configuration correctly in the xml_curl.conf,
then everything should work fine.<br>
<pre class="moz-signature" cols="72">-Ray</pre>
<br>
<br>
Peter P GMX wrote:
<blockquote cite="mid:48CF7DE5.9060203@gmx.net" type="cite">
<pre wrap="">Nobody has an idea how to manage external SIP gateways and why I do not
receive sofia.conf requests?
Peter P GMX schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I am using Ruby on Rails for managing endpoints(directory) and
dialplans in Freeswitch with xml_curl.
However I am wondering whether it is possble to dynamically generate
external SIP gateways. I suspect this is done using the configuration
bindings.
When I enable this I receive the following xml_curl requests on my
Ruby server when starting up Freeswitch
{"key_name"=>"name", "action"=>"directory",
"tag_name"=>"configuration", "key_value"=>"post_load_modules.conf",
"controller"=>"xml_curls", "hostname"=>"freeswitch",
"section"=>"configuration"}
{"key_name"=>"name", "action"=>"directory",
"tag_name"=>"configuration", "key_value"=>"event_socket.conf",
"controller"=>"xml_curls", "hostname"=>"freeswitch",
"section"=>"configuration"}
{"key_name"=>"name", "action"=>"directory",
"tag_name"=>"configuration", "key_value"=>"acl.conf",
"controller"=>"xml_curls", "hostname"=>"freeswitch",
"section"=>"configuration"}
{"key_name"=>"name", "action"=>"directory",
"tag_name"=>"configuration", "key_value"=>"post_load_switch.conf",
"controller"=>"xml_curls", "hostname"=>"freeswitch",
"section"=>"configuration"}
{"key_name"=>"name", "action"=>"directory",
"tag_name"=>"configuration", "key_value"=>"switch.conf",
"controller"=>"xml_curls", "hostname"=>"freeswitch",
"section"=>"configuration"}
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">I would exspect having a "key_value"=>"sofia.conf", but it's not there
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">Also during the runtime of FS can I see no more configuration requests.
On the mod_curl page in FS there is a very rough example, but I do net
get a real clue how to.
In log/freeswitch.xml.fsxml I see that usually gateways are defined
under the configuration_name="sofia.conf"
But as you can see in the requests above there is no sofia.conf
requested (according to the wiki there could be
iax.conf|event_socket.conf|sofia.conf|...).
Anybody has idea what I am doing wrongly and how to proceed? Just to
mention: Directory and dialplans are working with xml_curl and I do
receive already at least the above requests.
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body>
</html>