John,

Glad you got this working!

On the sipp point, you might find it useful to refer to our 
clearwater-sip-stress package (part of the sprout repository) - this includes 
https://github.com/Metaswitch/sprout/blob/dev/tests/load/call_load2.xml, which 
is our basic load test script.

Matt

From: John Letourneau [mailto:[email protected]]
Sent: 29 October 2013 12:40
To: Matt Williams
Cc: [email protected]
Subject: Re: [Clearwater] Failing Client Registrations

I had to give up on the Jitsi client. The X-Lite and the Blink both work 
OK...once you fine the magic field to set as authorization id. 8-)

I'm still having trouble with the sipp however, but I have digging to do there 
since I have more involvement with what gets sent from within the scenario.xml 
file.

Thanks again Matt!
-John


On Mon, Oct 28, 2013 at 6:37 PM, Matt Williams 
<[email protected]<mailto:[email protected]>> wrote:
John,

It looks as though the authorization username specified by the SIP phone is 
wrong - it seems to be "6505550608<tel:6505550608>" when it should probably be 
"6505550608<tel:6505550608>@micro.neartothis.com<http://micro.neartothis.com>". 
 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]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of John Letourneau
Sent: 28 October 2013 19:36
To: 
[email protected]<mailto:[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