> > 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? > 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. Since the offer needs to be rejected i think the best way forward is to send a 488 with m-line port being irrelevant. Thanks Dale, Harsha _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
