[Asterisk-code-review] res rtp: Fix regression when IPv6 is not available. (asterisk[master])

Guido Falsi asteriskteam at digium.com
Wed Nov 30 04:53:28 CST 2016


Hello Richard Mudgett, Anonymous Coward #1000019, Joshua Colp,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/4487

to look at the new patch set (#5).

Change subject: res_rtp: Fix regression when IPv6 is not available.
......................................................................

res_rtp: Fix regression when IPv6 is not available.

The latest Release candidate fails to create RTP streams when IPv6
is not available. Due to the changes made in September the ast_sockaddr
structure passed around to create these streams is always of AF_INET6
type, causing failure when used for IPv4. The patch uses pjsip calls
to detect IPv6 availability at module load and adapts the ast_sockaddr
struct accordingly.

ASTERISK-26617

Change-Id: I627a4e91795e821111e1cda523f083a40d0e0c3e
---
M res/res_pjsip_sdp_rtp.c
M res/res_pjsip_t38.c
2 files changed, 38 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/87/4487/5
-- 
To view, visit https://gerrit.asterisk.org/4487
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I627a4e91795e821111e1cda523f083a40d0e0c3e
Gerrit-PatchSet: 5
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Guido Falsi <madpilot at freebsd.org>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Guido Falsi <madpilot at freebsd.org>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list