No, then the user would look for the codec mismatch in the SDP.

We need to use a response which helps the user find the problem.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Anuradha Gupta
Sent: 13 October 2008 08:22
To: Rohit Aggarwal; [email protected]
Subject: Re: [Sip-implementors] Reject Response code for reinvite
withmissingcontent type header

400 bad request should be sent for syntactical errors, in the received
PDU there is no syntactical error.
Can "488 not acceptable here" be sent with warning header?

Regards

Anuradha Gupta

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Rohit Aggarwal
Sent: Monday, October 13, 2008 12:48 PM
To: [email protected]
Subject: Re: [Sip-implementors] Reject Response code for reinvite
withmissingcontent type header

How about 400 Bad Request with an appropriate reason-phrase like
"Missing Content-Type header field"?

Regards
Rohit Aggarwal

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Anuradha Gupta
Sent: Monday, October 13, 2008 12:45 PM
To: [email protected]
Subject: [Sip-implementors] Reject Response code for reinvite with
missingcontent type header

Hi

If reINVITE is received with SDP body but the content -type header is
missing then it should be rejected with what response code.

The sample reINVITE is:

INVITE sip:[EMAIL PROTECTED]:3819 SIP/2.0
To: 3275<sip:[EMAIL PROTECTED]>;tag=AricentUA_816059597-27872
From: 444<sip:[EMAIL PROTECTED]>;tag=abc
Call-ID: 5486
CSeq: 3 INVITE
Via: SIP/2.0/UDP 10.203.153.33:3010;branch=z9hG4bK6293480000-18296
Allow: INVITE,BYE,CANCEL,ACK,PRACK,OPTIONS
Contact: <sip:[EMAIL PROTECTED]:3010>
Session-Expires: 300;refresher=uac
Min-SE: 300
Content-Length: 157
Supported: timer, 100rel
v=0
o=EAST 12345 787 IN IP4 10.203.153.33
s=session
c=IN IP4 10.203.153.33
t=0 0
m=audio 5600 RTP/AVP 8



Regards



Anuradha Gupta

Technical Leader




________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended
solely for the use of the individual to whom it is addressed. It may
contain privileged or confidential information and should not be
circulated or used for any purpose other than for what it is intended.
If you have received this message in error,please notify the originator
immediately. If you are not the intended recipient, you are notified
that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. Aricent accepts no
responsibility for loss or damage arising from the use of the
information transmitted by this email including damage from virus."
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

"DISCLAIMER: This message is proprietary to Aricent and is intended
solely for the use of the individual to whom it is addressed. It may
contain privileged or confidential information and should not be
circulated or used for any purpose other than for what it is intended.
If you have received this message in error,please notify the originator
immediately. If you are not the intended recipient, you are notified
that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. Aricent accepts no
responsibility for loss or damage arising from the use of the
information transmitted by this email including damage from virus."

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

"DISCLAIMER: This message is proprietary to Aricent and is intended
solely for the use of the individual to whom it is addressed. It may
contain privileged or confidential information and should not be
circulated or used for any purpose other than for what it is intended.
If you have received this message in error,please notify the originator
immediately. If you are not the intended recipient, you are notified
that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. Aricent accepts no
responsibility for loss or damage arising from the use of the
information transmitted by this email including damage from virus."

_______________________________________________
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