[asterisk-users] Zaptel configurations in India

K Y Iyer Iyer at NDTV.COM
Wed Nov 15 05:32:35 MST 2006


Hi

I am testing Asterisk connecting to our Alcatel 4400 PBX.  I have a
wcte11xp card - all is well - but we cannot communicate with the Alcatel
- when we try to call an Alcatel extension, we see Error 34 no channels
available on the CLI.

I suspect that this is because of invalid span and signalling parameters
in my config files.  Have seen a lot of information on this - but none
of seems to be helping.

We get no errors when we start Asterisk 

What does the "YELLOW" indicator mean when I do cat /proc/zaptel/1?

What does "Status: Provisioned, In Alarm, Down, Active" when I see "pri
show span 1"

Thanks very much for any assistance

Best wishes

Iyer
 

////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
Zaptel.conf
-----------
span=1,1,0,cas,hdb3
bchan=1-15
dchan=16
bchan=17-31
loadzone=uk
defaultzone=uk
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////

Zapata.conf
------------
[trunkgroups]
[channels]
language=uk
context=default
switchtype=euroisdn
signalling=pri_cpe
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
immediate=no
channel => 1-15,17-31
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////

*CLI> zap show channels
   Chan Extension  Context         Language   MusicOnHold
 pseudo            default         uk
      1            default         uk
      2            default         uk
      3            default         uk
      4            default         uk
      5            default         uk
      6            default         uk
      7            default         uk
      8            default         uk
      9            default         uk
     10            default         uk
     11            default         uk
     12            default         uk
     13            default         uk
     14            default         uk
     15            default         uk
     17            default         uk
     18            default         uk
     19            default         uk
     20            default         uk
     21            default         uk
     22            default         uk
     23            default         uk
     24            default         uk
     25            default         uk
     26            default         uk
     27            default         uk
     28            default         uk
     29            default         uk
     30            default         uk
     31            default         uk
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////

*CLI> pri show span 1
Primary D-channel: 16
Status: Provisioned, In Alarm, Down, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////

Cat /proc/interrupts
---------------------
           CPU0       CPU1
  0:    4300564    4296314    IO-APIC-edge  timer
  1:        363        429    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
  8:          0          1    IO-APIC-edge  rtc
 15:      38352      38153    IO-APIC-edge  ide1
137:      14622      14304   IO-APIC-level  aic7xxx
145:     113222         59   IO-APIC-level  eth0
161:       5192       5981   IO-APIC-level  uhci_hcd
169:    4221565    4213646   IO-APIC-level  wcte11xp
NMI:          0          0
LOC:    8598006    8597974
ERR:          0
MIS:          0
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////

Ztcvg -v
--------
[root at ast-01 ~]# ztcfg -vvvvvvvv

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

SPAN 1: CAS/HDB3 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)
////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////

[root at ast-01 ~]# cat /proc/zaptel/1
Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" HDB3/ YELLOW

           1 WCT1/0/1 Clear (In use)
           2 WCT1/0/2 Clear (In use)
           3 WCT1/0/3 Clear (In use)
           4 WCT1/0/4 Clear (In use)
           5 WCT1/0/5 Clear (In use)
           6 WCT1/0/6 Clear (In use)
           7 WCT1/0/7 Clear (In use)
           8 WCT1/0/8 Clear (In use)
           9 WCT1/0/9 Clear (In use)
          10 WCT1/0/10 Clear (In use)
          11 WCT1/0/11 Clear (In use)
          12 WCT1/0/12 Clear (In use)
          13 WCT1/0/13 Clear (In use)
          14 WCT1/0/14 Clear (In use)
          15 WCT1/0/15 Clear (In use)
          16 WCT1/0/16 HDLCFCS (In use)
          17 WCT1/0/17 Clear (In use)
          18 WCT1/0/18 Clear (In use)
          19 WCT1/0/19 Clear (In use)
          20 WCT1/0/20 Clear (In use)
          21 WCT1/0/21 Clear (In use)
          22 WCT1/0/22 Clear (In use)
          23 WCT1/0/23 Clear (In use)
          24 WCT1/0/24 Clear (In use)
          25 WCT1/0/25 Clear (In use)
          26 WCT1/0/26 Clear (In use)
          27 WCT1/0/27 Clear (In use)
          28 WCT1/0/28 Clear (In use)
          29 WCT1/0/29 Clear (In use)
          30 WCT1/0/30 Clear (In use)
          31 WCT1/0/31 Clear (In use)



More information about the asterisk-users mailing list