No, "unsupported media" generally means that the message content is
not understood by the request recipient.

Here are some relevant RFC3261 sections:

1.   If a 415 (Unsupported Media Type) response is received (Section
   21.4.13), the request contained media types not supported by the UAS.
   The UAC SHOULD retry sending the request, this time only using
   content with types listed in the Accept header field in the response,
   with encodings listed in the Accept-Encoding header field in the
   response, and with languages listed in the Accept-Language in the
   response.

2.   Assuming the UAS understands any extensions required by the client,
   the UAS examines the body of the message, and the header fields that
   describe it.  If there are any bodies whose type (indicated by the
   Content-Type), language (indicated by the Content-Language) or
   encoding (indicated by the Content-Encoding) are not understood, and
   that body part is not optional (as indicated by the Content-
   Disposition header field), the UAS MUST reject the request with a 415
   (Unsupported Media Type) response. 

3.
21.4.13 415 Unsupported Media Type

   The server is refusing to service the request because the message
   body of the request is in a format not supported by the server for
   the requested method.  The server MUST return a list of acceptable
   formats using the Accept, Accept-Encoding, or Accept-Language header
   field, depending on the specific problem with the content.  UAC
   processing of this response is described in Section 8.1.3.5.


>>When UAC is request for some codec in the INVITE and none of them is
>>supported by UAS then UAC will get "415" response. 

In the case of unsupported codecs, a "488 Not Acceptable Here" should
be used with one of the following "Warnings":

      304 Media type not available: One or more media types contained in
          the session description are not available.

      305 Incompatible media format: One or more media formats contained
          in the session description are not available.


Regards,

Attila



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sarkar,
Uttam
Sent: 12 April 2007 16:16
To: Sambit Pooja; [EMAIL PROTECTED]
Subject: Re: [Sip-implementors] 415 Unsupported media


When UAC is request for some codec in the INVITE and none of them is
supported by UAS then UAC will get "415" response. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sambit
Pooja
Sent: Thursday, April 12, 2007 11:08 AM
To: [EMAIL PROTECTED]
Subject: [Sip-implementors] 415 Unsupported media

In which scenarios switch can send 415 Unsupported media


  Thanx in advance
   Sam

       
---------------------------------
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
_______________________________________________
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

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to