[OpenSIPS-Users] SIP/2.0 401 Unauthorized
shaheryarkh at gmail.com
Tue Nov 20 18:40:48 CET 2012
Check WWW-Authorize header, you are probably a victim of stale nonce. Some
clients try to register multiple contacts using same nonce over time.
Also check subscriber table opensips db and see in what format your
passwords are actually stored for existing users, and then set calculate
ha1 hash module parameter appropriately. Don't specify password column
unless you have custom db schema for subscribers table.
On Tue, Nov 20, 2012 at 6:01 PM, Christian Cambier <cca at voxtron.com> wrote:
> Upon registering a UAC I keep on getting a "SIP/2.0 401 Unauthorized"
> The SIP challenge-response is being executed but I assume there's still an
> issue with plain/hashed passwords
> In the cfg I specify
> modparam("auth_db", "calculate_ha1", 0)****
> modparam("auth_db", "password_column", "ha1")****
> In /etc/opensips/opensipsctlrc I have changed setting
> Apart from
> service opensips restart
> do I have to restart anything else or specify another setting somewhere?
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users