Thanks for your email.

You asked why Clearwater is replying with TCP when your UE requested UDP. 
Clearwater's Sprout node puts its identity in the Service-Route header to 
indicate to the P-CSCF (in this case bono) how it should be reached.  As a 
result, the TCP specified here is not how the UE should try to contact 
Clearwater. This follows RFC 3608 (http://www.ietf.org/rfc/rfc3608.txt).

You also asked about the ports. When Bono communicates with your client it uses 
port 5060 (which is Bono's port that's open to the world). Bono then 
communicates internally on different ports to different nodes. Port 5058 is 
Bono's trusted port to Sprout, and port 5054 is Sprout's trusted port. Please 
see https://github.com/Metaswitch/clearwater-docs/wiki/Clearwater-IP-Port-Usage 
for details of the ports used in a Clearwater deployment.

Which SIP client are you using? If the client is interpreting the Service-Route 
header in a non spec compliant way then this could be causing the problems you 
are seeing.

Thanks,

Ellie


From: [email protected] 
[mailto:[email protected]] On Behalf Of Tek Gee
Sent: 12 December 2013 16:10
To: [email protected]
Subject: [Clearwater] SIP client (udp only) not registering with CW

Hi,

Am a newb to Clearwater, Please could someone help me in registering my SIP 
client.
My SIP client only supports udp.

SIP Client (supports udp only)

ClearWater

REGISTER  ---------->

<---------- 401

REGISTER  ---------->

<---------- 200 OK


The 200 OK (pasted below) contains something that my sip client doesn't like 
and it syslogs : All P_CSCF targets tried unsuccessfully., retrying again.

Even though it is communicating on udp only, why is CW replying with tcp? And 
the ports are 5054, 5058 and not 5060?

The CW is hosted on a virtual Box with NAtted ip 10.0.2.15 (port fwding 8060 to 
5060).

SIP/2.0 200 OK
Service-Route: <sip:10.0.2.15:5054;transport=TCP;lr;orig>
Via: SIP/2.0/UDP 
6.4.20.162:5060;rport=5060;received=10.0.2.2;branch=z9hG4bK6dae9fa9987f16218
Call-ID: d8a22fc6f31ff264
From: <sip:[email protected]>;tag=9be8fcdbea
To: <sip:[email protected]>;tag=z9hG4bKPj0WRRGAbY5Cm5O9lFyoxdbRbofw-EMn4Z
CSeq: 523366441 REGISTER
Supported: outbound
Contact: 
<sip:[email protected]:5060>;expires=3600;transport=udp;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-088039F7183D>"
Require: outbound
Path: sip:o0ZWTC/[email protected]:5058;transport=TCP;lr;ob
P-Associated-URI: <sip:[email protected]>
Content-Length:  0

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

Reply via email to