Bug#853792: res_rtp_asterisk.c: Unable to allocate RTP socket: Address family not supported by protocol

2017-02-18 Thread Grzegorz Ojrzanowski
On Tue, 14 Feb 2017 23:13:17 +0100 Bernhard Schmidt 
wrote:
> Could you please try 13.14.0 from experimental? You might need to enable
> sid to install it (there is yet another ffmpeg version bump that has not
> migrated to stretch yet).
> 
> Please report back. If 13.14.0 works better for you I'll try to get the
> release team's approval for this version (or backport the fix, whatever
> they agree on).

Yes, I can confirm upgrading asterisk from 1:13.13.1~dfsg-4 to
1:13.14.0~dfsg-1~exp1 fixes the issue.

Grzegorz



Bug#853792: res_rtp_asterisk.c: Unable to allocate RTP socket: Address family not supported by protocol

2017-01-31 Thread Grzegorz Ojrzanowski
Package: asterisk
Version: 1:13.13.1~dfsg-2
Severity: important
Tags: upstream

After upgrading asterisk (1:13.12.2~dfsg-2 => 1:13.13.1~dfsg-2) I wasn't
able to make calls anymore, the message displayed by Linphone was
'Not acceptable here' and the following error was logged on asterisk host:

[2017-02-01 08:26:01] WARNING[1600] res_rtp_asterisk.c: Unable to allocate RTP 
socket: Address family not supported by protocol
[2017-02-01 08:26:01] WARNING[1600] res_rtp_asterisk.c: Failed to create a new 
socket for RTP instance '0x7fcea4049f30'
[2017-02-01 08:26:01] ERROR[1600] res_pjsip_sdp_rtp.c: Unable to create RTP 
instance using RTP engine 'asterisk'

Because I have IPv6 disabled (in /etc/defaults/grub using:
GRUB_CMDLINE_LINUX="ipv6.disable=1") this was my first suspect which
google soon confirmed.

A bug was introduced in Asterisk 13.13.0 which was reported in
https://issues.asterisk.org/jira/browse/ASTERISK-26617
and the fix will be included in next (13.13.2) asterisk release.

Until then, IPv6 needs to be enabled or Asterisk version 13.12.x used
instead


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages asterisk depends on:
ii  adduser   3.115
ii  asterisk-config   1:13.13.1~dfsg-2
ii  asterisk-core-sounds-en [asterisk-prompt-en]  1.4.27-1
ii  asterisk-core-sounds-en-gsm   1.4.27-1
ii  asterisk-modules  1:13.13.1~dfsg-2
ii  init-system-helpers   1.47
ii  libbsd0   0.8.3-1
ii  libc6 2.24-8
ii  libcap2   1:2.25-1
ii  libedit2  3.1-20160903-3
ii  libgcc1   1:6.3.0-5
ii  libjansson4   2.9-1
ii  libncurses5   6.0+20161126-1
ii  libpopt0  1.16-10
ii  libsqlite3-0  3.16.2-1
ii  libssl1.1 1.1.0c-2
ii  libstdc++66.3.0-5
ii  libsystemd0   232-14
ii  libtinfo5 6.0+20161126-1
ii  liburiparser1 0.8.4-1
ii  libuuid1  2.29-1
ii  libxml2   2.9.4+dfsg1-2.1
ii  libxslt1.11.1.29-2
ii  lsb-base  9.20161125

Versions of packages asterisk recommends:
ii  asterisk-moh-opsound-gsm 2.03-1
ii  asterisk-voicemail [asterisk-voicemail-storage]  1:13.13.1~dfsg-2
ii  sox  14.4.1-5+b1

Versions of packages asterisk suggests:
pn  asterisk-dahdi   
pn  asterisk-dev 
pn  asterisk-doc 
pn  asterisk-ooh323  
pn  asterisk-opus
pn  asterisk-vpb 

-- no debconf information