diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-02-24 18:40:15 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-02-24 18:40:15 -0600 |
commit | ae8dbcf8b89a7002c58e63b4e9087872a6847a49 (patch) | |
tree | 797602d20c51d7cc8eb770d8f33cf5ccdca7b292 | |
parent | d6b2c1d98ef62eb3c69d0b5ec65423a0438310d5 (diff) | |
parent | 886ee094711c8b81f50ec01e8dab882d54dcd633 (diff) |
Merge "chan_sip.c: Suppress T.38 SDP c= line if addr is the same."
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index aaf0b6d51..e1c391efc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13447,7 +13447,7 @@ static enum sip_result add_sdp(struct sip_request *resp, struct sip_pvt *p, int ast_str_append(&m_modem, 0, "m=image %d udptl t38\r\n", ast_sockaddr_port(&udptldest)); - if (ast_sockaddr_cmp(&udptldest, &dest)) { + if (ast_sockaddr_cmp_addr(&udptldest, &dest)) { ast_str_append(&m_modem, 0, "c=IN %s %s\r\n", (ast_sockaddr_is_ipv6(&udptldest) && !ast_sockaddr_is_ipv4_mapped(&udptldest)) ? "IP6" : "IP4", ast_sockaddr_stringify_addr_remote(&udptldest)); |