[OpenSIPS-Users] [Kamailio-Users] Registered user

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Jan 16 17:23:43 CET 2009


Hi Alex,

I will post only on OpenSIPS lists as it seams there are really nervous 
people on the other side....,,

yes, the AVPs are still kept in a list.

Regards,
Bogdan

Alex Balashov wrote:
> Bogdan,
>
> In OpenSIPS, are AVP searches still linear for AVPs that have string 
> identifiers?  My understanding is that traditionally they were linear, 
> as opposed to hashed.
>
> Thanks,
>
> -- Alex
>
> Bogdan-Andrei Iancu wrote:
>
>> Of course this notation is present since openser 1.3 and it was 
>> inherited by both OpenSIPS 1.4.4 and Kamilio 1.4.3, but now we try to 
>> get a better approach of this functionality: why put the value into 
>> an AVP and let the function search all the time for that AVP (set or 
>> not set), when you can simply take advantage and directly pass the 
>> value as parameter to the function. You get read of (1) useless 
>> transit via an AVP and (2) useless AVP search all the time. Also you 
>> get a more compact and clear scripting....
>
>




More information about the Users mailing list