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

Grzegorz Ojrzanowski grzegorz+bugsdebian at catalyst.net.nz
Tue Jan 31 22:35:22 UTC 2017


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++6                                    6.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.1                                    1.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   <none>
pn  asterisk-dev     <none>
pn  asterisk-doc     <none>
pn  asterisk-ooh323  <none>
pn  asterisk-opus    <none>
pn  asterisk-vpb     <none>

-- no debconf information



More information about the Pkg-voip-maintainers mailing list