[Asterisk-Users] Problem getting D channel up on Sangoma A102

courchea at net-forces.com courchea at net-forces.com
Thu Dec 29 11:35:19 MST 2005


Hi all,

  I am installing an Asterisk box equipped with the Sangoma A102 card. The telco
just tested the PRI interface and it is ll ok. I
now connect my Asterisk box and I can't get the D-Channel up. If I enable
intense pri debug I see messages like the following:

--SNIP START--
< [ 02 01 7f ]

< Unnumbered frame:
< SAPI: 00  C/R: 1 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
-- Got SABME from network peer.
Sending Unnumbered Acknowledgement


>> [ 02 01 73 ]


>> Unnumbered frame:
>> SAPI: 00  C/R: 1 EA: 0
>>  TEI: 000        EA: 1
>>   M3: 3   P/F: 1 M2: 0 11: 3  [ UA (unnumbered acknowledgement) ]
>> 0 bytes of data

-- Restarting T203 counter
-- Restarting T203 counter
  == Primary D-Channel on span 1 up
pbx*CLI>
< [ 02 01 7f ]

< Unnumbered frame:
< SAPI: 00  C/R: 1 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
-- Got SABME from network peer.
Sending Unnumbered Acknowledgement


>> [ 02 01 73 ]


>> Unnumbered frame:
>> SAPI: 00  C/R: 1 EA: 0
>>  TEI: 000        EA: 1
>>   M3: 3   P/F: 1 M2: 0 11: 3  [ UA (unnumbered acknowledgement) ]
>> 0 bytes of data

-- Restarting T203 counter
-- Restarting T203 counter
  == Primary D-Channel on span 1 up
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (0)


>> [ 00 01 01 01 ]


>> Supervisory frame:
>> SAPI: 00  C/R: 0 EA: 0
>>  TEI: 000        EA: 1
>> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
>> N(R): 000 P/F: 1
>> 0 bytes of data

-- Restarting T203 counter
-- Retrying poll with f-bit
Sending Receiver Ready (0)


>> [ 00 01 01 01 ]


>> Supervisory frame:
>> SAPI: 00  C/R: 0 EA: 0
>>  TEI: 000        EA: 1
>> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
>> N(R): 000 P/F: 1
>> 0 bytes of data

-- Restarting T203 counter
Stopping T_203 timer
T_200 timer already going (3)

>> Protocol Discriminator: Q.931 (8)  len=13
>> Call Ref: len= 2 (reference 0/0x0) (Originator)
>> Message type: RESTART (70)
>> [18 03 a9 83 86]
>> 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: 6 ]
>> [79 01 80]
>> Restart Indentifier (len= 3) [ Ext: 1  Spare: 0  Resetting Indicated

Channel (0) ]
-- T200 counter expired, What to do...
-- Retransmitting 17 bytes


>> [ 00 01 00 01 08 02 00 00 46 18 03 a9 83 86 79 01 80 ]


>> Informational frame:
>> SAPI: 00  C/R: 0 EA: 0
>>  TEI: 000        EA: 1
>> N(S): 000   0: 0
>> N(R): 000   P: 1
>> 13 bytes of data

-- Rescheduling retransmission (2)
-- 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

--SNIP END--


Config is the following:

zaptel.conf:
span=1,1,2,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone=us

zapata.conf
[channels]
language=fr
context=from-pstn
switchtype=national
resetinterval=never
signalling=pri_cpe
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=1
channel=1-23

Any hints appreciated


Andre






More information about the asterisk-users mailing list