[Users] called failed 408 Request timeout

raviprakash sunkara sunkara.raviprakash.feb14 at gmail.com
Wed Jun 14 16:48:04 CEST 2006


Hi  Users,

Today  OPENSER's   I st  Anniversary  ,

hi dedues  please solve my issues

In Local  network openser with radius (AAA) is working fine. by using xten
softphones

But when i'm deploy in some other places with different network .

Its successfully logined , but when making the calls its gives log as '
called failed : 408 request time out..."



here is my openser,cfg  below


...........................

modparam("usrloc", "db_mode", 2)
modparam("auth_db", "password_column", "password")
modparam("auth_db", "calculate_ha1", yes)
modparam("usrloc|acc|auth_db|group|msilo", "db_url", "
mysql://openser:openserrw@localhost/openser")
########333333
modparam("acc","log_level",1)
modparam("acc","log_flag",1)
modparam("acc","log_missed_flag",2)
modparam("acc", "log_fmt", "cdfimorstup")
#modparam("acc", "failed_transaction_flag",3)
modparam("acc", "report_cancels", 1)
modparam("acc","report_ack",0)
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 2)
modparam("acc","radius_flag",1)
#modparam("acc","radius_level",1)
#modparam("acc","radius_missed_flag",2)
modparam("acc","service_type",15)
#modparam("acc", "detect_direction", 1)
modparam("acc","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
modparam("auth_radius","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
##########33
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

    #setflag(1);
   #    setflag(2);
    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");
                force_rtp_proxy();
                #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!) */
            };

        if (method=="BYE" || method=="CANCEL") {
            #log (1, "BYE or CANCEL\n");
            #setflag(1);
            acc_rad_request("200 ");
            #acc_rad_request("Stop");
            #unforce_rtp_proxy();
            #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(status=~"[0-9][0-9][0-9]")
            {
                force_rtp_proxy();
            };
        }


-----------------------------------------------------------------------------------

please help me........



-- 
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.kamailio.org/pipermail/users/attachments/20060614/e4841b43/attachment.htm 


More information about the Users mailing list