Zap problems


#1

Hi All

I’m hoping someone can help me here, or at least point me in the right direction.

I have a freshly installed * box with a TE110P connected to a Q931 (EuroISDN) circuit, and a TDM40B. The TE110P is working fine and I am able to make and receive calls on the circuit (UK, NTL) using SIP handsets.

However, when I attempt to make a call to a phone on one of the TDM40B ports, I get:

app_dial.c:1110 dial_exec_full: Unable to create channel of type ‘Zap’ (cause 17 - User busy)

[Zaptel.conf]
span=1,1,0,ccs,hdb3,crc4
bchan=1-8
dchan=16
defaultzone=uk
loadzone=uk

fxoks=9-12

[Zapata.conf]
[channels]
context=fromPRI
signalling=pri_cpe
group=1
switchtype=euroisdn
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
channel => 1-8
usecallerid=yes
hidecallerid=no
usecallingpres=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
callgroup=1
pickupgroup=1
immediate=no
pridialplan=unknown
internationalprefix = 00
nationalprefix = 0
relaxdtmf=yes
rxgain=-15
txgain=-10

signalling=fxo_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=400
callerid=asreceived
group=2
context=toAna
channel => 9-12

I did modprobe in the order wcte11xp and then wctdm, so the channels should be in that order. I have green lights on the TDM card, and have tried various handsets - none of which have dialtones when plugged in to any of the four ports.

Any suggestions would be appreciated!

Thanks

EDIT

I’m not sure what this means, but if i do a zap show status, i get:

Description Alarms IRQ bpviol CRC4
Digium Wildcard TE110P T1/E1 Card 0 OK 17 0 0
Wildcard TDM400P REV I Board 1 UNCONFIGUR 0 0 0


#2

Make the channels for the TDM40B 32-35 in zaptel.conf and zapata.conf. Don’t forget to run ztcfg and restart asterisk.


#3

Thanks, worked!

I can see why, now you’ve suggested how to fix it, cheers.