<div>Hi guys,</div>  <div>&nbsp;</div>  <div>We are experiencing a problem with a T1 PRI connection. After trying a number of variations in the configuration files, the behavior is always the same: no B channels come up and the D channel doesn't appear to be working well. We can see there are AT&amp;T Maintenance messages being exchanged by asterisk and the provider, CONNECT and CONNECT ACKNOWLEDGE, but that doesn't appear to be enough to bring the D and B channels properly up. Are there any messages missing? When we attempt to make a call, we can see the Q.931 SETUP message being sent. But shortly after we are getting a LAPD DISC message, which ends up originating a Q.931 DISCONNECT message, terminating the call. </div>  <div>&nbsp;</div>  <div>What could be the problem here? </div>  <UL>  <LI>Could there be any configuration issue on our side? </LI>  <LI>Does libpri provide complete support to the AT&amp;T Maintenance protocol or could this connection be
 incompatible?</LI></UL>  <div>&nbsp;</div>  <div>Any help would be highly appreciated.</div>  <div>&nbsp;</div>  <div>Many thanks in advance,<BR>Paulo</div>  <div>&nbsp;</div>  <div>----------------------------------------------------------------<BR>PS: Configuration files, messages and pri debug snippets follow</div>  <div>&nbsp;</div>  <div>zaptel.conf<BR>----------------<BR>loadzone = us<BR>defaultzone=us<BR>#Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1"&nbsp; PRI_T1<BR>span=1,0,0,esf,b8zs,crc4<BR>bchan=1-23<BR>dchan=24</div>  <div>&nbsp;</div>  <div>zapata.conf<BR>----------------<BR>[channels]<BR>group = 0<BR>usecallingpres = yes<BR>switchtype = national <BR>context = inbound<BR>signalling = pri_cpe <BR>usecallerid = yes<BR>channel = 1-23</div>  <div><BR>messages<BR>--------------<BR>Mar 19 15:32:23 NOTICE[3306] cdr.c: CDR logging disabled, data will be lost.<BR>Mar 19 15:32:23 WARNING[3306] pbx_ael.c: Unable to open '/etc/asterisk/extensions.ael': No such file or
 directory<BR>Mar 19 15:32:23 WARNING[3306] pbx.c: Requested contexts didn't get merged<BR>Mar 19 15:33:17 WARNING[3322] chan_zap.c: No D-channels available!&nbsp; Using Primary channel 24 as D-channel anyway!<BR>Mar 19 15:33:58 WARNING[3322] chan_zap.c: No D-channels available!&nbsp; Using Primary channel 24 as D-channel anyway!<BR>Mar 19 15:33:58 WARNING[3366] app_dial.c: Unable to forward voice</div>  <div>[...]</div>  <div>&nbsp;</div>  <div>pri debug span<BR>----------------------<BR>&gt; [ 00 01 0a 0a 03 01 00 07 01 01 c0 18 01 ac ]</div>  <div>&gt; Informational frame:<BR>&gt; SAPI: 00&nbsp; C/R: 0 EA: 0<BR>&gt;&nbsp; TEI: 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EA: 1<BR>&gt; N(S): 005&nbsp;&nbsp; 0: 0<BR>&gt; N(R): 005&nbsp;&nbsp; P: 0<BR>&gt; 10 bytes of data<BR>-- Restarting T203 counter<BR>Stopping T_203 timer<BR>Starting T_200 timer<BR>&gt; Protocol Discriminator: AT&amp;T Maintenance (3)&nbsp; len=10<BR>&gt; Call Ref: len= 1 (reference 0/0x0)
 (Originator)<BR>&gt; Message type: CONNECT (7)<BR>&gt; [01 01 c0]<BR>&gt; IE: Change Status (len = 3)<BR>&gt; [18 01 ac]<BR>&gt; Channel ID (len= 3) [ Ext: 1&nbsp; IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 1<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ChanSel: As indicated in following octets<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<BR>(...)<BR>&lt; [ 02 01 0a 0c 03 01 00 0f 01 01 c0 18 01 ac ]</div>  <div>&lt; Informational frame:<BR>&lt; SAPI: 00&nbsp; C/R: 1 EA: 0<BR>&lt;&nbsp; TEI: 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EA: 1<BR>&lt; N(S): 005&nbsp;&nbsp; 0: 0<BR>&lt; N(R): 006&nbsp;&nbsp; P: 0<BR>&lt; 10 bytes of data<BR>-- ACKing all packets from 5 to (but not including) 6<BR>-- Since there was nothing left, stopping T200 counter<BR>-- Stopping
 T203 counter since we got an ACK<BR>-- Nothing left, starting T203 counter<BR>&lt; Protocol Discriminator: AT&amp;T Maintenance (3)&nbsp; len=10<BR>&lt; Call Ref: len= 1 (reference 0/0x0) (Originator)<BR>&lt; Message type: CONNECT ACKNOWLEDGE (15)<BR>&lt; [01 01 c0]<BR>&lt; IE: Change Status (len = 3)<BR>&lt; [18 01 ac]<BR>&lt; Channel ID (len= 3) [ Ext: 1&nbsp; IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 1<BR>&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ChanSel: As indicated in following octets<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</div>  <div>(...)<BR>&gt; Protocol Discriminator: Q.931 (8)&nbsp; len=40<BR>&gt; Call Ref: len= 2 (reference 2/0x2) (Originator)<BR>&gt; Message type: SETUP (5)<BR>&gt; [04 03 80 90 a2]<BR>&gt; Bearer Capability (len= 5) [ Ext:
 1&nbsp; Q.931 Std: 0&nbsp; Info transfer capability: Speech (0)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ext: 1&nbsp; Trans mode/rate: 64kbps, circuit-mode (16)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ext: 1&nbsp; User information layer 1: u-Law (34)<BR>&gt; [18 03 a9 83 82]<BR>&gt; Channel ID (len= 5) [ Ext: 1&nbsp; IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ChanSel: Reserved<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ext: 1&nbsp; Coding:
 0&nbsp;&nbsp; Number Specified&nbsp;&nbsp; Channel Type: 3<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ext: 1&nbsp; Channel: 2 ]<BR>&gt; [1e 02 80 83]<BR>&gt; Progress Indicator (len= 4) [ Ext: 1&nbsp; Coding: CCITT (ITU) standard (0) 0: 0&nbsp;&nbsp; Location: User (0)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ext: 1&nbsp; Progress Description: Calling equipment is non-ISDN. (3) ]<BR>&gt; [6c 06 21 80 37 31 30 30]<BR>&gt; Calling Number (len= 8) [ Ext: 0&nbsp; TON: National Number (2)&nbsp; NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Presentation: Presentation
 permitted, user number not screened (0) '7100' ]<BR>&gt; [70 0b a1 35 38 35 34 31 39 37 39 39 35]<BR>&gt; Called Number (len=13) [ Ext: 1&nbsp; TON: National Number (2)&nbsp; NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '5854197995' ]<BR>(...)</div>  <div>&lt; [ 02 01 53 ]</div>  <div>&lt; Unnumbered frame:<BR>&lt; SAPI: 00&nbsp; C/R: 1 EA: 0<BR>&lt;&nbsp; TEI: 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EA: 1<BR>&lt;&nbsp;&nbsp; M3: 2&nbsp;&nbsp; P/F: 1 M2: 0 11: 3&nbsp; [ DISC (disconnect) ]<BR>&lt; 0 bytes of data<BR>-- Got Disconnect from peer.<BR>Sending Unnumbered Acknowledgement</div>  <div>&gt; [ 02 01 73 ]</div>  <div>&gt; Unnumbered frame:<BR>&gt; SAPI: 00&nbsp; C/R: 1 EA: 0<BR>&gt;&nbsp; TEI: 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EA: 1<BR>&gt;&nbsp;&nbsp; M3: 3&nbsp;&nbsp; P/F: 1 M2: 0 11: 3&nbsp; [ UA (unnumbered acknowledgement) ]<BR>&gt; 0 bytes of data<BR>-- Restarting T203 counter</div>  <div>&gt; [ 00 01 00 00 08 02 00 02 45 08 02 81 90
 ]</div>  <div>&gt; Informational frame:<BR>&gt; SAPI: 00&nbsp; C/R: 0 EA: 0<BR>&gt;&nbsp; TEI: 000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EA: 1<BR>&gt; N(S): 000&nbsp;&nbsp; 0: 0<BR>&gt; N(R): 000&nbsp;&nbsp; P: 0<BR>&gt; 9 bytes of data<BR>Starting T_200 timer<BR>&gt; Protocol Discriminator: Q.931 (8)&nbsp; len=9<BR>&gt; Call Ref: len= 2 (reference 2/0x2) (Originator)<BR>&gt; Message type: DISCONNECT (69)<BR>&gt; [08 02 81 90]<BR>&gt; Cause (len= 4) [ Ext: 1&nbsp; Coding: CCITT (ITU) standard (0) 0: 0&nbsp;&nbsp; Location: Private network serving the local user (1)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ext: 1&nbsp; Cause: Unknown (16), class = Normal Event (1) ]<BR></div><p>&#32;__________________________________________________<br>Fale com seus amigos  de graça com o novo Yahoo! Messenger <br>http://br.messenger.yahoo.com/