summaryrefslogtreecommitdiff
path: root/main/sdp_options.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2017-05-05 14:30:40 -0500
committerRichard Mudgett <rmudgett@digium.com>2017-05-09 12:57:57 -0500
commit16785c0908791b0bd583599ea9ce0ad5cb479f81 (patch)
tree6e581b79b8219ed53888e3f20cf677ec1a898778 /main/sdp_options.c
parent3dae4279be4f61f16473d3e5ea9d45d1f8462eda (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_options.c')
-rw-r--r--main/sdp_options.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/sdp_options.c b/main/sdp_options.c
index 9b57e189f..ab8fb2973 100644
--- a/main/sdp_options.c
+++ b/main/sdp_options.c
@@ -55,12 +55,11 @@ type ast_sdp_options_get_##field(const struct ast_sdp_options *options) \
} \
DEFINE_STRINGFIELD_GETTERS_SETTERS_FOR(media_address, 0);
+DEFINE_STRINGFIELD_GETTERS_SETTERS_FOR(interface_address, 0);
DEFINE_STRINGFIELD_GETTERS_SETTERS_FOR(sdpowner, 0);
DEFINE_STRINGFIELD_GETTERS_SETTERS_FOR(sdpsession, 0);
DEFINE_STRINGFIELD_GETTERS_SETTERS_FOR(rtp_engine, 0);
-DEFINE_GETTERS_SETTERS_FOR(unsigned int, bind_rtp_to_media_address);
-DEFINE_GETTERS_SETTERS_FOR(unsigned int, bind_udptl_to_media_address);
DEFINE_GETTERS_SETTERS_FOR(unsigned int, rtp_symmetric);
DEFINE_GETTERS_SETTERS_FOR(unsigned int, udptl_symmetric);
DEFINE_GETTERS_SETTERS_FOR(enum ast_t38_ec_modes, udptl_error_correction);