Hi
please this Issuse
... Radius server debug mode...
rad_recv: Accounting-Request packet from host 192.168.2.55:32807, id=58,
length=221
Acct-Status-Type = Failed
Service-Type = IAPP-AP-Check
Sip-Response-Code = 0
Sip-Method = INVITE
User-Name = "
[EMAIL PROTECTED]"
Calling-Station-Id = "sip:
[EMAIL PROTECTED]"
Called-Station-Id = "sip:
[EMAIL PROTECTED]"
Sip-Translated-Request-URI = "sip:
[EMAIL PROTECTED]"
Acct-Session-Id =
"
[EMAIL PROTECTED]"
Sip-To-Tag = "n/a"
Sip-From-Tag = "3693743074"
Sip-Cseq = "34571"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 192.168.2.55
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 11
modcall[preacct]: module "preprocess" returns noop for request 11
rlm_realm: Looking up realm "192.168.2.55" for User-Name =
"[EMAIL PROTECTED]
"
rlm_realm: No such realm "192.168.2.55"
modcall[preacct]: module "suffix" returns noop for request 11
modcall: leaving group preacct (returns noop) for request 11
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 11
rlm_acct_unique: Hashing 'NAS-Port = 5060,Client-IP-Address =
192.168.2.55,NAS-IP-Address = 192.168.2.55,Acct-Session-Id =
"
[EMAIL PROTECTED]",User-Name =
"[EMAIL PROTECTED]
"'
rlm_acct_unique: Acct-Unique-Session-ID = "ef0513de749b7034".
modcall[accounting]: module "acct_unique" returns ok for request 11
radius_xlat:
'/usr/local/var/log/radius/radacct/192.168.2.55/detail-20060605'
rlm_detail:
/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
expands to
/usr/local/var/log/radius/radacct/192.168.2.55/detail-20060605
rlm_detail: Failed to create directory
/usr/local/var/log/radius/radacct/192.168.2.55: Permission denied
modcall[accounting]: module "detail" returns fail for request 11
modcall: leaving group accounting (returns fail) for request 11
Finished request 11
Going to the next request
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:[EMAIL PROTECTED]/openser")
33
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!) */
};