Hello,

did you check the $abp(rpid) after the user authentication? If not, look at is_subscriber() function, it can also load the credentials.

Cheers,
Daniel

On 03/04/16 18:17, Alberto Sagredo wrote:
Hi!

 I plan to use rpid field but when trying to get from database, subscriber table has rpid field filled, i get always NULL.

Is there any more needed than:

modparam("auth_db", "load_credentials", "rpid")


?


Just a check of variable 


      xlog(" Valor de RPID es  : $avp(s:rpid)");  


Shows me NULL all times


Thanks





_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com