You must discard the message as invalid. As per 3261 you MUST not have any parameter more than once!
Its in 7.3.1 in 3261: Even though an arbitrary number of parameter pairs may be attached to a header field value, any given parameter-name MUST NOT appear more than once. HTH, Sreeram. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Iñaki Baz Castillo Sent: Wednesday, February 18, 2009 3:16 PM To: [email protected] Subject: [Sip-implementors] URI with duplicate parameter name Hi, in case a proxy/UAS receives: INVITE sip:u...@domain;transport=UDP;transport=TCP SIP/2.0 what should it do? a) set transport=UDP b) set transport=TCP c) discard the message as invalid (error 400) Note that, even if c) is the most ellegant choice, it would involve too much work by comparing each pname with others (imagine lots of parameters). PD: The same question for header parameters. Thanks. -- Iñaki Baz Castillo _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
