[SR-Users] LCR, problem with routing (prefix, from_uri, grp_id)

Juha Heinanen jh at tutpro.com
Wed Jul 7 12:15:54 CEST 2010


Maciej Bylica writes:

> > 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 |

as you see in above, there is priority column in lcr table.  use that
and arrange so that each gw group has only one gw.  then you will be
sure in which order gws are tried.

-- juha



More information about the sr-users mailing list