I have the following set up
<br />
<br />modparam("auth_db", "load_credentials", "$avp(rpid)=rpid;$avp(55)=ha1")
<br />
<br />modparam("auth", "rpid_prefix", "<")
<br />modparam("auth", "rpid_suffix", ">")
<br />modparam("auth", "rpid_avp", "$avp(rpid)")
<br />
<br />
<br />And then in my subscriber table I have the following
<br />
<br />Proxy02:/var/log# opensipsctl db show subscriber | grep 2011
<br />+------+------------+---------------+----------+---------------+----------------------------------+----------------------------------+--------------------------+----------------+------------+-----------+---------------------+------------+------------+
<br />| id | username | domain | password | email_address | ha1 | ha1b | rpid | vmail_password | first_name | last_name | datetime_created | quota | online |
<br />+------+------------+---------------+----------+---------------+----------------------------------+----------------------------------+--------------------------+----------------+------------+-----------+---------------------+------------+------------+
<br />219 2011 irock.com x x sip:9012732009@irock.com x 0000-00-00 00:00:00 0
<br />
<br />
<br />When the user registers and I do a xlog to show the rpid variable it comes up null. I am not sure why it's not getting the rpid info from the database.