[Freeswitch-users] macros for performing repeated dialplan actions?

Rupa Schomaker rupa at rupa.com
Sat Oct 17 00:18:17 PDT 2009


On Sat, Oct 17, 2009 at 1:44 AM, Simon J Mudd <sjmudd at pobox.com> wrote:
> I've other plans like:
>
> 1. choose the cheapest gateway based on some scripts which download
> rates from the various gateways web pages and let me compare rates.
> Hard partly as the "charges pages" aren't designed to allow me to
> match a number to a charge. Shame the VoIP community can't come up
> with a common format "charge/rate file" to make this easier.

Look at mod_lcr.  The only part you have to write is the part that
loads the database from your providers.

> 2. Try one gateway and if that fails try another one. Many of the
> gateways I've been using are low cost and don't always work, so to
> avoid me having to adjust things each time this might be useful.

bridge to ${lcr_auto_route} after calling the lcr application.

> 3. Remove a lot of the "intelligence" about what to do to a backend
> script/program or whatever which decides how to route calls and tells
> FreeSWITCH what it decides. This may not scale for a large setup but
> for SOHO is never going to be an issue. It also avoids me writing so
> many xml configuration files which seems to get spread all over
> various places of the conf/ tree.

This is for incoming calls to your DIDs?  Or something else?  I'm not
sure what you mean here.

> However I've still got a lot of experimenting to do yet.
>
> Simon



-- 
-Rupa




More information about the FreeSWITCH-users mailing list