[OpenSIPS-Devel] "load_credentials" behaves wrongly when setting NULL the column

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Oct 19 06:21:32 CEST 2009


Hi Iñaki,

Iñaki Baz Castillo wrote:
> - Later I set it to NULL. But when the users authenticates the AVP is set to 
> "1234" !!!!!!
>   

So, this does not happen all the time, but only from time to time you 
say, right?

Are you sure the AVP is not already set before the auth part? Try doing 
avp_delete("$avp(AVP_USER_PREFIX)/g"); just before auth part.

If still bogus, maybe a provide you with a patch to print the loaded 
values, just to see what if the problem is because of loading or setting 
the AVP.

Regards,
Bogdan



More information about the Devel mailing list