[SR-Users] Workings of the kamailio dispatcher module

Alex Balashov abalashov at evaristesys.com
Wed Aug 7 12:26:50 CEST 2013


Grant,

On 08/07/2013 05:00 AM, Grant Bagdasarian wrote:

> How does the dispatcher module handle the priorities in the
> dispatcher table? For example:
>
> ID;Set;Destination;Priority
>
> 1;1;192.168.16.10;1 2;1;192.168.16.11;2
>
> Which one will be chosen first? I would assume, the higher the
> priority number, the higher the priority, right?

Actually, it is the opposite -- the lower the priority number, the 
higher the priority (1 is first, 2 is second, etc.)

Initial ordering of the gateways inside the destination set is done by 
priority.  If the priorities are the same, it is done by the order in 
which the gateways appear in the dispatcher.list or the database table.

-- Alex

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list