Asterisk service problem

Hi everybobdy

I’m trying to work with asterisk in a server linux suse 10.1 but the asteisk’s service don’t start.

asterisk:~ # service asterisk start
Starting Asterisk done
asterisk:~ # service asterisk status
Checking for Asterisk dead
asterisk:~ #

Because of this problem my softphone (I’m using sjphone) don’t register

Any idea?

Sounds like somthing is misconfigured. Try to look at your asterisk console log to see what is bombing out. It will tell you, for instance, your configured zap channels don’t exist, etc…

stop asterisk

then do
asterisk -vvvc

this will start asterisk on your console (or try to). It will tell you whats wrong.

Note that if you compile * after you install zaptel, zaptel must be running for * to load.

The file (messages) contains this:

Nov 10 12:17:35 NOTICE[7833] cdr.c: CDR simple logging enabled.
Nov 10 12:17:35 WARNING[7833] res_musiconhold.c: Unable to open pseudo channel for timing… Sound may be choppy.
Nov 10 12:17:37 WARNING[7833] chan_iax2.c: Unable to open IAX timing interface: No such file or directory
Nov 10 12:17:37 WARNING[7833] loader.c: /usr/lib/asterisk/modules/codec_speex.so: undefined symbol: speex_preprocess_ctl
Nov 10 12:17:37 WARNING[7833] loader.c: Loading module codec_speex.so failed!

Bingo…

Nov 10 12:17:37 WARNING[7833] loader.c: /usr/lib/asterisk/modules/codec_speex.so: undefined symbol: speex_preprocess_ctl
Nov 10 12:17:37 WARNING[7833] loader.c: Loading module codec_speex.so failed!

So you will either need to figure out what is wrong with your speex codec (e.g. did not compile correctly, wrong binary, etc.) or simply remove it from the asterisk /usr/lib/asterisk/modules directory. Then try starting it again.