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

George Joseph (JIRA) noreply at issues.asterisk.org
Mon Feb 6 10:34:26 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-26617:
-------------------------------------

    Target Release Version/s: 13.14.0

> 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
>
>
> 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