[Asterisk-Users] I need to set NO CRC4 on zaptel.conf?

ADEGOKE ARUNA goksie at gmail.com
Fri Mar 10 12:23:47 MST 2006


Hi all,

Can somebody tell me, how to set no crc4 in my zaptel.conf?

I connected my A104D Sangoma card to E1/isdn and each I tried to make call I
get the errors below.

My protocol analyzer can see only setup info and release complete.


WIRELESS2*CLI> set debug 9
Core debug was 0 and is now 9
WIRELESS2*CLI> pri intense debug span 1
Enabled EXTENSIVE debugging on span 1
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (4)

> [ 00 01 01 09 ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 004 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
WIRELESS2*CLI>
< [ 00 01 01 09 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 004 P/F: 1
< 0 bytes of data
-- ACKing all packets from 3 to (but not including) 4
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
    -- Accepting AUTHENTICATED call from 10.80.1.151:
       > requested format = alaw,
       > requested prefs = (),
       > actual format = gsm,
       > host prefs = (gsm),
       > priority = mine
    -- Executing Dial("IAX2/marko-2", "Zap/g1/08023717175|60|Ttr") in new
stack
    -- Requested transfer capability: 0x00 - SPEECH
WIRELESS2*CLI>
> [ 00 01 08 08 08 02 00 05 05 04 03 80 90 a3 18 04 e9 81 83 82 6c 0a 21 81
31 3
6 32 31 30 30 30 30 70 0c a1 30 38 30 32 33 37 31 37 31 37 35 a1 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 004   0: 0
> N(R): 004   P: 0
> 43 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=43
> Call Ref: len= 2 (reference 5/0x5) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: S
peech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16
)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 04 e9 81 83 82]
> Channel ID (len= 6) [ Ext: 1  IntID: Explicit, PRI Spare: 0, Exclusive
Dchan:
0
>                        ChanSel: Reserved
>                       Ext: 1  DS1 Identifier: 1
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 2 ]
> [6c 0a 21 81 31 36 32 31 30 30 30 30]
> Calling Number (len=12) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephon
y Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user
number pa
ssed network screening (1) '16210000' ]
> [70 0c a1 30 38 30 32 33 37 31 37 31 37 35]
> Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony
 Numbering Plan (E.164/E.163) (1) '08023717175' ]
> [a1]
> Sending Complete (len= 1)
    -- Called g1/08023717175
WIRELESS2*CLI>
< [ 00 01 01 0a ]
WIRELESS2*CLI>
< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 005 P/F: 0
< 0 bytes of data
-- ACKing all packets from 3 to (but not including) 5
-- ACKing packet 4, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
WIRELESS2*CLI>
< [ 02 01 08 0a 08 02 80 05 5a 08 03 82 e4 18 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 004   0: 0
< N(R): 005   P: 0
< 10 bytes of data
-- ACKing all packets from 4 to (but not including) 5
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 03 82 e4 18]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Pub
lic network serving the local user (2)
<                  Ext: 1  Cause: Unknown (100), class = Protocol Error (6)
]
<              Cause data 1: 18 (24)
Sending Receiver Ready (5)

> [ 02 01 01 0a ]
WIRELESS2*CLI>
> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 005 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
    -- Channel 1/2, span 1 got hangup
    -- Channel 1/2, span 1 received AOC-E charging 0 units
    -- Hungup 'Zap/2-1'
  == No one is available to answer at this time (1:0/0/0)
  == Auto fallthrough, channel 'IAX2/marko-2' status is 'NOANSWER'
    -- Hungup 'IAX2/marko-2'
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (5)

> [ 00 01 01 0b ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 005 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
WIRELESS2*CLI>
< [ 00 01 01 0b ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 005 P/F: 1
< 0 bytes of data
-- ACKing all packets from 4 to (but not including) 5
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter

Zaptel.conf
loadzone = uk
defaultzone = uk

#span definitions
span = 1,1,0,ccs,hdb3,crc4,yellow
span = 2,2,0,ccs,hdb3,crc4,yellow
span = 3,3,0,ccs,hdb3,crc4,yellow
span = 4,4,0,ccs,hdb3,crc4,yellow

#channel definitions
#bchan = 1-15, 17-31, 32-46, 48-62, 63-77, 79-93, 94-108, 110-124
#dchan = 16,47,78,109
bchan = 1-15,17-124
dchan = 16

my wanpipe1.conf
[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE       = AFT
S514CPU         = A
CommPort        = PRI
AUTO_PCISLOT    = NO
PCISLOT         = 13
PCIBUS          = 6
FE_MEDIA        = E1
FE_LCODE        = HDB3
FE_FRAME        = NCRC4
FE_LINE         = 1
TE_CLOCK        = NORMAL
TE_REF_CLOCK    = 0
TE_HIGHIMPEDANCE        = NO
LBO             = 120OH
FE_TXTRISTATE   = NO
MTU             = 1500
UDPPORT         = 9000
TTL             = 255
IGNORE_FRONT_END = NO
TDMV_SPAN       = 1
TDMV_DCHAN      = 16

[w1g1]
ACTIVE_CH       = ALL
TDMV_ECHO_OFF   = NO
TDMV_HWEC       = YES




goksie




More information about the asterisk-users mailing list