daniel at voice-system.ro
Wed Sep 28 12:11:06 CEST 2005
On 09/28/05 11:18, Richard Z wrote:
>I am trying to use load_credentials modparam in auth_db to load some
>colums in the subscriber table. In mysql db table, what type should I
>use the columns? For example,
>modparam("auth_db", "load_credentials", "i:15=timeout")
>If I define timeout as varchar, it gets the value. If as int, it
>doesn't generate the avp.
>Is this supposed to be this way? Do I miss anything?
at this moment only string values can be loaded via load_credentials.
You can use avp_copy() to convert from string to integer afterwards.
Ability to load int values should be introduced in the future.
>Users mailing list
>Users at openser.org
More information about the Users