After sometime I got my E1 PRI configured correctly in /etc/zaptel.conf
and I now don't see any alarms on the E1, but I can't still dialout
correctly, I enable every debug that I could though of and this is what
I see:
At the end the D-channel is down and I cannot even try to connect
another call because it tell me that the zap channel is unavailable ,the
other this that I notice is that I got a message saying that there are
no more D-channels available, please HELP!!!
______________________________________________________________________
Aug 4 20:41:12 DEBUG[1217602880]: chan_zap.c:6535 zt_request: Using
channel 1
> [ 00 01 00 00 08 02 00 02 05 04 03 80 90 a3 18 03 a9 83 81 28 04 b1 36
30 32 6c 05 21 80 36 30 32 70 0d a1 30 31 35 35 38 35 38 31 32 34 31 36
]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> N(S): 000 0: 0
> N(R): 000 P: 0
> 43 bytes of data
Starting T_200 timer> Protocol Discriminator: Q.931 (8) len=43
> Call Ref: len= 2 (reference 2/0x2) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer
capability: Speech (0)> Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)> Ext: 1 User information layer 1: A-Law
(35)> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel
Type: 3> Ext: 1 Channel: 1 ]
> [28 04 b1 36 30 32]
> Display (len= 4) Charset: 31 [ 602 ]
> [6c 05 21 80 36 30 32]
> Calling Number (len= 7) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)> Presentation: Presentation permitted, user
number not screened (0) '602' ]> [70 0d a1 30 31 35 35 38 35 38 31 32 34 31 36]
> Called Number (len=15) [ Ext: 1 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1234555' ]
-- Called g1/1234555
then I see a bunch of messages like this ones
_______________________________________________________________________
Aug 4 20:41:12 DEBUG[1217602880]: chan_zap.c:3958 zt_read: Read 160 of
voice on Zap/1-1
Aug 4 20:41:12 DEBUG[1217602880]: chan_zap.c:3958 zt_read: Read 160 of
voice on Zap/1-1
Aug 4 20:41:12 DEBUG[1217602880]: chan_zap.c:3958 zt_read: Read 160 of
voice on Zap/1-1
Aug 4 20:41:12 DEBUG[1217602880]: chan_zap.c:3958 zt_read: Read 160 of
voice on Zap/1-1
Aug 4 20:41:12 DEBUG[1217602880]: chan_zap.c:3958 zt_read: Read 160 of
voice on Zap/1-1
Aug 4 20:41:12 DEBUG[1217602880]: chan_zap.c:3958 zt_read: Read 160 of
voice on Zap/1-1
-- T200 counter expired, What to do...
-- Retransmitting 47 bytes
And then I see this ....
__________________________________________________________________________
-- T200 counter expired, What to do...
-- Timeout occured, restarting PRI
Sending Set Asynchronous Balanced Mode Extended
> [ 00 01 7f ]
> Unnumbered frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode
extended) ]> 0 bytes of data
== Primary D-Channel on span 1 down
Aug 4 20:41:15 WARNING[1175660480]: chan_zap.c:1924 pri_find_dchan: No
D-channels available! Using Primary on channel anyway 16!
___________________________________________________________________________