>Douglas Garstang writes:
>
>> Juha, not sure I understand you. It sounds like your suggesting
>> exactly the scenario I described in my post, which really seems like
>> a less than ideal what to do it. It means a lot of unecessary rows in
>> the lcr table.
>
>if you need to add those rows by hand (i.e., you don't have any
>management system) then check if carrierroute module could be a better
>match for you.
>
>-- juha


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.

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.

The LCR module actually works better. It the gatways had a priority, we'd be happy!

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.

Doug.



Looking for last minute shopping deals? Find them fast with Yahoo! Search.