So, to send it to the second group, I'd need to actually have a matching entry pointing to it with a lower priority, correct?2009/4/27 Nick Warr <nick@mobilia.it>:When I call next_gw() will LCR use all possible gateway groups, or just the gateway(s) in the first matching group?Just the gateway(s) in the first matching group. If not, it doesn't make sense.
What's the prefix in the gateway table there for then?The second question is tangential to the first, if it does send the traffic to other gateway group after failing through the first, does it regenerate the RURI, because the local provider wants a numerical prefix on the calls I send, and the other one no (basically do I need to account for this in my config?)No, LCR will not add a prefix, you must do it.
When ou cal "load_gw(ARG)", just the gateway goups matching the *current* RURI prefix and the PV used as ARG will be selected. Later, if the first result fails, "next_gw()" will take out the second result.