From: "Harsha. R" <[EMAIL PROTECTED]> > I have a call set-up where-in post-answer codec modification offer > needs to be rejected and the call needs to stay up. However, i have > some doubts as to how this can be achieved. > > You can reject the re-INVITE at the SIP level by responding with some > 4xx code. In this case, the state of the dialog and its media streams > are not changed by the re-INVITE.
Looks like since the 488 is being handled at the sip layer itself, the contents of sdp description will not be looked into, in which case, i dont have to bother about the exact value of port in the m line of sdp. Even the sdp may be omitted in the 488, if we are not following a strict FSM? Yes, since the transaction received a failure response, and thus has no effect on the dialog state, there is no need to put SDP in the 488. > You can accept the re-INVITE but reject or restrict one or more media > streams in the answer. This causes the dialog's media to be modified > based on the offer and answer. My call has a single media and hence a single m-line. By accepting RE-INVITE, i think the response is 200 OK and in that response if i set the m-line port to zero i think call is as good as taken down. No, the dialog and the call remain, though no media is passing at this time. (And this is not as strange as it sounds -- consider a call that is on hold.) Dale _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
