[Devel] RADIUS SIP_AVP format

Juha Heinanen jh at tutpro.com
Wed Jun 15 17:59:55 CEST 2005


Bogdan-Andrei Iancu writes:

 > What I would like to define is a format which will allow both string and 
 > numbers for both avp name and avp value. In order to keep backward 
 > compatibility, the first solution I thing about is:
 >        NAME:STR_VAL
 >        NAME#NR_VAL
 >       #ID:STR_VAL
 >       #ID#NR_VAL
 > 
 > any opinion on this?

why not simply check that if name only contains decimal digits, then
name is ID?

-- juha



More information about the Devel mailing list