<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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>
<p> __________________________________________________<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> </p>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--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>
</body>
</html>