> I've had Asterisk working great with an X100P, but now I've got up
to a TDM400P, with
an FXO and FXS card. I've changed> what I thought I needed to, and upgraded the Zaptel stuff from 1.0.9 to
current CVS.
Asterisk is 1.0.9.>
> I'm getting the following when taking the phone off hook:
> Nov 12 16:23:13 WARNING[3694]: chan_zap.c:5854 handle_init_event: Unable to
play
dialtone on channel 3> -- Starting simple switch on 'Zap/3-1'
> -- Hungup 'Zap/3-1'
> Config files:
> /etc/asterisk/zapata.conf-
> [channels]
> language=en
> context=inbound-analog
> signalling=fxs_ks
> usecallerid=yes
> echocancel=yes
> echocancelwhenbridged=yes
> channel => 4
>
> signalling=fxo_ks
> context=default
> language=en
> channel => 3
> /etc/zaptel.conf-
> loadzone = uk
> defaultzone=us
> fxsks=4
> fxoks=3
>
> Is there anything I've missed?
Don't know from the limited amount of data that you provided.
Here's some things to look at.
Make sure you know exactly which modules are fxo and fxs on the TDM
card (above says module positions 3 & 4), and that the definitions
in /etc/zaptel.conf match what is installed. An fxo module uses a
definition in /etc/zaptel.conf as fxsks=<slot>. (And, fxs modules
use fxoks definitions.)
Module slot 4 is the one farest from the TDM card's rear mounting
plate that has the four jacks on it.
Ensure you are loading wctdm driver (use 'lsmod' to see if its loaded).
run 'ztcfg -vv'
use 'zttool' to see the TDM card and which modules are recognized.
Don't plug the pstn line into the wrong module (rj11 jack) as its
likely to blow the module, particularily if ringing voltage from the
central office gets dumped into the fxs jack.
Use 'zap show status' to understand what asterisk is seeing.