Other thing: the 1.2.0 is using the priority in contrary?
prefix----------from_uri-------grp_id--------priority
0123456------------------------------ 1 ---------------1
0123456----------------------------- 2 ---------------0
When I called to 01234560000, GW 1 was selected. In version 1.1.0, the GW 2 will be selected because it has the minor number.
Bruno
----- Mensagem original ----
De: Juha Heinanen <jh@tutpro.com>
Para: Bruno Machado <bsmufu@yahoo.com.br>
Cc: users@openser.org
Enviadas: Quinta-feira, 3 de Maio de 2007 12:36:33
Assunto: [Users] LCR module
(1.2.0)
Bruno Machado writes:
> prefix----------from_uri-------grp_id--------priority
> 0123456------------------------------ 1 ---------------1
> 0________------^sip:123.*--------- 2 ---------------0
>
> Ok. The LCR documentation tells that the column 'from_uri' must be a
> regular expression in this version. The route selected is the first
> line. I'd like to route the voip number 123 through GW 2, but it
> doesn't happens.
i don't understand based on the above, how your lcr table looks like
and which uri you are trying to call. what are the underscores after 0?
prefix is just a prefix, nothing else.
-- juha