________________________________________ From: [email protected] [[email protected]] On Behalf Of Attila Sipos [[email protected]]
Strictly, for an error like that, there should be a "404 Bad Request" response but you might decide it is better to treat it as if it is missing: If the Content-Disposition header field is missing, bodies of Content-Type application/sdp imply the disposition "session", while other content types imply "render". In this case, I think I would opt for a 404 response and then inform the UA vendors that their UA is misbehaving. _______________________________________________ I agree with Attila, although beware he typed "404" where he should have typed "400". (404 is "Not Found".) Be careful that your parser will accept all possible future extensions of Content-Disposition as specified in RFC 3261 section 25.1 -- you wouldn't want your device rejecting calls that implemented some future extension. Dale _______________________________________________ Sip mailing list https://www.ietf.org/mailman/listinfo/sip This list is essentially closed and only used for finishing old business. Use [email protected] for questions on how to develop a SIP implementation. Use [email protected] for new developments on the application of sip. Use [email protected] for issues related to maintenance of the core SIP specifications.
