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

Daniel-Constantin Mierla miconda at gmail.com
Sat May 30 13:39:58 CEST 2009



On 05/30/2009 12:15 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>  > We cannot drop it, that will break lot of things. 
>
> like what?

there were modules that work with integer avp names only, there are 
tools that rely on that. Dropping them at once, without having a 
transactional release to mark as deprecated/obsolete, will break many 
things out there and people will not be happy.

Daniel

>   why should script write care, how avp names are internally
> implemented.  the only case that comes to mind is if someone has been
> using two avps that have the same string representation, e.g., i:123 and
> s:123.  even that can be easily fixed by dropping : and use s123.
>
> i have always used int avp names and don't have any problem to convert
> them to strings.
>
> -- juha
>   

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




More information about the sr-dev mailing list