[OpenSIPS-Users] [OpenSIPS-Devel] Are accounting radius requests syncronous?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Oct 30 10:52:49 CET 2008


Hi Alex,

Doesn't matter if the radius call is done via a script function or 
internally, because of the flag - the call is still blocking and the 
process doing it will be idle.

The radius lib (AFAIK) does not provide any mechanism to do non-blocking 
acc requests.

Regards,
Bogdan

Alex Massover wrote:
> Hi!
>
> I understand why syslog is blocking. But acc-request is not even generated by a function in a script like xlog(), it enabled by flag and triggered later according to the transaction state. The result of acc-request is not even visible to a script.
>
> I think accounting should be non-blocking (should run in another thread or what is OpenSIPS best implementation practice). Even if radius server has no problem and answers properly, blocking requests have negative performance impact on signaling.
>
> --
> Best Regards,
> Alex Massover
>
> -----Original Message-----
> From: Jesus Rodriguez [mailto:jesusr at voztele.com]
> Sent: Thursday, October 30, 2008 11:16 AM
> To: Alex Massover
> Cc: users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] Are accounting radius requests syncronous?
>
> Hi Alex,
>
>
>   
>> Accounting requests seemed to be synchronous (i.e. stopping further
>> script processing until they finish). And if radius server doesn’t
>> answer it cause big delay on signaling.
>>
>> Should it be this way?
>>     
>
>
> That's a blocking process, yes, as syslog, libresolv, etc.
>
>
> Saludos
> JesusR.
>
> ------------------------------------
> Jesus Rodriguez
> VozTelecom Sistemas, S.L.
> jesusr at voztele.com
> http://www.voztele.com
> Tel. 902360305
> -------------------------------------
>
>
>
>
>
>
>
> ******************************************************************************
>
>  This footnote confirms that this email message has been scanned by Jajah Inc. Mail system for the presence of malicious code, vandals & computer viruses.
>
> ******************************************************************************
>
>
>
>
> ******************************************************************************
>  This footnote confirms that this email message has been scanned by Jajah Inc. Mail system for the presence of malicious code, vandals & computer viruses.
> ******************************************************************************
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Users mailing list