Hi Alan,

Thanks for notifying us about this! I agree with your analysis. 

The mailing list is a good place to ask general questions and is usually the 
best place to start if you're not sure whether something you're seeing is 
expected or not. However for fairly clear bugs feel free to raise a github 
issue directly. 

Would you be happy to raise an issue in the sprout repository 
(https://github.com/Metaswitch/sprout/issues) to cover the problems you've 
spotted? If not let me know and I can raise it. 

Thanks again,
Alex.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Kwon, Alan
Sent: 23 October 2014 22:07
To: [email protected]
Subject: [Clearwater] Invalid XML in Registration Event Package

Hi,

When I SUBSCRIBE to the registration event package, Sprout is returning the 
following XML in the SIP NOTIFY body:

<?xml version="1.0" encoding="UTF-8"?>
<reginfo xmlns="urn:ietf:params:xml:ns:reginfo" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="0" 
state="partial">  <registration aor="sip:[email protected]" 
id="12335157013393702988" state="active">
  <contact id="<urn:gsma:imei:35513605-240951-6>:1" state="active" 
Event="refreshed">
   <uri>sip:[email protected]:39861;transport=TCP;ob</uri>
  </contact>
 </registration>
</reginfo>

Couple of problems with the XML:

 1.  <contact id> contains data with < >, which is invalid syntax. Should be 
replaced with &lt; and &gt;  2.  In the same <contact id> element, the tag 
Event is capitalized. It should be "event" according to RFC 3680.

BTW, what is the preferred way to report issues? Post it here or directly in 
github?

Thank you,
Alan Kwon
_______________________________________________
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