[SR-Users] how to achive destination number based routing before falling back to dispatcher-module
Alex Balashov
abalashov at evaristesys.com
Thu Jul 23 19:21:05 CEST 2020
Yeah, I agree. Upon reflection, the dialplan module might be a more
sophisticated solution. However, it is slightly more complicated. If
brain-dead simplicity is your primary goal, alias_db is the simplest, IMHO.
On 7/23/20 1:17 PM, Karsten Horsmann wrote:
> 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 <mailto: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 <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
More information about the sr-users
mailing list