[OpenSIPS-Users] Flag Values for AAA

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Dec 14 11:11:13 CET 2009


That is correct, just be sure that the flag(1) you set for BYE is the 
same as the one you configured in radius_flag param for acc module .

Regards,
Bogdan


Darshak Modi wrote:
> 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




More information about the Users mailing list