John,

It looks as though the authorization username specified by the SIP phone is 
wrong - it seems to be "6505550608" when it should probably be 
"[email protected]".  Note that the authorization username is the 
IMS private user ID, so is normally the same as the public user ID (SIP URI) 
with the scheme ("sip:") stripped off.

Please can you check your phone's configuration?  Many softphones are not 
strictly IMS phones and default to just using the username as the authorization 
username, but do allow you to override.  For more details, see 
https://github.com/Metaswitch/clearwater-docs/wiki/Making-your-first-call#configure-your-client.

Please let me know if this doesn't fix the problem.

Thanks,

Matt

From: [email protected] 
[mailto:[email protected]] On Behalf Of John 
Letourneau
Sent: 28 October 2013 19:36
To: [email protected]
Subject: [Clearwater] Failing Client Registrations

I have a client [Blink] configured to use my EC2 deployment. Last week I did 
succeed in running a test call, however this week things are not working so 
well.

I have tried changing the account password, I have tried adding new 
accounts...no love.

Tracing through sprout and homestead I see this in the logs:
homestead --
2013-10-28 19:23:12,784 I _base:221 12538:140011638699776] Received request 
from 10.232.83.39 - GET 
http://hs.micro.neartothis.com:8888/impi/6505550608/digest?public_id=sip%3A6505550608%40micro.neartothis.com
2013-10-28 19:23:12,787 I _base:233 12538:140011638699776] Sending 404 response 
to 10.232.83.39 for GET 
http://hs.micro.neartothis.com:8888/impi/6505550608/digest?public_id=sip%3A6505550608%40micro.neartothis.com

sprout --
28-10-2013 19:22:33.180 Error authentication.cpp:285: Authentication failed, 
Account or credential not found (PJSIP_EAUTHACCNOTFOUND)
28-10-2013 19:23:12.789 Error httpconnection.cpp:307: GET 
http://hs.micro.neartothis.com:8888/impi/6505550608/digest?public_id=sip%3A6505550608%40micro.neartothis.com
 failed at server 10.235.25.146 : HTTP response code said error (22 404) : fatal
28-10-2013 19:23:12.789 Error httpconnection.cpp:344: cURL failure with cURL 
error code 22 (see man 3 libcurl-errors) and HTTP error code 404
28-10-2013 19:23:12.789 Error authentication.cpp:285: Authentication failed, 
Account or credential not found (PJSIP_EAUTHACCNOTFOUND)
28-10-2013 19:23:46.312 Error httpconnection.cpp:307: GET 
http://hs.micro.neartothis.com:8888/impi/6505550608/digest?public_id=sip%3A6505550608%40micro.neartothis.com
 failed at server 10.235.25.146 : HTTP response code said error (22 404) : fatal




I have also tried some testing on bulk loaded accounts using sipp. Similar but 
different log entries:

homestead --
2013-10-28 18:42:25,293 I _base:221 12538:140011638699776] Received request 
from 10.232.83.39 - GET 
http://hs.micro.neartothis.com:8888/impu/sip%3A7770000000%40micro.neartothis.com?private_id=7770000000%40micro.neartothis.com
2013-10-28 18:42:25,296 I _base:233 12538:140011638699776] Sending 404 response 
to 10.232.83.39 for GET 
http://hs.micro.neartothis.com:8888/impu/sip%3A7770000000%40micro.neartothis.com?private_id=7770000000%40micro.neartothis.com
2013-10-28 18:42:25,352 I _base:221 12538:140011638699776] Received request 
from 10.232.83.39 - GET 
http://hs.micro.neartothis.com:8888/impi/7770000000%40micro.neartothis.com/digest?public_id=sip%3A7770000000%40micro.neartothis.com
2013-10-28 18:42:25,355 I _base:233 12538:140011638699776] Sending 200 response 
to 10.232.83.39 for GET 
http://hs.micro.neartothis.com:8888/impi/7770000000%40micro.neartothis.com/digest?public_id=sip%3A7770000000%40micro.neartothis.com

sprout --

28-10-2013 18:42:14.252 Error registrar.cpp:437: Rejecting register request 
with invalid public/private identity
28-10-2013 18:42:14.261 Error httpconnection.cpp:307: GET 
http://hs.micro.neartothis.com:8888/impu/sip%3A7770000000%40micro.neartothis.com?private_id=7770000000%40micro.neartothis.com
 failed at server 10.235.25.146 : HTTP response code said error (22 404) : fatal
28-10-2013 18:42:14.261 Error httpconnection.cpp:344: cURL failure with cURL 
error code 22 (see man 3 libcurl-errors) and HTTP error code 404
28-10-2013 18:42:14.261 Error hssconnection.cpp:201: Could not get subscriber 
data from HSS


-John

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to