<div dir="auto"><div>Hi Christoph, </div><div dir="auto"><br></div><div dir="auto">the dialplan module could also taken for that purpose and it loads the data on startup or command. </div><div dir="auto"><br></div><div dir="auto">So place an route to check the number is matching in dialplan, do stuff then or if not matching just return from your dialplan route and go further to the dispatcher logic. </div><div dir="auto"><br></div><div dir="auto">Cheers </div><div dir="auto">Karsten <br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Christoph Russow <<a href="mailto:russow@emtex.de">russow@emtex.de</a>> schrieb am Do., 23. Juli 2020, 15:02:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
im fairly new to Kamailio and currently setting up our new sip-server <br>
systems so, hello everyone!<br>
<br>
right now i have a Kamailio SBC which routes all calls using the <br>
dispatcher module to our internally setup application servers (freeswitch).<br>
<br>
i just got the idea that we might want specific routing based on <br>
destination phone number in addition to simple loadbalancing.<br>
<br>
can anyone point me in the right direction where i should look for <br>
something i can place before the dispatcher routing to route calls based <br>
on some entries in a database like destination number XYZ goes to server <br>
A, number ABC goes to server Z and so on.<br>
<br>
Or is there a way to select the dispatcher group id from the database <br>
based on destination number?<br>
<br>
best regards<br>
Christoph<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div>