david.villasmil.work at gmail.com
Mon Nov 17 12:09:13 CET 2008
I did it with an avp query :S
When routing is done, it seems to that routing ro the gwlist (comma
separated) is done as load balance... is this correct?
On the other hand, I tried creating two rules, one higher than the
other. The first rule went to a failing GW... failover was not being done.
I'm sure I've done something wrong. I have no failover routes as on the doc
it says it is done automatically... Is this right?
On Mon, Nov 17, 2008 at 9:49 AM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> Hi David,
> David Villasmil wrote:
>> I've been testing drouting, and as always with "new" modules, it works
>> great. I've got a question: dr_groups has a "username" and "domain" field,
>> it is my understanding that if I leave username blank and put something on
>> domain, everything directed to that domain will be routed using the group
> No, the username cannot mis - The table is to be used when you want to do a
> per user mapping of group ids.
> For you case (per domain mapping), you can do it without the table,
> directly from script:
> if ($rd=="my_domain")
> $avp(i:10) = "1"; #use group 1
> else ......
>> Now, lets say I want to route based on a source IP instead of username?
>> Say the source IP is NOT registered... what then?
> you can compute the group id based on whatever information you need, from
> the script, and than pass it directly to the DR routing function.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users