In most circumstances, there is no need for the gateway to understand the 
response body.  So it should pass the body through without modification.

However, if the gateway requires to understand the response body, it should add 
an Accept header to all outgoing requests that restrict the responses to use 
content-types that it does understand.

If the UAS sends a response containing a body that the gateway does not 
understand, and there is a security requirement that the gateway must 
understand the body, probably the best course of action is for the gateway to 
remove the body and pass the rest of the response toward the UAC.  In almost 
all cases, the sender of the request will process the response correctly (as 
there are no defined uses for non-SDP bodies for failure responses).

Dale

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

Reply via email to