Thanks Paul for your quick response on a Saturday. I really appreciate.
I am wondering how to implement below without introducing another pair of
SIP request/response, if you could suggest that would be great with SIP
compliance -

1. My server sending some configurations to client using SIP MESSAGE
2. Client may apply some of them, so client should respond back with the
config that have been applied.

Would you suggest to include a proprietary SIP header containing the
information to be conveyed to server ? What could be the max data a header
may contain ?

Regards
Abhishek

On Sat, Apr 13, 2019 at 3:08 PM Paul Kyzivat <pkyzi...@alum.mit.edu> wrote:

> On 4/13/19 3:58 PM, abhishek jain wrote:
> >>
> >> Hi,
> >> Can a Sip Response (to a Non-Dialog creating SIP Request) contain a
> body ?
> >> I would appreciate a quick response.
>
> Sometimes. The rules vary depending on the type of message.
>
> But not for MESSAGE. RFC3480 (section 7) says:
>
>     A 2xx response to a MESSAGE request MUST NOT contain a body.
>
>         Thanks,
>         Paul
>
>
> >> For example -
> >> *Server to **Client **:*
> >> MESSAGE <server-uri>
> >> :
> >>
> >> Content-Type: application/chat-info+xml
> >>
> >> Content-Length: ...
> >>
> >> <?xml version="1.0"?>
> >>     <chat-info>
> >>
> >>      :
> >>
> >>     </chat-info>
> >>
> >>
> >> *Client to Server:*
> >>
> >> SIP/2.0 200 OK
> >>
> >> :
> >>
> >> Content-Type: application/chat-info+xml
> >>
> >> Content-Length: ...
> >>
> >> <?xml version="1.0"?>
> >>     <chat-info>
> >>
> >>      :
> >>
> >>     </chat-info>
> >>
> >> Regards
> >>
> >> Abhishek
> >>
> >>
> >>
> >>
> > _______________________________________________
> > Sip-implementors mailing list
> > Sip-implementors@lists.cs.columbia.edu
> > https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
> >
>
> _______________________________________________
> Sip-implementors mailing list
> Sip-implementors@lists.cs.columbia.edu
> https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to