<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1625232105;
        mso-list-type:hybrid;
        mso-list-template-ids:-901728530 68550673 68550681 68550683 68550671 68550681 68550683 68550671 68550681 68550683;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
</head>
<body lang=PT-BR link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Two hints to debug such a
problem:<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy'><span style='mso-list:Ignore'>1)<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color=navy
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
color:navy'>start RADIUS daemon on no-forking mode (if possible, other side use
a FreeRadius, just for test communications);<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy'><span style='mso-list:Ignore'>2)<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color=navy
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
color:navy'>catch and analyze all SIP messages with ‘ngrep’ and
look for the dialog sequence.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Edson.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
users-bounces@openser.org [mailto:users-bounces@openser.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>raviprakash sunkara<br>
<b><span style='font-weight:bold'>Sent:</span></b> terça-feira, 13 de junho de
2006 11:16<br>
<b><span style='font-weight:bold'>To:</span></b> Users@openser.org;
freeradius-users@lists.freeradius.org; Jayesh Nambiar<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Users] called failed 408
Request timeout</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
hi users,<br>
<br>
I need to say just "hello to all"<br>
<br>
I'm working on openser + radius..<br>
<br>
Actually in LAN network its working fine...<br>
<br>
When I deploy the openser + radius in My main server which is
in some other place .<br>
<br>
its successfully login and When I trying to make call its show the log messages
as " Called Failed :- 408 Request TimeOut.... "<br>
<br>
=========================================================================<br>
<br>
modparam('registrar","nat_flag',6)<br>
modparam("nathelper","natping_interval",30)<br>
modparam("nathelper","ping_nated_only",1)<br>
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")<br>
#################33<br>
modparam("rr", "enable_full_lr", 1)<br>
###############################################<br>
route {<br>
# initial sanity checks -- messages with<br>
# max_forwards==0, or excessively long requests<br>
if (!mf_process_maxfwd_header("13"))
{<br>
sl_send_reply("483","Too Many
Hops........................!");<br>
exit;<br>
};<br>
if ( msg:len > max_len ) {<br>
sl_send_reply("513",
"Message too big");<br>
exit;<br>
};<br>
<br>
# we record-route all messages -- to make sure that<br>
# subsequent messages will go through our proxy; that's<br>
# particularly good if upstream and downstream entities<br>
# use different transport protocol<br>
if(!method== "REGISTER")<br>
{<br>
record_route();<br>
};<br>
# loose-route processing<br>
if (loose_route()) {<br>
# add now
0n 9 setflag(1);<br>
acc_rad_request("200 ok ");<br>
t_relay();<br>
exit;<br>
};<br>
<br>
<br>
# account completed transactions via syslog<br>
<br>
<br>
if(uri==myself)<br>
{<br>
if(method=="REGISTER")<br>
{<br>
if(!radius_www_authorize("<a href="http://192.168.2.55">192.168.2.55</a>"))<br>
{<br>
www_challenge("<a
href="http://192.168.2.55">192.168.2.55</a>","0");<br>
exit;<br>
};<br>
#consume_credentials();<br>
save("location");<br>
if
(m_dump())<br>
{<br>
log("MSILO: offline messages dumped
- if they were\n");<br>
}else{<br>
log("MSILO: no offline messages
dumped\n");<br>
};<br>
<br>
exit;<br>
};<br>
if(method=="INVITE"||
method=="ACK")<br>
{ record_route();<br>
acc_rad_request("200");<br>
if(isflagset(6)) {<br>
force_rtp_proxy("e");<br>
};<br>
#setflag(1);<br>
t_on_reply("1");<br>
};<br>
/* if (method=="BYE") {<br>
record_route();<br>
};<br>
*/<br>
<br>
if (method=="MESSAGE") {<br>
log(1,
"MESSAGE\n");<br>
setflag(1); /* set for
accounting (the same value as in log_flag!) */<br>
};<br>
fix_nat_contact();<br>
if (method=="BYE" ||
method=="CANCEL") {<br>
#log (1, "BYE or
CANCEL\n");<br>
#setflag(1);<br>
acc_rad_request("200");<br>
#acc_rad_request("Stop");<br>
unforce_rtp_proxy("e");<br>
#setflag(1);<br>
<br>
};<br>
if(!lookup("location"))<br>
{<br>
sl_send_reply("404","Woo.........
NOt found");<br>
};<br>
};<br>
if(!t_relay())<br>
{<br>
sl_reply_error();<br>
};<br>
lookup("aliases");<br>
#setflag(2);<br>
exit;<br>
}<br>
onreply_route[1]<br>
{<br>
if( isflagset96)
&& status=~"[0-9][0-9][0-9]")<br>
{
fix_nat_contact();<br>
force_rtp_proxy("e");<br>
};<br>
}<br>
<br>
<br>
<br>
<br>
=========================================================================<br
clear=all>
<br>
-- <br>
Thanks and Regards with cheers<br>
Sunkara Ravi Prakash (Voip Developer)<br>
Hyperion Technology<br>
<a href="http://www.hyperion-tech.com">www.hyperion-tech.com</a><br>
<b> <o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>