[Kamailio-Devel] avpops avp_table column questions

Juha Heinanen jh at tutpro.com
Sat Aug 9 11:02:02 CEST 2008


Daniel-Constantin Mierla writes:

 > uuid can be used as a generic key column.

daniel,

yes, i was planning to try that out.

 > The type column is for both name and value:
 > 
 > - 0 - AVP with string name and string value
 > - 1 - AVP with string name and integer value
 > - 2 - AVP with integer name and string value
 > - 3 - AVP with integer name and integer value

that documentation i didn't find in avpops README.  perhaps it could be
added to

1.4.10. type_column (string)

Name of an integer column containing the AVP type.  Possible
values are 

- 0 - AVP with string name and string value
- 1 - AVP with string name and integer value
- 2 - AVP with integer name and string value
- 3 - AVP with integer name and integer value

also, i assume that 'attribute' and 'value' columns have to be of string
(in mysql varchar) type and that if type tells that name of value is
integer, then digit string is converted to integer when avp_db_load is
called?

-- juha



More information about the Devel mailing list