[OpenSIPS-Users] Flag Values for AAA

Darshak Modi darshak.modi at elitecore.com
Mon Dec 14 10:51:44 CET 2009


Hey Thanks for the help.

But I don't know how to do that. Could you please guide me?
if (loose_route())
                {
                       if (is_method("BYE"))
                        setflag(1); # do accounting ...
                #       t_relay();
                        exit;
                }
.............
}

For bye I changed like this. But it doesn't happen. Could you please provide
me sample config for the same.

Thanks A Lot
Darshak

-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Monday, December 14, 2009 3:18 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Flag Values for AAA

Hi Darshak,

Be sure you are setting the radius accounting flag (radius_flag param 
for acc module) also for the BYE request (and not only for the INVITEs) 
- BYE will trigger the STOP event in accounting.

Regards,
Bogdan




Darshak Modi wrote:
> Hi Guys,
> 	I am new to opensips. I have configured it to do radius accounting. 
> It sends Acct-Start only, it doesn't send Acct-Stop to freeradius.
>
> 	Also, Is there any document which explains flags value for modparam
> 	e.g	modparam("acc", "failed_transaction_flag", 4)
> 	Here I don't know whats the meaning of 1,2,3,4.. 
>
>
> Thanks
> Darshak
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list