[Home]

Summary:ASTERISK-27218: res_pjsip_sdp_rtp: Can't send packets to IPv4 address on IPv6 socket on some OSes
Reporter:Paul Guyot (pguyot)Labels:
Date Opened:2017-08-25 03:34:22Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Resources/res_pjsip_sdp_rtp
Versions:13.17.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:FreeBSD and any OS where an IPv6 socket cannot reach IPv4 hosts by default.Attachments:
Description:This issue is similar to ASTERISK-16545 but with pjsip.

When creating an RTP socket, create_rtp function in res_pjsip_sdp_rtp.c uses to determine the IPv4/IPv6 family, by default, address_rtp, which is an IPv6 socket if IPv6 is enabled on the host.

Yet, the endpoint might be an IPv4 host and therefore not reachable with IPv6.

Additionally, Asterisk does not log that send_to failed.
Comments:By: Asterisk Team (asteriskteam) 2017-08-25 03:34:28.129-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2017-08-29 17:26:33.639-0500

[~pguyot] , I've opened the issue. Please note that Asterisk issues for non-Linux operating systems are handled under "extended support", which means that the broader community supports the issue. The quickest route to resolution is usually to submit a patch yourself. Otherwise you are waiting to see if someone else is interested in taking on the problem.

If there is any additional debug that would help someone in resolving the issue, please attach it when you are able. Thanks.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States