<div dir="ltr">Hello List,<div><br></div><div><br clear="all"><div>i use kamailio-5.0.4 and i am now at the point that one kamailio is not enough :).<br></div><div><br></div><div>So i decide to set another kamailio internal as sip-router based on drouting.</div><div>My config is straight forward the example config with additional drouting stuff.</div><div><br></div><div>Whats the best practice to route based on $rd with kamailio?</div><div><br></div><div>I dont want to end with an bunch of if then else. Should be come from database.</div><div><br></div><div>Pseudo Code:</div><div><br></div><div>if ($rd == old.sbc.domain) {</div><div>   route[oldstuff];</div><div>}</div><div>else {</div><div>   route[newstuff];</div><div>}</div><div><br></div><div>Is there an module that i can use?</div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Kind Regards<br>*Karsten Horsmann*<br></div>
</div></div>