[Serusers] SER + RADIUS Accounting
Lucas Aimaretto
lucas at cyneric.com
Mon Dec 27 21:33:26 CET 2004
Hi,
> if (method=3D=3D"BYE" || method=3D=3D"CANCEL")
> {
> setflag(1);
> acc_rad_request("200");
> };
>
> you should not need to call acc_rad_request here. setting
> the flag and t_relay should be enough.
Nope, it did not work .... :-(
Look ... this is my ser.cfg (is this what you meant?)
if (method=="REGISTER")
{
# Lo siguiente es para auth con RADIUS
if (!radius_www_authorize(""))
{
www_challenge("", "0");
break;
};
save("location");
break;
};
if (method=="INVITE")
{
setflag(1);
acc_rad_request("200");
};
if (method=="BYE" || method=="CANCEL")
{
setflag(1);
};
# native SIP destinations are handled using our USRLOC
DB
if (!lookup("location"))
{
sl_send_reply("404", "Not Found");
break;
};
};
t_relay();
.... if it is ... then, I just got the same situation. Not an Acct-Stop
message at all :-( ... Any other idea ?
Thank you ... regards,
Lucas ...
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.5 - Release Date: 26/12/2004
More information about the sr-users
mailing list