On Fri, Oct 31, 2008 at 11:05 AM, karthik karthik <[EMAIL PROTECTED]> wrote: > Hello All, > > Please let me know the behavior for the below cases. > I believe 'm=' line is not mandatory according to rfc 4566 > Still It was decided to release the session in our application. > > case1: > Invite is received with SDP, and has no 'm=' line. > In case we need to reject such an Invite, > what is the most suitable response code? > Could we use 415 unsupported media type.? > Yes, to me it is appropriate. 415 response with Warning header.
I would personally not reject SDP offer with no "m" line. > case2: > 18x/200 recieved with SDP, and has no 'm=' line. > for 18x, send CANCEL > for 200, send ACK and BYE. > Is this OK? > Here I presume, you have got no "m" line in answer which you would not have been expecting. You may terminate the call in this case. You may add Reason header in CANCEL and BYE in this case. > Thanks > Karthik > _______________________________________________ > 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
