[OpenSIPS-Users] drouting get_group_id behavior
stephane at shimaore.net
stephane at shimaore.net
Tue Feb 25 18:52:39 CET 2014
Hello,
> I have the same problem on 1.9 rel.
> | id | username | domain | groupid | description |
> | 4 | .* | 10.10.10.5 | 0 | TEST
If you don't need to match on username why not pass directly the groupid
to `do_routing` ?
do_routing("0");
If you need to dynamically map between a domain and a groupid, use e.g.
do_routing("$avp(10)");
and an AVP table which maps from domains to groupid.
S.
More information about the Users
mailing list