Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 1010 by alexvinn: Unable to set flag parameter to parameterable header
http://code.google.com/p/mobicents/issues/detail?id=1010 Steps to reproduce: 1. Create OK response on incoming INVITE: request(request.createResponse(SipServletResponse.SC_OK)); 2. Add flag parameter to Contact header of newly created response: Parameterable contact = response.getParameterableHeader("Contact"); contact.setParameter("myFlagParam", ""); Expected: Contact: <sip:192.168.0.55:5070;transport=udp>;myFlagParam Actual: Contact: <sip:192.168.0.55:5070;transport=udp>;myFlagParam= It seems, method org.mobicents.servlet.sip.address.ParameterableImpl.setParameter(String name, String value) should allow setting parameters with null value, because it is allowed by gov.nist.javax.sip.header.Contact.setParameter(String name, String value). -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
