From 16785c0908791b0bd583599ea9ce0ad5cb479f81 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Fri, 5 May 2017 14:30:40 -0500 Subject: SDP: Add interface_address to specify our address to use. When we optionally set the interface_address we are forcing the media to go out a specific interface address. This allows us to optionally have the media go out the interface that SIP signalling came in on or if we are configured to have the media always go out a specific address. Change-Id: I160d9fac322a075bd2557b430632544178196189 --- main/sdp_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/sdp_private.h') diff --git a/main/sdp_private.h b/main/sdp_private.h index c90a57485..a0b63df03 100644 --- a/main/sdp_private.h +++ b/main/sdp_private.h @@ -24,8 +24,10 @@ struct ast_sdp_options { AST_DECLARE_STRING_FIELDS( - /*! Optional media address to use in SDP */ + /*! Media address to use in SDP */ AST_STRING_FIELD(media_address); + /*! Optional address of the interface media should use. */ + AST_STRING_FIELD(interface_address); /*! SDP origin username */ AST_STRING_FIELD(sdpowner); /*! SDP session name */ @@ -34,8 +36,6 @@ struct ast_sdp_options { AST_STRING_FIELD(rtp_engine); ); struct { - unsigned int bind_rtp_to_media_address:1; - unsigned int bind_udptl_to_media_address:1; unsigned int rtp_symmetric:1; unsigned int udptl_symmetric:1; unsigned int rtp_ipv6:1; -- cgit v1.2.3