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

Guido Falsi (JIRA) noreply at issues.asterisk.org
Tue Nov 22 11:36:09 CST 2016


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

Guido Falsi edited comment on ASTERISK-26617 at 11/22/16 11:34 AM:
-------------------------------------------------------------------

Thanks for the feedback, I just noticed it.

In the while I made a patch which does what you suggest, checking when actually creating the socket and reallocating the correct structure.

I submitted it as a gerrit review.

This patched code is working fine on my machine, I hope it's acceptable for inclusion on your end.


was (Author: madpilot):
Thanks for the feedback, I just noticed it.

In the while I made a patch which does what you suggest, checking when actually creating the socket and reallocating the correct structure.

This patched code is working fine on my machine, I hope it's acceptable for inclusion on your end.

> 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