The simple answer to your question is: you can't.
Offers and answers are distinguished contextually, and depend on both
sides having a common understanding. You have set up a situation where
that isn't the case.
What possible significance does Content-Language have wrt SDP, which is
intended to be processed by an automaton based on a standard?
"If it hurts, don't do it!"
Paul
Mohamed Moideen. T.E wrote:
> Hi all,
>
> Scenario is below,
>
> UAC is sending an INVITE with Content-Disposition Header with value
> session and handling parameter 'optional' and with Content-language
> header also.
>
> At UAS, if the language specified in Content-language is not supported
> and also handling parameter of Content-Disposition is 'optional', it
> won't consider the messaged body in INVITE as an offer and it will
> include the initial offer in the first 2xx response.
> If UAS supports the language then it will send the answer in first 2xx
> response.
>
> How UAC will identify whether the message body in 2xx reponse is an
> answer or an initial offer?
> _______________________________________________
> 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