<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">From: Jay R. Ashworth <jra@baylink.com><br>To: asterisk-users@lists.digium.com<br>Sent: Wednesday, February 13, 2008 9:45:34 AM<br>Subject: Re: [asterisk-users] LCR in Asterisk<br><br>On
Wed,
Feb
13,
2008
at
11:33:19AM
-0600,
Tilghman
Lesher
wrote:<br>>
On
Wednesday
13
February
2008
09:57:59
Alex
Balashov
wrote:<br>>
>
Tilghman
Lesher
wrote:<br>>
>
>
Uh,
why
not?
You
can
do
LCR
quite
easily
in
the
dialplan,
by
using<br>>
>
>
func_odbc
for
each
of
the
provider
lookups,
then
use
SORT()
to
get
the<br>>
>
>
lowest
cost.
It's
quite
easy,
and
you
do
not
need
to
resort
to
AGI.<br>>
><br>>
>
You
can
do
almost
anything
in
the
dial
plan
with
enough
spiritual<br>>
>
commitment
in
about
the
same
way
that
you
can
do
just
about
anything
you<br>>
>
need
to
do
with
a
bash
script,
as
opposed
to
Perl,
Python,
or
any<br>>
>
toolkits
or
frameworks.<br><br>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.<br><br>Doug.<br><br></div></div></div><br>
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>