[asterisk-bugs] [JIRA] (ASTERISK-26617) res_rtp_asterisk: Can't bind on systems without IPv6

Ludovic Gasc (Eyepea) (JIRA) noreply at issues.asterisk.org
Sat Mar 18 16:43:12 CDT 2017


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

Ludovic Gasc (Eyepea) commented on ASTERISK-26617:
--------------------------------------------------

This bug is fixed in 13.14.0, but it's still present in 13.13-cert2.

Is it planned to backport this patch in 13.13-cert3 ?

> res_rtp_asterisk: Can't bind on systems without IPv6
> ----------------------------------------------------
>
>                 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
>      Target Release: 13.14.0, 14.3.0
>
>
> 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