Hi,
Please help me in this. " udp_rcv_loop: probing packet received from 192.168.2.21 50195 ": means
And Integrate the Radius+ mysql with Openser. In logined and call are made. acct_type isfailed... In Radacct table od Radius
acctstoptime ,acctSessionTime,connectinfo_start,conecctinfo_stop , these entities are insert as null, But AcctStartTime is inserting.
Below one is openser.cfg file
please help me
#************************************************************************************************* 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_missed_flag",2) modparam("acc","service_type",16) modparam("acc","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 record_route(); # loose-route processing if (loose_route()) { t_relay(); setflag(1); 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","1"); exit; }; 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") { acc_rad_request("Start"); record_route(); 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("Stop"); setflag(1);
}; if(!lookup("location")) { sl_send_reply("404","Woo......... NOt found"); }; }; lookup("aliases"); setflag(2); if(!t_relay()) { sl_reply_error(); }; } onreply_route[1] { if(status=~"[0-9][0-9][0-9]") { force_rtp_proxy(); }; }