[SR-Users] how to achive destination number based routing before falling back to dispatcher-module

Karsten Horsmann khorsmann at gmail.com
Thu Jul 23 19:17:54 CEST 2020


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 <russow at emtex.de> 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
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200723/8bd8badc/attachment.htm>


More information about the sr-users mailing list