[Users] load_credentials
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Sep 28 19:49:11 CEST 2005
Hi Richard,
just as an add on - note that TM accepts the custom timeout values both
as integer and string. So, for this particular case, you do not need to
convert to value - just load it at auth time.
also be sure to correlate the AVP names in tm and authdb.
regards,
bogdan
Daniel-Constantin Mierla wrote:
> 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 at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list