[asterisk-users] LCR in Asterisk

Douglas Garstang dougmig33 at yahoo.com
Wed Feb 13 12:17:30 CST 2008


----- Original Message ----
From: Jay R. Ashworth <jra at baylink.com>
To: asterisk-users at lists.digium.com
Sent: Wednesday, February 13, 2008 9:45:34 AM
Subject: Re: [asterisk-users] LCR in Asterisk

On 
Wed, 
Feb 
13, 
2008 
at 
11:33:19AM 
-0600, 
Tilghman 
Lesher 
wrote:
> 
On 
Wednesday 
13 
February 
2008 
09:57:59 
Alex 
Balashov 
wrote:
> 
> 
Tilghman 
Lesher 
wrote:
> 
> 
> 
Uh, 
why 
not?  
You 
can 
do 
LCR 
quite 
easily 
in 
the 
dialplan, 
by 
using
> 
> 
> 
func_odbc 
for 
each 
of 
the 
provider 
lookups, 
then 
use 
SORT() 
to 
get 
the
> 
> 
> 
lowest 
cost. 
It's 
quite 
easy, 
and 
you 
do 
not 
need 
to 
resort 
to 
AGI.
> 
>
> 
> 
You 
can 
do 
almost 
anything 
in 
the 
dial 
plan 
with 
enough 
spiritual
> 
> 
commitment 
in 
about 
the 
same 
way 
that 
you 
can 
do 
just 
about 
anything 
you
> 
> 
need 
to 
do 
with 
a 
bash 
script, 
as 
opposed 
to 
Perl, 
Python, 
or 
any
> 
> 
toolkits 
or 
frameworks.

Is that nasty little problem of no local variables in macros fixed yet? That's a pretty big pain in the ass. You have to prefix your variables with the name of the macro it's in to avoid stepping all over yourself.

Doug.






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080213/b7e035d0/attachment.htm 


More information about the asterisk-users mailing list