[Kamailio-Devel] avpops avp_table column questions

Juha Heinanen jh at tutpro.com
Sat Aug 9 10:45:32 CEST 2008


i have never before had any use of avpops functions that deal  with
avp_table.

now i thought to store some avps related to peers to avp_able, but
noticed that there is no general purpose "key" column where i could
store the peer name, whose avps i would like to get access to using
avp_db_load function.  instead, avp_table contains columns like "uuid",
"username", and "domain".  also, i noticed that there is only one type
column (for the value) and no type column for the attribute.

can anyone familiar with avpops module tell, why those kind of special
purpose columns are used instead of a generic "key" column?  also, it is
somehow possible to tell that attribute name is integer instead of
string?

-- juha



More information about the Devel mailing list