<!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> </DIV>
<DIV> I isntall the openser-1.2.2-notls under the centos5.</DIV>
<DIV> I config the INVITE method like this:</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> if (is_method("INVITE"))<BR> {<BR> # enable
Record-Route<BR> record_route();</DIV>
<DIV> </DIV>
<DIV> # Is this to one of our numbers<BR> if
(lookup("location")) <BR> {<BR> append_hf("P-hint:
userloc applied\r\n");<BR> } <BR> else
<BR> {<BR> sl_send_reply("404","Not
found");<BR> }<BR> }</DIV>
<DIV> route(1);</DIV>
<DIV> </DIV>
<DIV>...</DIV>
<DIV> </DIV>
<DIV>route[1] <BR>{<BR> if (isflagset(2))<BR> {<BR> if
(is_method("INVITE"))<BR> {<BR> t_on_reply("1");<BR> t_on_failure("1");<BR> use_media_proxy();<BR> }
else if (is_method("BYE|CANCEL"))
{<BR> end_media_session();<BR> }<BR> }</DIV>
<DIV> </DIV>
<DIV> # send it out now; use stateful forwarding as it works
reliably<BR> # even for UDP2TCP<BR> if (!t_relay())
<BR> {<BR> sl_reply_error();<BR> }<BR> exit;<BR>}</DIV>
<DIV> </DIV>
<DIV>But when the end ua is not online,the ser proxy seems to be in a loop
lock.</DIV>
<DIV> </DIV>
<DIV> Thanks a lot!</DIV></BODY></HTML>