Hello List,


i use kamailio-5.0.4 and i am now at the point that one kamailio is not enough :).

So i decide to set another kamailio internal as sip-router based on drouting.
My config is straight forward the example config with additional drouting stuff.

Whats the best practice to route based on $rd with kamailio?

I dont want to end with an bunch of if then else. Should be come from database.

Pseudo Code:

if ($rd == old.sbc.domain) {
   route[oldstuff];
}
else {
   route[newstuff];
}

Is there an module that i can use?


--
Kind Regards
*Karsten Horsmann*