<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=666445016-15122005><FONT face=Arial size=2>
Sorry, dont know why but the text is missing, here we go
again:</FONT></SPAN></DIV>
<DIV><SPAN class=666445016-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=666445016-15122005><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=666445016-15122005><FONT face=Arial size=2>
Im configuring Openser with LCR module and Im having an extrange behavior, I
have 2 gateways, GW1(preference1) and GW2(preference2), </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=666445016-15122005><FONT face=Arial
size=2>
GW1(pref.1)
<BR>
/
\<BR> ClientA
-->
OpenSer
--> Client
B<BR>
\ GW2 (pref.2)
/
</FONT></SPAN></DIV>
<DIV> </DIV><SPAN class=666445016-15122005><FONT face=Arial size=2>
<DIV><BR>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
????</DIV>
<DIV> </DIV>
<DIV><BR>Thx in advance</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>this is my basic configuration( I have attached full config file):</DIV>
<DIV> </DIV>
<DIV><BR>route{</DIV>
<DIV> </DIV>
<DIV> if (!method=="REGISTER") {<BR>
record_route();<BR> };</DIV>
<DIV> </DIV>
<DIV> if (loose_route()) {<BR> append_hf("P-hint: rr-enforced\r\n");
<BR> route(1);<BR> };</DIV>
<DIV> </DIV>
<DIV> if (!uri==myself) {<BR> append_hf("P-hint: outbound\r\n");
<BR> route(1);<BR> };</DIV>
<DIV> </DIV>
<DIV><BR> if (uri==myself) {<BR> <BR> if (method=="REGISTER")
{<BR> save("location");<BR> exit;<BR> };</DIV>
<DIV> </DIV>
<DIV><BR> if (method=="INVITE")
{<BR>
if (!lookup("location"))
{<BR>
if (!load_gws())
{<BR>
sl_send_reply("500", "Server Internal Error - Cannot load
gateways");<BR>
return;<BR>
};
<BR>
};<BR> <BR> if (!next_gw())
{<BR>
sl_send_reply("503", "Service not available - No
gateways");<BR>
return;<BR> };<BR>
<BR> <BR> };<BR> };<BR> };</DIV>
<DIV> </DIV>
<DIV> t_on_failure("1");<BR> route(1);<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>route[1] {</DIV>
<DIV> </DIV>
<DIV><BR> if (!t_relay()) { <BR> sl_send_reply("666","t_relay
fallido"); <BR> return; <BR> };</DIV>
<DIV> </DIV>
<DIV> exit;<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>failure_route[1] {</DIV>
<DIV> </DIV>
<DIV> if (!next_gw()) {<BR>
t_reply("503", "Service not available - No gateways
1");<BR>
return;<BR> };</DIV>
<DIV> </DIV>
<DIV> if (!t_relay()) { <BR> t_reply("666","t_relay fallido");
<BR> return; <BR> };<BR>}</FONT></SPAN></DIV></BODY></HTML>