Hi <br>
<br>
please this Issuse<br>
<br>
<br>
....... Radius server debug mode.......<br>
<br>
rad_recv: Accounting-Request packet from host <a href="http://192.168.2.55:32807">192.168.2.55:32807</a>, id=58,<br>
length=221<br>
Acct-Status-Type = Failed<br>
Service-Type = IAPP-AP-Check<br>
Sip-Response-Code = 0<br>
Sip-Method = INVITE<br>
User-Name = "<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=555%40192.168.2.55'); return false;" target="_blank">
555@192.168.2.55</a>"<br>
Calling-Station-Id = "sip:<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=555%40192.168.2.55'); return false;" target="_blank">
555@192.168.2.55</a>"<br>
Called-Station-Id = "sip:<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=666%40192.168.2.55'); return false;" target="_blank">
666@192.168.2.55</a>"<br>
Sip-Translated-Request-URI = "sip:<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=666%40192.168.2.55'); return false;" target="_blank">
666@192.168.2.55</a>"<br>
Acct-Session-Id =<br>
"<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=E54D81BC-C463-446F-B0AF-DE1C3C6EC33D%40192.168.2.21'); return false;" target="_blank">
E54D81BC-C463-446F-B0AF-DE1C3C6EC33D@192.168.2.21</a>"<br>
Sip-To-Tag = "n/a"<br>
Sip-From-Tag = "3693743074"<br>
Sip-Cseq = "34571"<br>
NAS-Port = 5060<br>
Acct-Delay-Time = 0<br>
NAS-IP-Address = <a href="http://192.168.2.55">192.168.2.55</a><br>
Processing the preacct section of radiusd.conf<br>
modcall: entering group preacct for request 11<br>
modcall[preacct]: module "preprocess" returns noop for request 11<br>
rlm_realm: Looking up realm "<a href="http://192.168.2.55">192.168.2.55</a>" for User-Name =<br>
"<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=555%40192.168.2.55'); return false;" target="_blank">555@192.168.2.55</a>
"<br>
rlm_realm: No such realm "<a href="http://192.168.2.55">192.168.2.55</a>"<br>
modcall[preacct]: module "suffix" returns noop for request 11<br>
modcall: leaving group preacct (returns noop) for request 11<br>
Processing the accounting section of radiusd.conf<br>
modcall: entering group accounting for request 11<br>
rlm_acct_unique: Hashing 'NAS-Port = 5060,Client-IP-Address =<br>
<a href="http://192.168.2.55">192.168.2.55</a>,NAS-IP-Address = <a href="http://192.168.2.55">192.168.2.55</a>,Acct-Session-Id =<br>
"<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=E54D81BC-C463-446F-B0AF-DE1C3C6EC33D%40192.168.2.21'); return false;" target="_blank">
E54D81BC-C463-446F-B0AF-DE1C3C6EC33D@192.168.2.21</a>",User-Name =<br>
"<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=555%40192.168.2.55'); return false;" target="_blank">555@192.168.2.55</a>
"'<br>
rlm_acct_unique: Acct-Unique-Session-ID = "ef0513de749b7034".<br>
modcall[accounting]: module "acct_unique" returns ok for request 11<br>
radius_xlat: <br>
'/usr/local/var/log/radius/radacct/192.168.2.55/detail-20060605'<br>
rlm_detail:<br>
/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d<br>
expands to<br>
/usr/local/var/log/radius/radacct/192.168.2.55/detail-20060605<br>
rlm_detail: Failed to create directory<br>
/usr/local/var/log/radius/radacct/192.168.2.55: Permission denied<br>
modcall[accounting]: module "detail" returns fail for request 11<br>
modcall: leaving group accounting (returns fail) for request 11<br>
Finished request 11<br>
Going to the next request<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",<br>
"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<br>
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<br>
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<br>
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>
....................... Naslist file in raddb(radius_server.....<br>
<a href="http://192.168.2.55">192.168.2.55</a> radiustest other<br>
<a href="http://192.168.2.20">192.168.2.20</a> hyperion1 other<br>
<a href="http://192.168.2.21">192.168.2.21</a> hyperion2 other<br>
<br>
.........................hintsGroups..........<br>
<br>
<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=555%40192.168.2.55'); return false;" target="_blank">555@192.168.2.55</a> NAS-IP-ADDRESS ==
<a href="http://192.168.2.21">192.168.2.21</a><br>
<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=666%40192.168.2.55'); return false;" target="_blank">666@192.168.2.55</a> NAS-IP-ADDRESS ==
<a href="http://192.168.2.20">192.168.2.20</a><br>
......................................<br>
<br>
.................radiusclient.conf ........<br>
authserver <a href="http://192.168.2.55">192.168.2.55</a><br>
acctserver <a href="http://192.168.2.55">192.168.2.55</a><br>
......................servers..................<br>
<br>
<a href="http://192.168.2.55">192.168.2.55</a>
radiustest<br>
<a href="http://192.168.2.20">192.168.2.20</a> hyperion1<br>
<a href="http://192.168.2.21">192.168.2.21</a> hyperion2<br>
...................Radacct tables..........<br>
id UserName Attribute op value<br>
---------------------------------------------------<br>
4 <a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=555%40192.168.2.55'); return false;" target="_blank">555@192.168.2.55
</a> Password == test2<br>
5 <a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=666%40192.168.2.55'); return false;" target="_blank">666@192.168.2.55
</a> Password == test3<br>
<br>
<br>
--------------------------------------------------------<br>
RadgroupCheck......<br>
id GroupName Attribute op value<br>
<br>
5 voip Auth-Type := Digest<br>
<br>
************************************************************<br>
RadgroupReply...<br>
id GroupName Attribute op Value<br>
56 voip Service-Type := Sip-Session<br>
............................................................<br>
UserGroup<br>
UserName Group Priority<br>
<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=555%40192.168.2.55'); return false;" target="_blank">555@192.168.2.55</a> Voip 4
<br>
<a href="https://email.secureserver.net/view.php?folder=INBOX.Sent_Items&uid=69#Compose" onclick="Popup.composeWindow('pcompose.php?sendto=666%40192.168.2.55'); return false;" target="_blank">666@192.168.2.55</a> voip 5
<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>