<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:10pt"><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 10pt;">&gt;Douglas 
Garstang 
writes:<br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">&gt;<br> 
&gt;&gt; 
Juha, 
not 
sure 

understand 
you. 
It 
sounds 
like 
your 
suggesting<br>&gt;&gt; 
exactly 
the 
scenario 

described 
in 
my 
post, 
which 
really 
seems 
like<br> 
&gt;&gt; 

less 
than 
ideal 
what 
to 
do 
it. 
It 
means 

lot 
of 
unecessary 
rows 
in<br> 
&gt;&gt; 
the 
lcr 
table.<br>&gt;<br>&gt;if 
you 
need 
to 
add 
those 
rows 
by 
hand 
(i.e., 
you 
don't 
have 
any<br>&gt;management 
system) 
then 
check 
if 
carrierroute 
module 
could 
be 

better<br>&gt;match 
for 
you.<br>&gt;<br>&gt;-- 
juha<br></div><br><br>
Juha, I spent some time trying to understand and get the carrierroute
functionality working today, and it looks like it doesn't solve my
problem either.<br>
<br>
It appears that the default carrier cannot be changed during a call,
which is no good. If we assumed that the domain was our carrier, then
it might be ok because we can call lc_rewrite_uri to switch domains,
but once we've selected a new carrier, the gateways are selected based
on the 'prob' column in the db. This also isn't what we need. We need
more control than that.<br>
<br>
The LCR module actually works better. It the gatways had a priority, we'd be happy!<br>
<br>
I'm surprised no one has written a better module for this. In the real
world, you have multiple POPs, your carriers also have multiple POP's,
multiple gateways. In the event you get a failure with one carrier, you
probably want to switch to the next cheapest carrier, not another
gateway within the same carrier (as it will probably just fail again).
When selecting a carrier gateway, you need to choose the best POP to
use before you select the trunk. <br>
<br>
Doug.<br>
<br>
</div></div><br>
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a></body></html>