<!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=905372715-15122005><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-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><SPAN class=905372715-15122005></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2>
GW1(pref.1) </FONT></SPAN></DIV>
<DIV><SPAN
class=905372715-15122005>
/
\</SPAN></DIV>
<DIV><SPAN
class=905372715-15122005>
<FONT face=Arial size=2>ClientA -->
OpenSer
--> Client B</FONT></SPAN></DIV>
<DIV><SPAN
class=905372715-15122005>
<FONT face=Arial
size=2>\ GW2 (pref.2) /
</FONT></SPAN></DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial size=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) </FONT></SPAN><SPAN class=905372715-15122005><FONT face=Arial
size=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 ????</FONT></SPAN></DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial size=2>Thx in
advance</FONT></SPAN></DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial size=2>this is my basic
configuration( I have attached full config file):</FONT></SPAN></DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2>
<DIV><BR><EM>route{</EM></DIV>
<DIV> </DIV>
<DIV><EM> if (!method=="REGISTER")
{<BR> record_route();<BR> };</EM></DIV>
<DIV> </DIV>
<DIV><EM> if (loose_route()) {<BR> append_hf("P-hint:
rr-enforced\r\n"); <BR> route(1);<BR> };</EM></DIV>
<DIV> </DIV>
<DIV><EM> if (!uri==myself) {<BR> append_hf("P-hint:
outbound\r\n"); <BR> route(1);<BR> };</EM></DIV>
<DIV> </DIV>
<DIV><BR><EM> if (uri==myself) {<BR> <BR> if
(method=="REGISTER")
{<BR> save("location");<BR> exit;<BR> };</EM></DIV>
<DIV> </DIV>
<DIV><BR><EM> 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> };</EM></DIV>
<DIV> </DIV>
<DIV><EM> t_on_failure("1");<BR> route(1);<BR>}</EM></DIV>
<DIV> </DIV>
<DIV><BR><EM>route[1] {</EM></DIV>
<DIV> </DIV>
<DIV><BR><EM> if (!t_relay()) {
<BR> sl_send_reply("666","t_relay fallido"); <BR> return;
<BR> };</EM></DIV>
<DIV> </DIV>
<DIV><EM> exit;<BR>}</EM></DIV>
<DIV> </DIV>
<DIV><BR><EM>failure_route[1] {</EM></DIV>
<DIV> </DIV>
<DIV><EM> if (!next_gw()) {<BR>
t_reply("503", "Service not available - No gateways
1");<BR>
return;<BR> };</EM></DIV>
<DIV> </DIV>
<DIV><EM> if (!t_relay()) { <BR> t_reply("666","t_relay
fallido"); <BR> return; <BR> };<BR>}</EM></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></FONT><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=905372715-15122005>
</SPAN></DIV></BODY></HTML>