man2015 / sipservlets

Automatically exported from code.google.com/p/sipservlets
0 stars 0 forks source link

"Event header is not parameterable !" #260

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. SIP Servlet application that receives SUBSCRIBE requests.
2. Get the "Event" header (RFC 3265) using 
SipServletMessage.getParameterableHeader().
3.

What is the expected output? What do you see instead?
Expected: Parameterable object
Got: "javax.servlet.sip.ServletParseException: Event header is not 
parameterable !"

What version of the product are you using? On what operating system?
mss-3.0.0-SNAPSHOT-apache-tomcat-7.0.50-1402131520; Ubuntu 10.04.4 LTS

Please provide any additional information below.

For the method SipServletMessage.getParameterableHeader(String name), 
the SIP Servlet 1.1 javadoc states that:
" This method can be used with headers which are 
  defined to contain one or more entries matching 
  field-value *(;parameter-name=parameter-value) 
  as defined in RFC 3261. This includes, for example, 
  Event and Via."

Original issue reported on code.google.com by nmcam...@gmail.com on 19 Mar 2014 at 3:00

GoogleCodeExporter commented 9 years ago
Fix for the issue + non regression test in r4c556ba

Original comment by jean.deruelle on 17 Apr 2014 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by jean.der...@telestax.com on 25 Aug 2014 at 10:52