<font class="Apple-style-span" face="verdana, sans-serif">I think DB trigger is the neat way to reload the configuration and real time. </font><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div>

<div><font class="Apple-style-span" face="verdana, sans-serif">But what is the syntax for binding gateways. I could not find anything on the wiki. Any help is appreciated.Right now I am using the following for directory and dial plan.</font></div>

<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;binding name=&quot;directory&quot;&gt;</div>

<div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;param name=&quot;gateway-url&quot; value=&quot;<a href="http://127.0.0.1/directory.php">http://127.0.0.1/directory.php</a>&quot; bindings=&quot;directory&quot;/&gt;</div>

<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/binding&gt;</div><div><br></div></font><div><font class="Apple-style-span" face="verdana, sans-serif"><div>       &lt;binding name=&quot;dialplan&quot;&gt;</div>

<div><span class="Apple-tab-span" style="white-space: pre; ">                </span>&lt;param name=&quot;gateway-url&quot; value=&quot;<a href="http://127.0.0.1/dialplan.php">http://127.0.0.1/dialplan.php</a>&quot; bindings=&quot;dialplan&quot;/&gt;</div>

<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>&lt;/binding&gt;</div></font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font>What is the syntax for the gateways binding</div>

<div><br></div><div>Thanks</div><div>Lloyd</div><div><br><br><div class="gmail_quote">On Mon, Nov 8, 2010 at 11:20 AM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">However, this configuration is only loaded when sofia is first loaded,<br>
or reloads its configuration.<br>
<br>
It does make it easier (skips the step of updating the XML file), but<br>
you still need to reload the config. That can be done automatically<br>
via ESL from a program on your server... perhaps executed by cron or a<br>
DB trigger.<br>
<br>
-Steve<br>
<div><div></div><div class="h5"><br>
<br>
On 8 November 2010 15:25, Tihomir Culjaga &lt;<a href="mailto:tculjaga@gmail.com">tculjaga@gmail.com</a>&gt; wrote:<br>
&gt; you can use mod_xml_curl with configuration binding ... also it co-exists<br>
&gt; with static files as well ...<br>
&gt;<br>
&gt; T.<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Nov 8, 2010 at 3:41 PM, Aloysius Lloyd &lt;<a href="mailto:lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello All,<br>
&gt;&gt; Currently Every time when we add a new gateway we create a XML file in the<br>
&gt;&gt; following location /usr/local/freeswitch/con/sip_profiles/external and<br>
&gt;&gt; reload.<br>
&gt;&gt; Is there anyway to tell FreeSWITCH to look into a Database table for this<br>
&gt;&gt; information.<br>
&gt;&gt; Like user directory &amp; dialplan lookup using mod_xml_curl.<br>
&gt;&gt; Thanks<br>
&gt;&gt; Lloyd<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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>
</div></div></blockquote></div><br></div></div>