Thanks for your answer, Bruno. However, the configuration you provided is for an E1 connection and we are using a T1, having channel 23 as D channel.<BR><BR><B><I>Bruno De Luca <bdeluca@fgasoftware.com></I></B> escreveu:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">d-channel is in midle <BR><BR>bchan=1-15,17-31<BR>dchan=16<BR>loadzone = it<BR>defaultzone = it<BR><BR><BR><BR><BR>Kanelbullar wrote:   <BLOCKQUOTE cite=mid20070320121134.11493.qmail@web26501.mail.ukl.yahoo.com type="cite">  <DIV>Hi guys,</DIV>  <DIV> </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&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> </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&T Maintenance protocol or could this connection be incompatible?</LI></UL>  <DIV> </DIV>  <DIV>Any help would be highly appreciated.</DIV>  <DIV> </DIV>  <DIV>Many thanks in advance,<BR>Paulo</DIV>  <DIV> </DIV>  <DIV>----------------------------------------------------------------<BR>PS: Configuration files, messages and pri debug snippets follow</DIV>  <DIV> </DIV>  <DIV>zaptel.conf<BR>----------------<BR>loadzone = us<BR>defaultzone=us<BR>#Span 1: TE2/0/1 "T2XXP (PCI) Card
 0 Span 1"  PRI_T1<BR>span=1,0,0,esf,b8zs,crc4<BR>bchan=1-23<BR>dchan=24</DIV>  <DIV> </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!  Using Primary channel 24 as D-channel anyway!<BR>Mar 19 15:33:58 WARNING[3322] chan_zap.c: No D-channels available!  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> </DIV>  <DIV>pri
 debug span<BR>----------------------<BR>> [ 00 01 0a 0a 03 01 00 07 01 01 c0 18 01 ac ]</DIV>  <DIV>> Informational frame:<BR>> SAPI: 00  C/R: 0 EA: 0<BR>>  TEI: 000        EA: 1<BR>> N(S): 005   0: 0<BR>> N(R): 005   P: 0<BR>> 10 bytes of data<BR>-- Restarting T203 counter<BR>Stopping T_203 timer<BR>Starting T_200 timer<BR>> Protocol Discriminator: AT&T Maintenance (3)  len=10<BR>> Call Ref: len= 1 (reference 0/0x0) (Originator)<BR>> Message type: CONNECT (7)<BR>> [01 01 c0]<BR>> IE: Change Status (len = 3)<BR>> [18 01 ac]<BR>> Channel ID (len= 3) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 1<BR>>                        ChanSel: As indicated in following
 octets<BR>                         ]<BR>(...)<BR>< [ 02 01 0a 0c 03 01 00 0f 01 01 c0 18 01 ac ]</DIV>  <DIV>< Informational frame:<BR>< SAPI: 00  C/R: 1 EA: 0<BR><  TEI: 000        EA: 1<BR>< N(S): 005   0: 0<BR>< N(R): 006   P: 0<BR>< 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>< Protocol Discriminator: AT&T Maintenance (3)  len=10<BR>< Call Ref: len= 1 (reference 0/0x0) (Originator)<BR>< Message type: CONNECT ACKNOWLEDGE (15)<BR>< [01 01 c0]<BR>< IE: Change Status (len = 3)<BR>< [18 01 ac]<BR>< Channel ID (len= 3) [ Ext: 1  IntID: Implicit, PRI Spare: 0,
 Exclusive Dchan: 1<BR><                        ChanSel: As indicated in following octets<BR>                         ]</DIV>  <DIV>(...)<BR>> Protocol Discriminator: Q.931 (8)  len=40<BR>> Call Ref: len= 2 (reference 2/0x2) (Originator)<BR>> Message type: SETUP (5)<BR>> [04 03 80 90 a2]<BR>> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)<BR>>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
 (16)<BR>>                              Ext: 1  User information layer 1: u-Law (34)<BR>> [18 03 a9 83 82]<BR>> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0<BR>>                        ChanSel: Reserved<BR>>                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3<BR>>                       Ext: 1  Channel: 2 ]<BR>> [1e 02 80 83]<BR>> Progress Indicator (len= 4) [ Ext: 1  Coding:
 CCITT (ITU) standard (0) 0: 0   Location: User (0)<BR>>                               Ext: 1  Progress Description: Calling equipment is non-ISDN. (3) ]<BR>> [6c 06 21 80 37 31 30 30]<BR>> Calling Number (len= 8) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<BR>>                           Presentation: Presentation permitted, user number not screened (0) '7100' ]<BR>> [70 0b a1 35 38 35 34 31 39 37 39 39 35]<BR>> Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '5854197995' ]<BR>(...)</DIV>  <DIV>< [ 02 01 53 ]</DIV>  <DIV>< Unnumbered
 frame:<BR>< SAPI: 00  C/R: 1 EA: 0<BR><  TEI: 000        EA: 1<BR><   M3: 2   P/F: 1 M2: 0 11: 3  [ DISC (disconnect) ]<BR>< 0 bytes of data<BR>-- Got Disconnect from peer.<BR>Sending Unnumbered Acknowledgement</DIV>  <DIV>> [ 02 01 73 ]</DIV>  <DIV>> Unnumbered frame:<BR>> SAPI: 00  C/R: 1 EA: 0<BR>>  TEI: 000        EA: 1<BR>>   M3: 3   P/F: 1 M2: 0 11: 3  [ UA (unnumbered acknowledgement) ]<BR>> 0 bytes of data<BR>-- Restarting T203 counter</DIV>  <DIV>> [ 00 01 00 00 08 02 00 02 45 08 02 81 90 ]</DIV>  <DIV>> Informational frame:<BR>> SAPI: 00  C/R: 0 EA: 0<BR>>  TEI: 000        EA: 1<BR>> N(S): 000   0: 0<BR>> N(R): 000   P: 0<BR>> 9 bytes of data<BR>Starting T_200 timer<BR>> Protocol Discriminator: Q.931
 (8)  len=9<BR>> Call Ref: len= 2 (reference 2/0x2) (Originator)<BR>> Message type: DISCONNECT (69)<BR>> [08 02 81 90]<BR>> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private network serving the local user (1)<BR>>                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]<BR></DIV>  <div>__________________________________________________<BR>Fale com seus amigos de graça com o novo Yahoo! Messenger <BR><A class=moz-txt-link-freetext href="http://br.messenger.yahoo.com/">http://br.messenger.yahoo.com/</A> </div><PRE wrap=""><HR width="90%" SIZE=4>  _______________________________________________  --Bandwidth and Colocation provided by Easynews.com --    asterisk-users mailing list  To UNSUBSCRIBE or update options visit:     <A class=moz-txt-link-freetext
 href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A>    </PRE></BLOCKQUOTE><BR>_______________________________________________<BR>--Bandwidth and Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE><BR><p> __________________________________________________<br>Fale com seus amigos  de graça com o novo Yahoo! Messenger <br>http://br.messenger.yahoo.com/