called failed 408 Request timeout
raviprakash sunkara
sunkara.raviprakash.feb14 at gmail.com
Tue Jun 13 16:15:34 CEST 2006
hi users,
I need to say just "hello to all"
I'm working on openser + radius..
Actually in LAN network its working fine...
When I deploy the openser + radius in My main server which is in some
other place .
its successfully login and When I trying to make call its show the log
messages as " Called Failed :- 408 Request TimeOut.... "
=========================================================================
modparam('registrar","nat_flag',6)
modparam("nathelper","natping_interval",30)
modparam("nathelper","ping_nated_only",1)
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
#################33
modparam("rr", "enable_full_lr", 1)
###############################################
route {
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("13")) {
sl_send_reply("483","Too Many Hops........................!");
exit;
};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too big");
exit;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if(!method== "REGISTER")
{
record_route();
};
# loose-route processing
if (loose_route()) {
# add now 0n 9 setflag(1);
acc_rad_request("200 ok ");
t_relay();
exit;
};
# account completed transactions via syslog
if(uri==myself)
{
if(method=="REGISTER")
{
if(!radius_www_authorize("192.168.2.55"))
{
www_challenge("192.168.2.55","0");
exit;
};
#consume_credentials();
save("location");
if (m_dump())
{
log("MSILO: offline messages dumped - if they
were\n");
}else{
log("MSILO: no offline messages dumped\n");
};
exit;
};
if(method=="INVITE"|| method=="ACK")
{ record_route();
acc_rad_request("200");
if(isflagset(6)) {
force_rtp_proxy("e");
};
#setflag(1);
t_on_reply("1");
};
/* if (method=="BYE") {
record_route();
};
*/
if (method=="MESSAGE") {
log(1, "MESSAGE\n");
setflag(1); /* set for accounting (the same value as in
log_flag!) */
};
fix_nat_contact();
if (method=="BYE" || method=="CANCEL") {
#log (1, "BYE or CANCEL\n");
#setflag(1);
acc_rad_request("200");
#acc_rad_request("Stop");
unforce_rtp_proxy("e");
#setflag(1);
};
if(!lookup("location"))
{
sl_send_reply("404","Woo......... NOt found");
};
};
if(!t_relay())
{
sl_reply_error();
};
lookup("aliases");
#setflag(2);
exit;
}
onreply_route[1]
{
if( isflagset96) && status=~"[0-9][0-9][0-9]")
{ fix_nat_contact();
force_rtp_proxy("e");
};
}
=========================================================================
--
Thanks and Regards with cheers
Sunkara Ravi Prakash (Voip Developer)
Hyperion Technology
www.hyperion-tech.com
<b>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060613/496d42b0/attachment.html>
More information about the Freeradius-Users
mailing list