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

Christoph Russow russow at emtex.de
Fri Jul 24 09:59:34 CEST 2020


Hi,

thank you. will definitely look into it!

Best regards
christoph

Am 23.07.20 um 19:21 schrieb Alex Balashov:
> 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
>>
> 



More information about the sr-users mailing list