<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><binding name="directory"></div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span><param name="gateway-url" value="<a href="http://127.0.0.1/directory.php">http://127.0.0.1/directory.php</a>" bindings="directory"/></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></binding></div><div><br></div></font><div><font class="Apple-style-span" face="verdana, sans-serif"><div> <binding name="dialplan"></div>
<div><span class="Apple-tab-span" style="white-space: pre; ">                </span><param name="gateway-url" value="<a href="http://127.0.0.1/dialplan.php">http://127.0.0.1/dialplan.php</a>" bindings="dialplan"/></div>
<div><span class="Apple-tab-span" style="white-space: pre; ">        </span></binding></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"><<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>></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 <<a href="mailto:tculjaga@gmail.com">tculjaga@gmail.com</a>> wrote:<br>
> you can use mod_xml_curl with configuration binding ... also it co-exists<br>
> with static files as well ...<br>
><br>
> T.<br>
><br>
><br>
> On Mon, Nov 8, 2010 at 3:41 PM, Aloysius Lloyd <<a href="mailto:lloyd.aloysius@gmail.com">lloyd.aloysius@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hello All,<br>
>> Currently Every time when we add a new gateway we create a XML file in the<br>
>> following location /usr/local/freeswitch/con/sip_profiles/external and<br>
>> reload.<br>
>> Is there anyway to tell FreeSWITCH to look into a Database table for this<br>
>> information.<br>
>> Like user directory & dialplan lookup using mod_xml_curl.<br>
>> Thanks<br>
>> Lloyd<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>
>><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>
><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>
</div></div></blockquote></div><br></div></div>