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

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Nov 22 15:36:19 CET 2011


Hi Duane,

You need to fix your script logic and when you cache the fetched 
password  also cache (in a separate key) the fetched RPID.  So load , 
cache and fetch the passwd and rpid all the time together.

Regards,
Bogdan

On 11/19/2011 03:15 AM, osiris123d wrote:
> I think I know the issue with this.  For INVITES I am using the
> cachedb_local.  So if a user dials out the first time then credentials are
> pulled from the database and the RPID info is gotten.  The second time the
> user calls someone the cached credentials are used and the RPID is never
> pulled.  So that is why my RPID is not getting attached to my INVITES.
>
> Is there a way to fix this or should I just not use cachedb_local setup when
> INVITES are being authenticated???
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Auth-DB-s-load-credentials-isn-t-grabbing-RPID-info-tp6988909p7010370.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"




More information about the Users mailing list