Bug#350001: asterisk: fresh install - crash after dialing IAX test

Filip Van Raemdonck mechanix at debian.org
Thu Jan 26 14:30:13 UTC 2006


Package: asterisk
Version: 1:1.0.7.dfsg.1-2
Tags: sarge

I installed asterisk, together with mpg321 and rate-engine (I doubt that
they matter here though) and following the instructions on
http://www.voip-info.org/wiki-Asterisk+quickstart I have added a sip
account to sip.conf at the bottom, containing only this:

[sipclientid]
type=friend
host=192.168.0.123
nat=no

No other configuration changes to the default have been made.

I ran asterisk with the 'asterisk -U asterisk -vvvgc' command, and
connected from the particular client ip using a gnomemeeting snapshot from
seconix, to the sip:1000 at asterisk.server.ip address. Following the
instructions from the demo answer sound, I then send DTMF 500 to try and
connect to a Digium demo address using IAX. I listened to that demo sound
too, then hung up using the disconnect button from gnomemeeting.

On the server, the asterisk crashed. Tried again, same thing.

I then tried linphone on the same client machine (from testing, which is
what that host is running) and using the same steps - connect, then DTMF
500, hangup - again I could reproduce the crash.

Here's  the complete console log from the moment I connected using the
gnomemeeting client:

[...]
    -- Executing Goto("SIP/pluto.mycom.local-08139f30", "default|s|1") in new stack
    -- Goto (default,s,1)
    -- Executing Wait("SIP/pluto.mycom.local-08139f30", "1") in new stack
    -- Executing Answer("SIP/pluto.mycom.local-08139f30", "") in new stack
    -- Executing DigitTimeout("SIP/pluto.mycom.local-08139f30", "5") in new stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("SIP/pluto.mycom.local-08139f30", "10") in new stack
    -- Set Response Timeout to 10
    -- Executing BackGround("SIP/pluto.mycom.local-08139f30", "demo-congrats") in new stack
    -- Playing 'demo-congrats' (language 'en')
    -- Executing BackGround("SIP/pluto.mycom.local-08139f30", "demo-instruct") in new stack
    -- Playing 'demo-instruct' (language 'en')
  == CDR updated on SIP/pluto.mycom.local-08139f30
    -- Executing Playback("SIP/pluto.mycom.local-08139f30", "demo-abouttotry") in new stack
    -- Playing 'demo-abouttotry' (language 'en')
    -- Executing Dial("SIP/pluto.mycom.local-08139f30", "IAX2/guest at misery.digium.com/s at default") in new stack
    -- Called guest at misery.digium.com/s at default
    -- Call accepted by 216.207.245.8 (format gsm)
    -- Format for call is gsm
    -- IAX2/216.207.245.8:4569/1 is ringing
    -- IAX2/216.207.245.8:4569/1 answered SIP/pluto.mycom.local-08139f30
    -- Hungup 'IAX2/216.207.245.8:4569/1'
  == Spawn extension (default, 500, 2) exited non-zero on 'SIP/pluto.mycom.local-08139f30'
Segmentation fault

I would wild guess the non-zero exit could be at fault here.
The log is quite similar for the linphone crash, only in that case the
pluto.mycom.local bits got substituted for some reason by the client IP.


Regards,

Filip

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages asterisk depends on:
ii  asterisk-config        1:1.0.7.dfsg.1-2  config files for asterisk
ii  asterisk-sounds-main   1:1.0.7.dfsg.1-2  sound files for asterisk
ii  libasound2             1.0.8-3           ALSA library
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libraries an
ii  libgsm1                1.0.10-13         Shared libraries for GSM speech co
ii  libncurses5            5.4-4             Shared libraries for terminal hand
ii  libnewt0.51            0.51.6-20         Not Erik's Windowing Toolkit - tex
ii  libpq3                 7.4.7-6sarge1     PostgreSQL C client library
ii  libpri1                1.0.7-1           Primary Rate ISDN specification li
ii  libspeex1              1.1.6-2           The Speex Speech Codec
ii  libsqlite0             2.8.16-1          SQLite shared library
ii  libssl0.9.7            0.9.7e-3sarge1    SSL shared libraries
ii  libtonezone1           1:1.0.7-4.1       tonezone library (runtime)
ii  unixodbc               2.2.4-11          ODBC tools libraries
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information

http://www.sysfs.be/
-- 
Unix for stability;
Macs for productivity;
Palm for mobility;
Windows for Solitaire




More information about the Pkg-voip-maintainers mailing list