Juha,
it is weight column, not priority column. weight
gives a probability of
the gw being chosen from among gws of the same group.
What other parameters are taken into account while defining probability?
Is that means, that to achieve 100% predictable "routing" (not to
count on probability), i need to
+------+--------+----------------------+--------+----------+
| id | prefix | from_uri | grp_id | priority |
+------+--------+----------------------+--------+----------+
| 140 | 4822 | ^from_sip$ | 1 | 1 |
| 142 | 4822 | ^from_sip$ | 2 | 2 |
| 143 | 4822 | ^from_sip$ | 3 | 3 |
| 144 | 4822 | ^from_sip$ | 4 | 4 |
| 2 | GW1 group 1 | 1 | 11.22.33.10 | NULL | 5060 |
NULL | NULL | NULL | NULL | 100 | 0 | 0 |
| 5 | GW2 group 2 | 2 | 11.22.33.11 | NULL | 5060 |
NULL | NULL | NULL | NULL | 100 | 0 | 0 |
| 6 | GW3 group 3 | 3 | 11.22.33.12 | NULL | 5060 |
NULL | NULL | NULL | NULL | 100 | 0 | 0 |
| 7 | GW4 group 4 | 4 | 11.22.33.13 | NULL | 5060 |
NULL | NULL | NULL | NULL | 100 | 0 | 0 |
Thx,
Maciej