<div dir="ltr">If you look at the way the static config works, it's the same way.<br><br>The gateways either are in the <profile> in the <gateways> section which are only considered once at startup of that profile.<br>
or they are inside <users> which are inside <domain> from the user directory if the the sofia profile is configured to parse a paticular domain.<br><br>if you issue the command "sofia profile default rescan" 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"><<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>></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 requests?<br>
<br>
Peter P GMX schrieb:<br>
> Hello,<br>
><br>
> I am using Ruby on Rails for managing endpoints(directory) and<br>
> dialplans in Freeswitch with xml_curl.<br>
><br>
> However I am wondering whether it is possble to dynamically generate<br>
> external SIP gateways. I suspect this is done using the configuration<br>
> bindings.<br>
> When I enable this I receive the following xml_curl requests on my<br>
> Ruby server when starting up Freeswitch<br>
><br>
> {"key_name"=>"name", "action"=>"directory",<br>
> "tag_name"=>"configuration", "key_value"=>"post_load_modules.conf",<br>
> "controller"=>"xml_curls", "hostname"=>"freeswitch",<br>
> "section"=>"configuration"}<br>
> {"key_name"=>"name", "action"=>"directory",<br>
> "tag_name"=>"configuration", "key_value"=>"event_socket.conf",<br>
> "controller"=>"xml_curls", "hostname"=>"freeswitch",<br>
> "section"=>"configuration"}<br>
> {"key_name"=>"name", "action"=>"directory",<br>
> "tag_name"=>"configuration", "key_value"=>"acl.conf",<br>
> "controller"=>"xml_curls", "hostname"=>"freeswitch",<br>
> "section"=>"configuration"}<br>
> {"key_name"=>"name", "action"=>"directory",<br>
> "tag_name"=>"configuration", "key_value"=>"post_load_switch.conf",<br>
> "controller"=>"xml_curls", "hostname"=>"freeswitch",<br>
> "section"=>"configuration"}<br>
> {"key_name"=>"name", "action"=>"directory",<br>
> "tag_name"=>"configuration", "key_value"=>"switch.conf",<br>
> "controller"=>"xml_curls", "hostname"=>"freeswitch",<br>
> "section"=>"configuration"}<br>
<br>
> I would exspect having a "key_value"=>"sofia.conf", but it's not there<br>
<br>
> Also during the runtime of FS can I see no more configuration requests.<br>
><br>
> On the mod_curl page in FS there is a very rough example, but I do net<br>
> get a real clue how to.<br>
> In log/freeswitch.xml.fsxml I see that usually gateways are defined<br>
> under the configuration_name="sofia.conf"<br>
> But as you can see in the requests above there is no sofia.conf<br>
> requested (according to the wiki there could be<br>
> iax.conf|event_socket.conf|sofia.conf|...).<br>
><br>
> Anybody has idea what I am doing wrongly and how to proceed? Just to<br>
> mention: Directory and dialplans are working with xml_curl and I do<br>
> receive already at least the above requests.<br>
><br>
><br>
><br>
><br>
><br>
><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>