diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 3297bd9240..f18375395e 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -208,8 +208,15 @@ - - IP used for External Media handling + + IP address used in SDP for media handling + + At the time of SDP creation, the IP address defined here will be used as + the media address for individual streams in the SDP. + + Be aware that the external_media_address option, set in Transport + configuration, can also affect the final media address used in the SDP. + Force use of return port @@ -730,7 +737,14 @@ Domain the transport comes from - External Address to use in RTP handling + External IP address to use in RTP handling + + When a request or response is sent out, if the destination of the + message is outside the IP network defined in the option localnet, + and the media address in the SDP is within the localnet network, then the + media address in the SDP will be rewritten to the value defined for + external_media_address. + External address for SIP signalling