Steve

We've been doing some internal refactoring, which is where Sproutlets come in.  
They shouldn't need any reconfiguration, but we did manage to introduce a bug 
in handling Route headers containing IP addresses rather than domain names.  We 
should have a fix for this in the next release, but in the meantime you can 
work around it by changing your P-CSCF configuration to put domain names in the 
Route header rather than IP addresses.

Mike

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Steve 
Yeoman
Sent: 04 September 2014 03:14
To: [email protected]
Subject: [Clearwater] Sproutlets

Hi,

I have just upgraded my ec2 Clearwater to Mass Effect. Registrations have 
stopped working.

This is an excerpt from the Sprout log:

03-09-2014 23:21:06.329 UTC Verbose stack.cpp:233: RX 783 bytes Request msg
REGISTER/cseq=20 (rdata0x7f8124000bd8) from TCP 172.31.22.55:11656:
--start msg--

REGISTER sip:example.com SIP/2.0^M
Via: SIP/2.0/TCP 172.31.22.55:5054
;branch=z9hG4bK+c46ab55e66601c5473b9910da175da961+sip+1+a64de9f3^M
From: <sip:[email protected]>;tag=172.31.22.55+1+90321d14+cb3c281^M
Content-Length: 0^M
Require: Path^M
Path: <sip:172.31.22.55:5054;transport=tcp;lr;ob>^M
P-Charging-Vector: icid-value=8315d261ed8b844834f124cb35199db1^M
Supported: replaces, outbound^M
To: <sip:[email protected]>^M
CSeq: 20 REGISTER^M
Call-ID: [email protected]^M
Max-Forwards: 69^M
User-Agent: Linphone/3.7.0 (belle-sip/1.3.2)^M
P-Visited-Network-ID: example.com^M
Contact: <sip:[email protected]:50795
;transport=tcp>;Expires=3600;+sip.instance="<urn:uuid:0de30244-90d4-4359-8e80-155297aa6b58>"^M
Route: <sip:172.31.45.178:5052;lr>^M
^M

--end msg--
03-09-2014 23:21:06.329 UTC Debug stack.cpp:457: Queuing cloned received 
message 0x7f8124005d18 for worker threads
03-09-2014 23:21:06.329 UTC Debug statistic.cpp:103: Send new value for 
statistic incoming_requests, size 1
03-09-2014 23:21:06.329 UTC Debug statistic.cpp:103: Send new value for 
statistic queue_size, size 5
03-09-2014 23:21:06.329 UTC Debug zmq_lvc.cpp:167: Update to incoming_requests 
statistic
03-09-2014 23:21:06.329 UTC Debug zmq_lvc.cpp:250: Clearing message cache for 
0x7f817c02a170
03-09-2014 23:21:06.329 UTC Debug stack.cpp:196: Worker thread dequeue message 
0x7f8124005d18
03-09-2014 23:21:06.329 UTC Debug zmq_lvc.cpp:167: Update to queue_size 
statistic
03-09-2014 23:21:06.329 UTC Debug zmq_lvc.cpp:250: Clearing message cache for 
0x7f817c0334b0
03-09-2014 23:21:06.329 UTC Debug pjsip: sip_endpoint.c Distributing rdata to 
modules: Request msg REGISTER/cseq=20 (rdata0x7f8124005d18)
03-09-2014 23:21:06.329 UTC Debug basicproxy.cpp:89: Process REGISTER request
03-09-2014 23:21:06.329 UTC Verbose sproutletproxy.cpp:477: Sproutlet Proxy 
transaction (0x7f8104000990) created
03-09-2014 23:21:06.329 UTC Debug basicproxy.cpp:1232: Report SAS start marker 
- trail (47)
03-09-2014 23:21:06.329 UTC Debug pjutils.cpp:655: Cloned Request msg
REGISTER/cseq=20 (rdata0x7f8124005d18) to tdta0x7f8104000d60
03-09-2014 23:21:06.329 UTC Debug pjsip: tsx0x7f8104003 Transaction created for 
Request msg REGISTER/cseq=20 (rdata0x7f8124005d18)
03-09-2014 23:21:06.329 UTC Debug pjsip: tsx0x7f8104003 Incoming Request msg 
REGISTER/cseq=20 (rdata0x7f8124005d18) in state Null
03-09-2014 23:21:06.329 UTC Debug pjsip: tsx0x7f8104003 State changed from Null 
to Trying, event=RX_MSG
03-09-2014 23:21:06.329 UTC Debug basicproxy.cpp:214: tsx0x7f81040031e8 - 
tu_on_tsx_state UAS, TSX_STATE RX_MSG state=Trying
03-09-2014 23:21:06.329 UTC Debug pjsip:       endpoint Response msg
408/REGISTER/cseq=20 (tdta0x7f8104003950) created
03-09-2014 23:21:06.329 UTC Debug sproutletproxy.cpp:133: Find target Sproutlet 
for request
03-09-2014 23:21:06.329 UTC Debug sproutletproxy.cpp:145: Found top Route
header: Route: <sip:172.31.45.178:5052;lr>
03-09-2014 23:21:06.329 UTC Debug sproutletproxy.cpp:152: Initial request
03-09-2014 23:21:06.329 UTC Debug sproutletproxy.cpp:202: Look for Sproutlet 
host mapping for 172.31.45.178
03-09-2014 23:21:06.329 UTC Debug sproutletproxy.cpp:181: No Sproutlet found 
using service name or host



As Sprout can't find the Sproutlet it routes the Register back to the I-CSCF in 
an endless loop until the Max Forwards is reached.

I had a look through the docs but I couldn't find any references to Sproutlets. 
What is a Sproutlet?
Do I need to configure the 'Sproutlet host mapping' that Sprout is looking for?
How do I do that?

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

Reply via email to