<div dir="ltr">If you look at the way the static config works, it&#39;s the same way.<br><br>The gateways either are in the &lt;profile&gt; in the &lt;gateways&gt; section which are only considered once at startup of that profile.<br>
or they are inside &lt;users&gt; which are inside &lt;domain&gt; from the user directory if the the sofia profile is configured to parse a paticular domain.<br><br>if you issue the command &quot;sofia profile default rescan&quot; from the cli, xml-rpc, event_socket you will then see the request for more gateways.<br>
<br><br><br><div class="gmail_quote">On Tue, Sep 16, 2008 at 4:35 AM, Peter P GMX <span dir="ltr">&lt;<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nobody has an idea how to manage external SIP gateways and why I do not<br>
receive sofia.conf &nbsp;requests?<br>
<br>
Peter P GMX schrieb:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I am using Ruby on Rails for managing endpoints(directory) and<br>
&gt; dialplans in Freeswitch with xml_curl.<br>
&gt;<br>
&gt; However I am wondering whether it is possble to dynamically generate<br>
&gt; external SIP gateways. I suspect this is done using the configuration<br>
&gt; bindings.<br>
&gt; When I enable this I receive the following xml_curl requests on my<br>
&gt; Ruby server when starting up Freeswitch<br>
&gt;<br>
&gt; {&quot;key_name&quot;=&gt;&quot;name&quot;, &quot;action&quot;=&gt;&quot;directory&quot;,<br>
&gt; &quot;tag_name&quot;=&gt;&quot;configuration&quot;, &quot;key_value&quot;=&gt;&quot;post_load_modules.conf&quot;,<br>
&gt; &quot;controller&quot;=&gt;&quot;xml_curls&quot;, &quot;hostname&quot;=&gt;&quot;freeswitch&quot;,<br>
&gt; &quot;section&quot;=&gt;&quot;configuration&quot;}<br>
&gt; {&quot;key_name&quot;=&gt;&quot;name&quot;, &quot;action&quot;=&gt;&quot;directory&quot;,<br>
&gt; &quot;tag_name&quot;=&gt;&quot;configuration&quot;, &quot;key_value&quot;=&gt;&quot;event_socket.conf&quot;,<br>
&gt; &quot;controller&quot;=&gt;&quot;xml_curls&quot;, &quot;hostname&quot;=&gt;&quot;freeswitch&quot;,<br>
&gt; &quot;section&quot;=&gt;&quot;configuration&quot;}<br>
&gt; {&quot;key_name&quot;=&gt;&quot;name&quot;, &quot;action&quot;=&gt;&quot;directory&quot;,<br>
&gt; &quot;tag_name&quot;=&gt;&quot;configuration&quot;, &quot;key_value&quot;=&gt;&quot;acl.conf&quot;,<br>
&gt; &quot;controller&quot;=&gt;&quot;xml_curls&quot;, &quot;hostname&quot;=&gt;&quot;freeswitch&quot;,<br>
&gt; &quot;section&quot;=&gt;&quot;configuration&quot;}<br>
&gt; {&quot;key_name&quot;=&gt;&quot;name&quot;, &quot;action&quot;=&gt;&quot;directory&quot;,<br>
&gt; &quot;tag_name&quot;=&gt;&quot;configuration&quot;, &quot;key_value&quot;=&gt;&quot;post_load_switch.conf&quot;,<br>
&gt; &quot;controller&quot;=&gt;&quot;xml_curls&quot;, &quot;hostname&quot;=&gt;&quot;freeswitch&quot;,<br>
&gt; &quot;section&quot;=&gt;&quot;configuration&quot;}<br>
&gt; {&quot;key_name&quot;=&gt;&quot;name&quot;, &quot;action&quot;=&gt;&quot;directory&quot;,<br>
&gt; &quot;tag_name&quot;=&gt;&quot;configuration&quot;, &quot;key_value&quot;=&gt;&quot;switch.conf&quot;,<br>
&gt; &quot;controller&quot;=&gt;&quot;xml_curls&quot;, &quot;hostname&quot;=&gt;&quot;freeswitch&quot;,<br>
&gt; &quot;section&quot;=&gt;&quot;configuration&quot;}<br>
<br>
&gt; I would exspect having a &quot;key_value&quot;=&gt;&quot;sofia.conf&quot;, but it&#39;s not there<br>
<br>
&gt; Also during the runtime of FS can I see no more configuration requests.<br>
&gt;<br>
&gt; On the mod_curl page in FS there is a very rough example, but I do net<br>
&gt; get a real clue how to.<br>
&gt; In log/freeswitch.xml.fsxml I see that usually gateways are defined<br>
&gt; under the configuration_name=&quot;sofia.conf&quot;<br>
&gt; But as you can see in the requests above there is no sofia.conf<br>
&gt; requested (according to the wiki there could be<br>
&gt; iax.conf|event_socket.conf|sofia.conf|...).<br>
&gt;<br>
&gt; Anybody has idea what I am doing wrongly and how to proceed? Just to<br>
&gt; mention: Directory and dialplans are working with xml_curl and I do<br>
&gt; receive already at least the above requests.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>