Uk isdn30 new setup problem

Hi

At long last I have had BT install our new isdn 30 (I421) line for our asterisk server. Before this we have used asterisk with a tdm400 and some analogue lines.

I have installed a digium TDM 205 e1 card with port 1 connected to the isdn30 box via a rj45 network lead. (wired like a normal patch lead NOT crossover). Is this correct ?. I have no red warning lights just green ok lights.

On trying to dial using the isdn30 im getting the following error Circuit/Channel congestion

– Executing Set(“SIP/602-9989”, “GROUP(901392275533)=OUTBOUND_GROUP”) in new stack
– Executing GotoIf(“SIP/602-9989”, “0?5”) in new stack
– Executing Set(“SIP/602-9989”, “GROUP(602)=OUTBOUND_GROUP”) in new stack
– Executing Dial(“SIP/602-9989”, “zap/g1/14101392275533”) in new stack
Aug 23 16:26:43 NOTICE[6823]: app_dial.c:1040 dial_exec_full: Unable to create channel of type ‘zap’ (cause 34 - Circuit/channel congestion)
== Everyone is busy/congested at this time (1:0/1/0)
== Auto fallthrough, channel ‘SIP/602-9989’ status is ‘CONGESTION’

ztcfg -vvvv shows

PAN 1: CCS/HDB3 Build-out: 133-266 feet (DSX-1)
SPAN 2: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 18)
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: Clear channel (Default) (Slaves: 24)
Channel 25: Clear channel (Default) (Slaves: 25)
Channel 26: Clear channel (Default) (Slaves: 26)
Channel 27: Clear channel (Default) (Slaves: 27)
Channel 28: Clear channel (Default) (Slaves: 28)
Channel 29: Clear channel (Default) (Slaves: 29)
Channel 30: Clear channel (Default) (Slaves: 30)
Channel 31: Clear channel (Default) (Slaves: 31)

but this does show in the /var/log/messages

Aug 23 16:32:21 WARNING[6778]: chan_zap.c:6347 handle_init_event: Detected alarm on channel 28: Recovering
Aug 23 16:32:21 WARNING[6778]: chan_zap.c:1435 zt_disable_ec: Unable to disable echo cancellation on channel 28

FOR each channel and then

Aug 23 16:32:26 NOTICE[6778]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 28

FOR each channel

Can anyone help as have I missed somthing simple.
Thanks

Nick

Config files:-

my zaptel.cong has the following
loadzone=uk
defaultzone=uk
span=1,1,1,ccs,hdb3,crc4
span=2,0,0,esf,b8zs

bchan=1-15
dchan=16
bchan=17-31

and zapata.conf has

[channels]

language=en

switchtype=euroisdn
signalling=pri_cpe

callwaiting=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes

;UK CLID BT
usecallerid=yes
immediate=yes ;take line on first ring
callerid=asreceived ; propagate cid as received from bt
cidsignalling=v23
cidstart=polarity

echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
;400

rxgain=0.0 ;14.5
txgain=0.0 ;2

busydetect=yes

group=1
callgroup=1
pickupgroup=1

musiconhold=default

;ISDN 30e Uk SALES LINE Card 1 Line 1
switchtype=euroisdn
signalling=pri_cpe
group=1
context = incoming
channel => 1-15
channel => 17-31

Hi

It looks as your confs are all wrong.

what is span 2 as well?

This should get you on your way.

[code]========zaptel.conf==============

Span 1: WCT1/0 “Digium Wildcard TE110P T1/E1 Card 0”

span=1,1,1,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31

Global data

loadzone=uk
defaultzone=uk

==========zapata.conf=============

; Zapata telephony interface
;
; Configuration file

[trunkgroups]
;
; Trunk groups are used for NFAS or GR-303 connections.
;
; Group: Defines a trunk group.
; group => ,[,…]
;
; trunkgroup is the numerical trunk group to create
; dchannel is the zap channel which will have the
; d-channel for the trunk.
; backup1 is an optional list of backup d-channels.
;
;trunkgroup => 1,24,48
;
; Spanmap: Associates a span with a trunk group
; spanmap => ,[,]
;
; zapspan is the zap span number to associate
; trunkgroup is the trunkgroup (specified above) for the mapping
; logicalspan is the logical span number within the trunk group to use.
; if unspecified, no logical span number is used.
;
;spanmap => 1,1,1
;spanmap => 2,1,2
;spanmap => 3,1,3
;spanmap => 4,1,4

[channels]
;
; Default language
;
language=en

;busydetect=1
;busycount=7

;relaxdtmf=yes
;callwaiting=yes

; don’t wait two seconds before answering calls
;usecallerid=no
;
; Support Caller*ID on Call Waiting
;
;callwaitingcallerid=yes
;
; Support three-way calling
;
;threewaycalling=yes
;
; Support flash-hook call transfer (requires three way calling)
;
;transfer=yes
;
; Support call forward variable
;
;cancallforward=yes
;
;echocancel=yes
;
; Generally, it is not necessary (and in fact undesirable) to echo cancel
; when the circuit path is entirely TDM. You may, however, reverse this
; behavior by enabling the echo cancel during pure TDM bridging below.
;
;echocancelwhenbridged=yes

; Logical groups can be assigned to allow outgoing rollover. Groups
; range from 0 to 31, and multiple groups can be specified.
;
group=1
; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing
; and it is a member of a group which is one of your pickup groups, then
; you can answer it by picking up and dialing 66#. For simple offices, just
; make these both the same
;
callgroup=0
pickupgroup=0

;
; Specify whether the channel should be answered immediately or
; if the simple switch should provide dialtone, read digits, etc.
;
;immediate=no
; For fax detection, uncomment one of the following lines. The default is OFF
;
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
context=pstn_isdn_in
;context=default
#include “zapata-channels.conf”

=========zapata-channels.conf=========

; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
switchtype=euroisdn
usecallerid=yes
hidecallerid=no
;callwaiting=no
;callwaitingcallerid=yes
restrictcid=no
usecallingpres=yes
;threewaycalling=yes
;callreturn=no
;transfer=no
;cancallforward=yes
echotraining=yes
echocancelwhenbridged=yes
echocancel=yes
musiconhold=default
rxgain=0.0
txgain=0.0
signalling=pri_cpe
overlapdial=yes
pridialplan=unknown
prilocaldialplan=unknown
priindication=outofband
resetinterval = never
channel => 1-10 ; Using 10 channels otherwise 1-15,17-31

[/code]

any further problems I can assist on site or remote and do hold ISDN simulators to test both * and the BT circuit to confirm that they are working correctly

Ian

Hi,

Thanks for your config example.

Found my problem, Bt installed the line yesterday but did not tell me I had to ring Bt to have it Activated.

Its now activated and works Great on UK isdn30e

Thanks for the help.

Nick Colyer