diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-05-05 14:30:40 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-05-09 12:57:57 -0500 |
commit | 16785c0908791b0bd583599ea9ce0ad5cb479f81 (patch) | |
tree | 6e581b79b8219ed53888e3f20cf677ec1a898778 /main/sdp_private.h | |
parent | 3dae4279be4f61f16473d3e5ea9d45d1f8462eda (diff) |
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
Diffstat (limited to 'main/sdp_private.h')
-rw-r--r-- | main/sdp_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |