Hello,
I am playing around with DRouting module plus my opensips 1.6.3-notls.
The wiki is quite nice written, but i have some doubts here.
My config is pretty simple.
if ($rU=~"^xxxxxxxx"){
...
...
route(1) }
if ($rU=~"^yyyyyyyy"){
...
...
route(2) }
...
route[1] {
if (!do_routing("1")) {
sl_reply_error();
exit;
};
t_on_failure("10");
if (!t_relay()) {
sl_reply_error();
};
exit;
}
route[2] {
if (!do_routing("2")) {
sl_reply_error();
exit;
};
t_on_failure("11");
if (!t_relay()) {
sl_reply_error();
};
exit;
}
and it works fine, but...
1) there is routeid column associated with dr_rules table. Frankly i
have no idea what's that and how to use it?
>From time to time I am receiving
WARNING:drouting:dr_load_routing_info: route <120> does not exist
2) prefix is very limitted, because in many cases there is a need to
use regex to simplify all routes selection. Is it possible to use it
here?
3) prefix is char(64), could I use * char there?
Thanks in advance,
Maciej.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users