[OpenSIPS-Users] Auth_DB's load_credentials isn't grabbing RPID info

duane.larson at gmail.com duane.larson at gmail.com
Sun Nov 13 01:22:52 CET 2011


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:9012732009 at irock.com 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111113/32b7993e/attachment.htm>


More information about the Users mailing list