Hi,

>An offer can have 0 or more media streams and an answer must
>have the same number.  (RFC3264)
> 
>A media stream is rejected by using a 0 port value in the
>answer.  (RFC3264)
>       m=audio 0 RTP/AVP 99
> 
>A UA should return an answer with no media if it gets an
>offer with no media.  (3PCC)
> 
> 
>So, if a UA receives an INVITE with an offer with media streams,
>but can support none of them (no codecs in common), should it
>return a 200 with an answer containing rejected streams or a
>4XX?  (488?)
> 
>Is the answer the same for an initial INVITE and a re-INVITE?

I have not seen an UAS that would send 200 with all ports set to zero for an 
initial INVITE, but I guess it's not forbidden...

For re-INVITE, I think it's important to remember:

- If the UAS sends a 4xx reply, the previously exchanged SDP settings are still 
valid.
- If the UAS sends a 200 reply, with the ports set to zero, the new SDP 
settings are used, which means there are no active streams. In other words, the 
offer as such is not rejected, but the streams are "terminated".

Regards,

Christer
Ericsson

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

Reply via email to