[SR-Users] Registration Authentication Error

Nathaniel L Keeling III keeling at akan-tech.com
Thu Sep 20 16:46:02 CEST 2012


The realm is the same as the client. I was using the $fd variable but 
then switch it to the actual domain name and I still do not 
authenticate. It seems like the HA1 calculation is different. Our setup 
is for multi-domain and we've placed the domain name in the domain 
table. Is there something else that needs to be done. The user was added 
using the kamclt add user command.

Thanks

Nathaniel

On 9/19/12 5:32 AM, Andrew Pogrebennyk wrote:
> On 09/18/2012 04:58 PM, Nathaniel L Keeling III wrote:
>> 11(28548) DEBUG: db_postgres [km_dbase.c:393]: PQclear(1008b8560) result
>> set
>> 11(28548) DEBUG: auth_db [authorize.c:124]: HA1 string calculated:
>> e13d569284e76a33ca63e4d6203f844a
>> 11(28548) DEBUG: auth [api.c:211]: check_response: Our result =
>> '18210b5da2b3d27e6ba50977072599ea'
>> 11(28548) DEBUG: auth [api.c:221]: check_response: Authorization failed
> What realm do you use for proxy_challenge? Does it match the realm
> configured in the client?
>
> You can calculate and check the digest response yourself by using a
> simple script like
> http://code.google.com/p/variman/source/browse/website/trunk/docroot/support/digest.php
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>




More information about the sr-users mailing list