<br clear="all"><br>
Hi,<br>
<br>
Please help me in this.<br>
" udp_rcv_loop: probing packet received from <a href="http://192.168.2.21">192.168.2.21</a> 50195 ": means<br>
<br>
And Integrate the Radius+ mysql with Openser. <br>
In logined and call are made.<br>
acct_type isfailed...<br>
In Radacct table od Radius<br>
<br>
acctstoptime ,acctSessionTime,connectinfo_start,conecctinfo_stop ,
these entities are insert as null, But AcctStartTime is inserting.<br>
<br>
<br>
<br>
Below one is openser.cfg file<br>
<br>
please help me<br>
<br>
<br>
<br>
#*************************************************************************************************<br>
modparam("usrloc", "db_mode", 2)<br>
modparam("auth_db", "password_column", "password")<br>
modparam("auth_db", "calculate_ha1", yes)<br>
modparam("usrloc|acc|auth_db|group|msilo", "db_url", "mysql://openser:openserrw@localhost/openser")<br>
########333333<br>
modparam("acc","log_level",1)<br>
modparam("acc","log_flag",1)<br>
modparam("acc","log_missed_flag",2)<br>
modparam("acc", "log_fmt", "cdfimorstup")<br>
modparam("acc", "failed_transaction_flag",3)<br>
modparam("acc", "report_cancels", 1)<br>
modparam("acc","report_ack",0)<br>
modparam("acc", "db_flag", 1)<br>
modparam("acc", "db_missed_flag", 2)<br>
modparam("acc","radius_flag",1)<br>
modparam("acc","radius_missed_flag",2)<br>
modparam("acc","service_type",16)<br>
modparam("acc","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")<br>
##########33<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>
record_route();<br>
# loose-route processing<br>
if (loose_route()) {<br>
t_relay();<br>
setflag(1);<br>
exit;<br>
};<br>
<br>
<br>
# account completed transactions via syslog<br>
setflag(1);<br>
setflag(2);<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>","1");<br>
exit;<br>
};<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>
{<br>
acc_rad_request("Start");<br>
record_route();<br>
force_rtp_proxy();<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>
<br>
if (method=="BYE" || method=="CANCEL") {<br>
#log (1, "BYE or CANCEL\n");<br>
#setflag(1);<br>
<br>
acc_rad_request("Stop");<br>
setflag(1);<br>
<br>
};<br>
if(!lookup("location"))<br>
{<br>
sl_send_reply("404","Woo......... NOt found");<br>
};<br>
};<br>
lookup("aliases");<br>
setflag(2);<br>
if(!t_relay())<br>
{<br>
sl_reply_error();<br>
};<br>
}<br>
onreply_route[1]<br>
{<br>
if(status=~"[0-9][0-9][0-9]")<br>
{<br>
force_rtp_proxy();<br>
};<br>
}<br>
<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>