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:BD613FFA-B1A1-47A7-A634-3B9534A9B9B2] <http://www.interoptechnologies.com> [cid:8DA8A766-7184-4836-94CA-7D87F8F8A184]<http://www.facebook.com/pages/Interop-Technologies/166558410115178>[cid:240F4651-B35B-49D3-952C-48B383A10E26]<https://twitter.com/#%21/InteropTechnolo>[cid:458D461C-B8C5-4A16-841E-CD3D25A77D17]<http://www.linkedin.com/company/interop-technologies>[cid:BD406F58-EB9F-4D50-AAB2-60F34FE9C42A]<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. [cid:72F707C3-BB88-4038-B371-80F8DB406B30]
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
