[Asterisk-Users] starting asterisk?

Ken Godee ken at perfect-image.com
Fri Oct 3 23:23:26 MST 2003


I'm trying to figure out how to start *.....

Rh7.3,CVS,TE410P,TA750

If I just try the way the docs spell it out
"/usr/sbin/asterisk -vvvc" it fails......

/var/log/asterisk/messages
Oct  3 22:23:34 WARNING[1024]: File chan_zap.c, Line 610 (zt_open): 
Unable to open '/dev/zap/channel': No such device
Oct  3 22:23:34 ERROR[1024]: File chan_zap.c, Line 4930 (mkintf): Unable 
to open channel 21: No such device
here = 0, tmp->channel = 0, channel = 21
Oct  3 22:23:34 ERROR[1024]: File chan_zap.c, Line 6711 (load_module): 
Unable to register channel '21-24'
Oct  3 22:23:34 WARNING[1024]: File loader.c, Line 301 
(ast_load_resource): chan_zap.so: load_module failed, returning -1
Oct  3 22:23:34 WARNING[1024]: File loader.c, Line 396 (load_modules): 
Loading module chan_zap.so failed!

/var/log/messages
Oct  3 22:03:12 cti-350 modprobe: modprobe: Can't locate module 
char-major-196
Oct  3 22:16:30 cti-350 last message repeated 3 times
Oct  3 22:23:34 cti-350 last message repeated 6 times

==================================================================

If I modprobe -d wct4xxp and then start *, cb link comes up
asterisk starts and all seems well.....

(well, except for the.....
  "kernel: TE410P: Double/missed interrupt detected")

=============================================
Module slhc
kname slhc
objkey slhc
names: slhc
mode: NORMAL
Module matching slhc: /lib/modules/2.4.20-20.7/kernel/drivers/net/slhc.o
=============================================
=============================================
Module ppp_generic
kname ppp_generic
objkey ppp_generic
names: ppp_generic
mode: NORMAL
Module matching ppp_generic: 
/lib/modules/2.4.20-20.7/kernel/drivers/net/ppp_generic.o
=============================================
=============================================
Module zaptel
kname zaptel
objkey zaptel
names: zaptel
mode: NORMAL
Module matching zaptel: /lib/modules/2.4.20-20.7/misc/zaptel.o
=============================================
=============================================
Module wct4xxp
kname wct4xxp
objkey wct4xxp
names: wct4xxp
mode: NORMAL
Module matching wct4xxp: /lib/modules/2.4.20-20.7/misc/wct4xxp.o
=============================================

Zaptel Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
.......
Channel 24: FXS Kewlstart (Default) (Slaves: 24)

24 channels configured.

/var/log/messages
Oct  3 22:33:08 cti-350 kernel: TE410P: Span 1 configured for ESF/B8ZS
Oct  3 22:33:08 cti-350 kernel: SPAN 1: Primary Sync Source
Oct  3 22:33:08 cti-350 kernel: Registered tone zone 0 (United States / 
North America)

*CLI> Asterisk Ready.

Ok, so I'm missing something? Combed thru docs, couldn't find anything.
I take it that * autoload modules is not working in the order I need?
So how can I get around it? Something in /etc/asterisk/modules.conf
Do I just need to slip a "modprobe wct4xxp" in one of my rc or init.d 
files before firing up * ?
What is the best way to start * on boot up? inittab or init.d?

/etc/modules.conf
options torisa base=0xd0000
alias char-major-196 torisa
post-install wcfxs /sbin/ztcfg
post-install wcfxsusb /sbin/ztcfg
post-install torisa /sbin/ztcfg
post-install tor2 /sbin/ztcfg
post-install wcfxo /sbin/ztcfg
post-install wct1xxp /sbin/ztcfg
post-install wct4xxp /sbin/ztcfg

Thanks,
Ken














More information about the asterisk-users mailing list