<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY 
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10pt; BORDER-BOTTOM-WIDTH: 0px; FONT-FAMILY: verdana; BORDER-RIGHT-WIDTH: 0px">
<DIV><FONT face=Verdana size=2>hi:</FONT></DIV>
<DIV>&nbsp;&nbsp; </DIV>
<DIV>&nbsp; I isntall the openser-1.2.2-notls under the centos5.</DIV>
<DIV>&nbsp; I config the INVITE method like this:</DIV>
<DIV>&nbsp; &nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;if (is_method("INVITE"))<BR>&nbsp;{<BR>&nbsp;&nbsp;# enable 
Record-Route<BR>&nbsp;&nbsp;record_route();</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;# Is this to one of our numbers<BR>&nbsp;&nbsp;if 
(lookup("location")) <BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;append_hf("P-hint: 
userloc applied\r\n");<BR>&nbsp;&nbsp;} <BR>&nbsp;&nbsp;else 
<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;sl_send_reply("404","Not 
found");<BR>&nbsp;&nbsp;}<BR>&nbsp;}</DIV>
<DIV>&nbsp;&nbsp;route(1);</DIV>
<DIV>&nbsp;</DIV>
<DIV>...</DIV>
<DIV>&nbsp;</DIV>
<DIV>route[1] <BR>{<BR>&nbsp;if (isflagset(2))<BR>&nbsp;{<BR>&nbsp;&nbsp;if 
(is_method("INVITE"))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;t_on_reply("1");<BR>&nbsp;&nbsp;&nbsp;t_on_failure("1");<BR>&nbsp;&nbsp;&nbsp;use_media_proxy();<BR>&nbsp;&nbsp;} 
else if (is_method("BYE|CANCEL")) 
{<BR>&nbsp;&nbsp;&nbsp;end_media_session();<BR>&nbsp;&nbsp;}<BR>&nbsp;}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;# send it out now; use stateful forwarding as it works 
reliably<BR>&nbsp;# even for UDP2TCP<BR>&nbsp;if (!t_relay()) 
<BR>&nbsp;{<BR>&nbsp;&nbsp;sl_reply_error();<BR>&nbsp;}<BR>&nbsp;exit;<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>But when the end ua is not online,the ser proxy seems to be in a loop 
lock.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; Thanks a lot!</DIV></BODY></HTML>