[SR-Users] Kamailio 1.5 - Dispatcher priority usage

Alex Balashov abalashov at evaristesys.com
Thu Aug 26 17:13:51 CEST 2010


You can just do this yourself with script arrays and custom database 
queries.  Easily.  Why is everyone so hung up on trying to squeeze 
logic functionality from modules that isn't there?

On 08/26/2010 10:47 AM, Geoffrey Mina wrote:

> OK, so In my scenario this wouldn't achieve what I am looking for.  I
> basically want 2 servers to get all the round-robin requests unless
> they are unavailable. Then I would want the lower proiority servers
> brought into the mix.
>
> Maybe ill take a look at the source to see how tough this would be.
>
> Thanks.
>
> On 8/26/10, Geoffrey Mina<geoffreymina at gmail.com>  wrote:
>> Hello,
>> I have a question about the "priority" in the dispatcher module.  I looked
>> in the docu-wiki and there was nothing which actually described how this
>> field is used (exactly), so I can only guess or ask the list.
>>
>> Say I have 3 destinations in a set:
>>
>> set: 1
>> dest: sip:1.2.3.4:5060
>> priority: 1
>>
>> set: 1
>> dest: sip:1.2.3.5:5060
>> priority: 1
>>
>> set: 1
>> dest: sip:1.2.3.6:5060
>> priority: 0
>>
>>
>> I am using ds_select_domain("1","4") to retrieve my list of destinations.
>>
>> In this scenario, would the calls only route to 1.2.3.6 if .4 and .5 were
>> both out of service?
>>
>> Thanks.
>>
>


-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list