Status: Accepted
Owner: jean.deruelle
Labels: Type-Defect Priority-Medium Component-JAIN-SIP TelScale-7.0.2.GA
New issue 133 by jean.deruelle: Cannot add multiple reason headers
http://code.google.com/p/jain-sip/issues/detail?id=133
See https://code.google.com/p/sipservlets/issues/detail?id=216
1.Call addHeader to add a Reason header for SIP
2.Call addHeader to add a Reason header for Q.850
3.Send the message
What is the expected output? What do you see instead?
I expect to see a message being sent with both reason headers (as per RFC
3326). Only the first header is present in the outgoing message.
Please provide any additional information below.
The problem is in gov.nist.javax.sip.message.ListMap - it does not include
ReasonList in the table of headers that may contain more than one item
(headerListTable). When addHeader is called in
gov.nist.javax.sip.message.SIPMessage, it calls attachHeader which asks
ListMap if the Reason header may be a list. ListMap returns no and step 2
above silently drops the second header. As the header is not added to the
message, the header is not included when the message is sent.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.