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