Hello,
On 09/28/05 11:18, Richard Z wrote:
Hi,
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.
Daniel
Thanks,
Richard
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users