Hi Alan,

Thanks for raising this! I agree with your reading of the RFC, and I've raised 
an issue to track fixing this in Project Clearwater at 
https://github.com/Metaswitch/sprout/issues/1434.

Ellie

From: Clearwater [mailto:[email protected]] On 
Behalf Of Kwon, Alan
Sent: 04 May 2016 17:35
To: [email protected]
Subject: [Project Clearwater] SIP Event Notification - resource id

Hi,

I'm sending a SUBSCRIBE to sprout for a registration event and seeing that it's 
using the To-header as the resource Id instead of the Request URI.

According to RFC 3265, Section 3.1.2, the Request URI is used to identify the 
resource for which event notification is desired.
The following is a log from Sprout node:

SUBSCRIBE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 
10.12.92.xxx:8577;branch=z9hG4bKd71ac340-dba6-4a0e-b343-a37bf91859c8
Max-Forwards: 69
P-Asserted-Identity: <sip:10.12.92.xxx:8577>
From: <sip:10.12.92.xxx:8577>;tag=2d41994f-e15b-4c8e-885e-70da99e1cf45
To: <sip:sprout.xxxxx.com>
Call-ID: 4f5b126c-ec89-4d2a-bfa5-7f618d5a5303
CSeq: 1 SUBSCRIBE
Event: reg
Expires: 0
Accept: application/reginfo+xml
Contact: <sip:10.12.92.xxx:8577>
Content-Length: 0
Route: <sip:sprout.xxxxx.com:5054;transport=TCP>

04-05-2016 15:19:31.763 UTC Debug thread_dispatcher.cpp:236: Queuing cloned 
received message 0x7f093c007128 for worker threads
04-05-2016 15:19:31.763 UTC Debug thread_dispatcher.cpp:149: Worker thread 
dequeue message 0x7f093c007128
04-05-2016 15:19:31.763 UTC Debug pjsip: sip_endpoint.c Distributing rdata to 
modules: Request msg SUBSCRIBE/cseq=1 (rdata0x7f093c007128)
04-05-2016 15:19:31.763 UTC Debug acr.cpp:48: Created ACR (0x7f09501e79d0)
04-05-2016 15:19:31.763 UTC Debug subscription.cpp:396: Process SUBSCRIBE for 
public ID sip:sprout.xxxxx.com
04-05-2016 15:19:31.763 UTC Debug subscription.cpp:407: Report SAS start marker 
- trail (d89ab)
04-05-2016 15:19:31.763 UTC Debug hssconnection.cpp:638: Making Homestead 
request for /impu/sip%3Asprout.xxxxx.com/reg-data

Instead of using the Request URI, it's using the To-header as the public ID for 
the subscription. Seems to be a bug. Would appreciate your comment.

Thank you,





[cid:[email protected]]<http://www.interoptechnologies.com>
[cid:[email protected]]<http://www.facebook.com/pages/Interop-Technologies/166558410115178>[cid:[email protected]]<https://twitter.com/#%21/InteropTechnolo>[cid:[email protected]]<http://www.linkedin.com/company/interop-technologies>[cid:[email protected]]<http://www.youtube.com/user/InteropTechnologies/>

Alan Kwon
Senior Software Engineer



T: +1 972-753-1865 (Texas)   F: +1 239-425-6845

Confidentiality Notice: The information in this e-mail and in any attachment 
may contain information which is legally privileged. It is intended only for 
the attention and use of the named recipient. If you are not the intended 
recipient, you are not authorized to retain, disclose, copy or distribute the 
message and/or any of its attachments. If you received this e-mail in error, 
please notify me and delete this message. Thank you.





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

Reply via email to