[Freeswitch-users] Gateway Dynamic Lookup

Aloysius Lloyd lloyd.aloysius at gmail.com
Mon Nov 8 08:43:50 PST 2010


I think DB trigger is the neat way to reload the configuration and real
time.

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.

<binding name="directory">
 <param name="gateway-url" value="http://127.0.0.1/directory.php"
bindings="directory"/>
 </binding>

       <binding name="dialplan">
 <param name="gateway-url" value="http://127.0.0.1/dialplan.php"
bindings="dialplan"/>
 </binding>

What is the syntax for the gateways binding

Thanks
Lloyd


On Mon, Nov 8, 2010 at 11:20 AM, Steven Ayre <steveayre at gmail.com> wrote:

> However, this configuration is only loaded when sofia is first loaded,
> or reloads its configuration.
>
> It does make it easier (skips the step of updating the XML file), but
> you still need to reload the config. That can be done automatically
> via ESL from a program on your server... perhaps executed by cron or a
> DB trigger.
>
> -Steve
>
>
> On 8 November 2010 15:25, Tihomir Culjaga <tculjaga at gmail.com> wrote:
> > you can use mod_xml_curl with configuration binding ... also it co-exists
> > with static files as well ...
> >
> > T.
> >
> >
> > On Mon, Nov 8, 2010 at 3:41 PM, Aloysius Lloyd <lloyd.aloysius at gmail.com
> >
> > wrote:
> >>
> >> Hello All,
> >> Currently Every time when we add a new gateway we create a XML file in
> the
> >> following location /usr/local/freeswitch/con/sip_profiles/external and
> >> reload.
> >> Is there anyway to tell FreeSWITCH to look into a Database table for
> this
> >> information.
> >> Like user directory & dialplan lookup using mod_xml_curl.
> >> Thanks
> >> Lloyd
> >> _______________________________________________
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> >
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101108/ad42a6c4/attachment.html 


More information about the FreeSWITCH-users mailing list