<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>