I have the following set up

modparam("auth_db", "load_credentials", "$avp(rpid)=rpid;$avp(55)=ha1")

modparam("auth", "rpid_prefix", "<")
modparam("auth", "rpid_suffix", ">")
modparam("auth", "rpid_avp", "$avp(rpid)")


And then in my subscriber table I have the following

Proxy02:/var/log# opensipsctl db show subscriber | grep 2011
+------+------------+---------------+----------+---------------+----------------------------------+----------------------------------+--------------------------+----------------+------------+-----------+---------------------+------------+------------+
| id | username | domain | password | email_address | ha1 | ha1b | rpid | vmail_password | first_name | last_name | datetime_created | quota | online |
+------+------------+---------------+----------+---------------+----------------------------------+----------------------------------+--------------------------+----------------+------------+-----------+---------------------+------------+------------+
219 2011 irock.com xx sip:[email protected] x 0000-00-00 00:00:00 0


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.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to