Bug#363939: asterisk-classic: SIP not starting on reboot
Jonathan Addleman
jonathan.addleman at mail.mcgill.ca
Thu Apr 20 18:09:10 UTC 2006
Package: asterisk-classic
Version: 1:1.2.4.dfsg-7
Severity: normal
Not sure what's happening here, but on one of my two machines, SIP
doesn't seem to be starting up on a reboot. After booting,
'netstat -plu | grep asterisk' shows this:
udp 0 0 *:4520 *:* 5538/asterisk
udp 0 0 *:iax *:* 5538/asterisk
And then if I do /etc/init.d/asterisk restart, the same command shows:
udp 0 0 *:4520 *:* 5906/asterisk
udp 0 0 *:sip *:* 5906/asterisk
udp 0 0 *:iax *:* 5906/asterisk
/var/log/asterisk/messages shows this line:
chan_sip.c: Unable to get own IP address, SIP disabled
So I expect that asterisk is starting before the network is up. I'm
connecting via pppoe, if that changes anything. Another machine I have
doesn't experience this problem at all, though it's connecting to
another ISP - perhaps the problem machine just takes a long time to get
its IP address from the ISP?
In any case, especially when asterisk is bound to 0.0.0.0, it shouldn't
matter whether it can get the IP or not, it seems to me.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.5
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8)
Versions of packages asterisk-classic depends on:
ii adduser 3.86 Add and remove users and groups
ii asterisk-conf 1:1.2.4.dfsg-7 config files for asterisk
ii asterisk-soun 1:1.2.4.dfsg-7 sound files for asterisk
ii libasound2 1.0.10-2 ALSA library
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libcomerr2 1.38+1.39-WIP-2006.04.09-1 common error description library
ii libcurl3 7.15.3-1 Multi-protocol file transfer libra
ii libgsm1 1.0.10-13 Shared libraries for GSM speech co
ii libidn11 0.5.18-2 GNU libidn library, implementation
ii libkrb53 1.4.3-6 MIT Kerberos runtime libraries
ii libncurses5 5.5-1.1 Shared libraries for terminal hand
ii libnewt0.52 0.52.2-4 Not Erik's Windowing Toolkit - tex
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libpq4 8.1.3-4 PostgreSQL C client library
ii libpri1.2 1.2.2-3 Primary Rate ISDN specification li
ii libspeex1 1.1.12-1 The Speex Speech Codec
ii libsqlite0 2.8.16-1 SQLite shared library
ii libssl0.9.8 0.9.8a-8 SSL shared libraries
ii unixodbc 2.2.11-13 ODBC tools libraries
ii zlib1g 1:1.2.3-11 compression library - runtime
asterisk-classic recommends no packages.
-- no debconf information
More information about the Pkg-voip-maintainers
mailing list