Bug#607876: asterisk: segfault with IAX2-IAX2-DAHDI and use of jitterbuffer

Andreas Bauer ab at voltage.de
Thu Dec 23 13:02:46 UTC 2010


Subject: asterisk: segfault with IAX2-IAX2-DAHDI and use of jitterbuffer
Package: asterisk
Version: 1:1.6.2.9-2
Severity: important
Tags: upstream

*** Please type your report below this line ***

A softphone (Zoiper Linux) connects to this asterisk box via IAX2

The call is forwarded via Dial() to another asterisk box via IAX2

A jitterbuffer with the following setup is used on the inbound (softphone) channel

jitterbuffer=yes
forcejitterbuffer=yes
maxjitterbuffer=1500
maxjitterinterps=10
resyncthreshold=1000
jittertargetextra=1500

The remote asterisk box does further route the call via DAHDI to the POTS
(seems not relevant, bug happens also when echoTest() is used remote)

With this setup Asterisk will produce a repeatable crash after 1-2s
of audio, sometimes 3-6s, probably depending on actual jitter at the time.

Changing "forcejitterbuffer" to "no" will eliminate the problem, but also no
jitterbuffering will take place.

The inbound connection is via high latency, high jitter, low bandwith
connection (latency between 700ms and 1100ms).

Jitterbuffer in this case makes the difference between usable although
lagged audio and unusable audio.

This is my first bugreport, hope it is helpful. I have worked around this
problem at the moment by switching to IAX2-SIP-DAHDI routing which works but
is undesirable for other reasons.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 2.6.36
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk depends on:
ii  adduser                3.112             add and remove users and groups  
ii  asterisk-config        1:1.6.2.9-2       Configuration files for Asterisk  
ii  asterisk-sounds-main [ 1:1.6.2.9-2       Core Sound files for Asterisk (Eng
ii  dahdi                  1:2.2.1.1-1       utilities for using the DAHDI kern
ii  libasound2             1.0.23-2          shared library for ALSA applicatio
ii  libc-client2007e       8:2007e~dfsg-3.1  c-client library for mail protocol
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  libcap2                1:2.19-3          support for getting/setting POSIX.
ii  libcurl3               7.21.0-1          Multi-protocol file transfer libra
ii  libgcc1                1:4.4.5-4         GCC support library
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines 
ii  libgmime-2.0-2a        2.2.25-2          MIME library
ii  libgsm1                1.0.13-3          Shared libraries for GSM speech co
ii  libiksemel3            1.2-4             C library for the Jabber IM platfo
ii  libjack-jackd2-0 [libj 1.9.5~dfsg-19     JACK Audio Connection Kit (librari
ii  libldap-2.4-2          2.4.23-6          OpenLDAP libraries
ii  liblua5.1-0            5.1.4-5           Simple, extensible, embeddable pro
ii  libncurses5            5.7+20100313-4    shared libraries for terminal hand
ii  libnewt0.52            0.52.11-1         Not Erik's Windowing Toolkit - tex
ii  libogg0                1.2.0~dfsg-1      Ogg bitstream library
ii  libopenais3            1.1.2-2           Standards-based cluster framework 
ii  libopenr2-3            1.3.0-2           MFC/R2 (telephony) call setup libr
ii  libpopt0               1.16-1            lib for parsing cmdline parameters
ii  libpq5                 8.4.5-0squeeze1   PostgreSQL C client library
ii  libpri1.4              1.4.11.3-1        Primary Rate ISDN specification li
ii  libradiusclient-ng2    0.5.6-1           Enhanced RADIUS client library
ii  libresample1           0.1.3-3           real-time audio resampling library
ii  libsdl1.2debian        1.2.14-6.1        Simple DirectMedia Layer
ii  libcurl3               7.21.0-1          Multi-protocol file transfer libra
ii  libgcc1                1:4.4.5-4         GCC support library
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgmime-2.0-2a        2.2.25-2          MIME library
ii  libgsm1                1.0.13-3          Shared libraries for GSM speech co
ii  libiksemel3            1.2-4             C library for the Jabber IM platfo
ii  libjack-jackd2-0 [libj 1.9.5~dfsg-19     JACK Audio Connection Kit (librari
ii  libldap-2.4-2          2.4.23-6          OpenLDAP libraries
ii  liblua5.1-0            5.1.4-5           Simple, extensible, embeddable pro
ii  libncurses5            5.7+20100313-4    shared libraries for terminal hand
ii  libnewt0.52            0.52.11-1         Not Erik's Windowing Toolkit - tex
ii  libogg0                1.2.0~dfsg-1      Ogg bitstream library
ii  libopenais3            1.1.2-2           Standards-based cluster framework
ii  libopenr2-3            1.3.0-2           MFC/R2 (telephony) call setup libr
ii  libpopt0               1.16-1            lib for parsing cmdline parameters
ii  libpq5                 8.4.5-0squeeze1   PostgreSQL C client library
ii  libpri1.4              1.4.11.3-1        Primary Rate ISDN specification li
ii  libradiusclient-ng2    0.5.6-1           Enhanced RADIUS client library
ii  libresample1           0.1.3-3           real-time audio resampling library
ii  libsdl1.2debian        1.2.14-6.1        Simple DirectMedia Layer
ii  libsnmp15              5.4.3~dfsg-1      SNMP (Simple Network Management Pr
ii  libspandsp2            0.0.6~pre12-1     Telephony signal processing librar
ii  libspeex1              1.2~rc1-1         The Speex codec runtime library
ii  libspeexdsp1           1.2~rc1-1         The Speex extended runtime library
ii  libsqlite0             2.8.17-6          SQLite shared library
ii  libss7-1               1.0.2-1           Signalling System 7 (ss7) library 
ii  libssl0.9.8            0.9.8o-2          SSL shared libraries
ii  libstdc++6             4.4.5-4           The GNU Standard C++ Library v3
ii  libsybdb5              0.82-7            libraries for connecting to MS SQL
ii  libtiff4               3.9.4-5           Tag Image File Format (TIFF) libra
ii  libtonezone2.0         1:2.2.1.1-1       tonezone library (runtime)
ii  libvorbis0a            1.3.1-1           The Vorbis General Audio Compressi
ii  libvorbisenc2          1.3.1-1           The Vorbis General Audio Compressi
ii  libvpb0                4.2.49-1          Voicetronix telephony hardware use
ii  libx11-6               2:1.3.3-3         X11 client-side library
ii  libxml2                2.7.7.dfsg-4      GNOME XML library
ii  unixodbc               2.2.14p2-1        ODBC tools libraries
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime 

Versions of packages asterisk recommends:
ii  sox                           14.3.1-1   Swiss army knife of sound processi

Versions of packages asterisk suggests:
ii  asterisk-dev                 1:1.6.2.9-2 Development files for Asterisk
ii  asterisk-doc                 1:1.6.2.9-2 Source code documentation for Aste
ii  asterisk-h323                1:1.6.2.9-2 H.323 protocol support for Asteris

-- Configuration Files:
/etc/init.d/asterisk changed [not included]

-- no debconf information





More information about the Pkg-voip-maintainers mailing list