Hi Christoph,

the dialplan module could also taken for that purpose and it loads the data
on startup or command.

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.

Cheers
Karsten

Christoph Russow <[email protected]> schrieb am Do., 23. Juli 2020, 15:02:

> Hi all,
>
> im fairly new to Kamailio and currently setting up our new sip-server
> systems so, hello everyone!
>
> right now i have a Kamailio SBC which routes all calls using the
> dispatcher module to our internally setup application servers (freeswitch).
>
> i just got the idea that we might want specific routing based on
> destination phone number in addition to simple loadbalancing.
>
> can anyone point me in the right direction where i should look for
> something i can place before the dispatcher routing to route calls based
> on some entries in a database like destination number XYZ goes to server
> A, number ABC goes to server Z and so on.
>
> Or is there a way to select the dispatcher group id from the database
> based on destination number?
>
> best regards
> Christoph
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to