[Kamailio-Devel] avpops avp_table column questions
Daniel-Constantin Mierla
miconda at gmail.com
Sat Aug 9 11:05:04 CEST 2008
On 08/09/08 12:02, Juha Heinanen wrote:
> 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
>
you are right, that readme needs some updates.
> 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?
>
yes.
Daniel
> -- juha
>
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list