I bought the Asterisk book. I ordered the 2nd edition and got the first. I discovered this and rewrote my basic .conf files and nothing works. I have Asterisk 1.4-current, libpri 1.4-current, and zaptel 1.4-current compiled. Zaptel loads at boot. The ztcfg command shows my 4 channels:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
My zapata.conf looks like this:
[trunkgroups]
;
[channels]
;hardware channels
;default
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
;
;define channels
;
context=incoming
signalling=fxs_ks
channel => 1
;
context=internal
signalling=fxo_ks
channel => 2,3,4
and my extensions.conf looks like this:
[globals]
[general]
autofallthrough=yes
[default]
exten => s,1,Answer()
exten => s,n,Echo()
[incoming_calls]
exten => s,1,Answer()
exten => s,n,Echo()
[incoming]
exten => s,1,Answer()
exten => s,n,Echo()
[internal]
exten => 2,1,Verbose(1|Echo test application)
exten => 2,n,Echo()
exten => 2,n,Hangup()
[phones]
include => internal
Please tell me what I am doing wrong. Maybe if I can just get this thing to start working the book will make more sense.
Thanks,
Ike