[asterisk-bugs] [JIRA] (ASTERISK-26617) RTP regression in 13.13.0-RC1

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Nov 22 11:00:10 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233857#comment-233857 ] 

Kevin Harwell commented on ASTERISK-26617:
------------------------------------------

Under Linux we're able to bind to both using this method, even without IPv6 being configured. This doesn't appear to work under FreeBSD as you've discovered. Since FreeBSD is not a core supported platform we're not going to have it block this current release but it has been put into the queue to get looked at. If you'd like to look at it yourself it would be possible to have it do a runtime check for binding, with a fallback to IPv4 only. This should work perfectly fine as you'd have no IPv6 PJSIP transports. Finally if there's any additional patches you are using that you have written and can be contributed back they would also be welcome so in the future the number of patches can be reduced on your side.

> RTP regression in 13.13.0-RC1
> -----------------------------
>
>                 Key: ASTERISK-26617
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26617
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 13.13.0
>         Environment: FreeBSD 11.0-RELEASE, no IPV6 configured on machine.
>            Reporter: Guido Falsi
>
> While everything worked fine with Asterisk 13.12.2 on this machines.
> Upgrading to 13.13.0-RC for routine testing, with all other factors the same, causes calls to be rejected with the following errors output to the console:
> [Nov 22 10:49:26] WARNING[101105]: res_rtp_asterisk.c:2400 int
> create_new_socket(const char *, int): Unable to allocate RTP socket:
> Protocol not supported
> [Nov 22 10:49:26] WARNING[101105]: res_rtp_asterisk.c:2665 int
> ast_rtp_new(struct ast_rtp_instance *, struct ast_sched_context *,
> struct ast_sockaddr *, void *): Failed to create a new socket for RTP
> instance '0x805647c30'
> [Nov 22 10:49:26] ERROR[101105]: res_pjsip_sdp_rtp.c:184 int
> create_rtp(struct ast_sip_session *, struct ast_sip_session_media *):
> Unable to create RTP instance using RTP engine 'asterisk'
> Some further testing indicates asterisk is trying to open an INET6 socket, while it should be using INET4 on this machines, which has no INET6 configured. This is just a first finding, I'm still investigating more.
> At a first look the problem looks related to this commit:
> https://github.com/asterisk/asterisk/commit/bb982480d815fb0d5059fbfa86682cd30846556c



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list