<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have a doubt about SER forwarding to GW. 
</FONT></DIV>
<DIV><FONT face=Arial size=2>Using the rule below, everything works the way it 
should work:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if(uri=~"^sip:55.*"){<BR>&nbsp;&nbsp;&nbsp; 
strip(2);<BR>&nbsp;&nbsp;&nbsp; prefix("55");<BR>&nbsp;&nbsp;&nbsp; 
rewritehost("1.2.3.4");<BR>} else {<BR>&nbsp;&nbsp;&nbsp; sl_send_reply("404", 
"Not Found");<BR>&nbsp;&nbsp;&nbsp; break;<BR>};<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2>But if I change for the rule below, my SIP client 
receives a 503 (Service Unavailable) message:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2>if(uri=~"^sip:055.*"){<BR>&nbsp;&nbsp;&nbsp; 
strip(3);<BR>&nbsp;&nbsp;&nbsp; prefix("55");<BR>&nbsp;&nbsp;&nbsp; 
rewritehost("1.2.3.4");<BR>} else {<BR>&nbsp;&nbsp;&nbsp; sl_send_reply("404", 
"Not Found");<BR>&nbsp;&nbsp;&nbsp; break;<BR>};</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Nbody can help me?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Vitor Brasileiro.</FONT></DIV></BODY></HTML>