[sr-dev] i: and s: avp syntax

Daniel-Constantin Mierla miconda at gmail.com
Sat May 30 10:42:42 CEST 2009


Hello,

On 05/30/2009 11:23 AM, Juha Heinanen wrote:
> i'm getting lots of these:
>
>  0(13997) WARNING: <core> [usr_avp.c:882]: i: and s: avp name syntax is deprecated!
>
> and didn't find anything about that on tips page.
>
> where is the new avp name syntax explained?
>
> modules_k/avpops/README still has this:
>
>      * avp_flags = type_flags [script_flags]; type_flags = 'I' |
>        'i' | 'S' | 's'; script_flags = 0..255
>        'I' or 'i' means that the type of avp name is integer (ID)
>        'S' or 's' means that the type of avp name is string
>        The type flag is mandatory.
>   
hmm, here is a conflict between S and K I just realized now:
- avp name without i: or s: is considered to be string in S and avp 
alias in K

The solution to keep compatibility is that pv module, which is K 
specific, will fix the name different that S core.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the sr-dev mailing list