mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user