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