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....
--
Alex Balashov
Evariste Systems
Web :
http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775