Hello,
 
    Im making tests and its not a LCR problem, its a problem from my GW2, when I use it for first option, it fails too, here you have the
ngrep,
 
ClientA                    -->        Proxy                        -->        GW2
(192.168.10.93)                (192.168.10.91)                (195.219.74.166)
 
Regards
 
 
The problem is that the BYE request will be handled by your LCR logic.
The BYE request should be route in the loose_route block as it is an
in-dialog request. Maybe the BYE sent from the gateway is not correct.
Please post a ngrep dump (ngrep -t -W byline port 5060)

regards
klaus

Pepe wrote:
> Hello,
> 
>     Im configuring Openser with LCR module and Im having an extrange
> behavior, I have 2 gateways, GW1(preference1) and GW2(preference2),
> 
>                                                  GW1(pref.1)
>                                             /                        \
>             ClientA --> OpenSer                               --> Client B
>                                             \   GW2 (pref.2)  /         
> 
> 
> When I call from Client A to Client B using GW1, all works fine, its the
> same when hang up Client B or Client A, but when GW1 fail(I provoke it
> changing codec) and use failure route (GW 2) then  if Client A hang up
> all works fine, but the problem is when is Client B who hang up, its
> like a new conversation, GW 2 send BYE to openser and Openser just send
> "503 Service Not avilable - No gateways" to GW2, but doesnt send nothing
> to ClientA, any idea ????
> 
> 
> Thx in advance
>