<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><p> __________________________________________________<br>Fale com seus amigos de graça com o novo Yahoo! Messenger <br>http://br.messenger.yahoo.com/