[Asterisk-Users] Problem making outbound calls on TE210P using NFAS
Aldo Gonzalez
aldo at totalaldo.com
Thu Feb 16 08:57:34 MST 2006
Hello,
I'm running Asterisk at home 2.5
asterisk 1.2.4
zapatel 1.2.2
libpri 1.2.2
on a Dell Poweredge 2850 (1 CPU) with a TE210P
I have 2 t1 circuits using NFAS with dchan on 24 and no backup dchan. I am able to receive inbound
calls on all channels and can only make outbound calls on channels 25-48.
Attempting to make an outbound call on channels 1-23 results in congestion.
---------------------------
[/etc/zaptel.conf]
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" B8ZS/ESF ClockSource
# ??: 1 TE2/0/1/1 Clear
# ??: 2 TE2/0/1/2 Clear
# ??: 3 TE2/0/1/3 Clear
# ??: 4 TE2/0/1/4 Clear
# ??: 5 TE2/0/1/5 Clear
# ??: 6 TE2/0/1/6 Clear
# ??: 7 TE2/0/1/7 Clear
# ??: 8 TE2/0/1/8 Clear
# ??: 9 TE2/0/1/9 Clear
# ??: 10 TE2/0/1/10 Clear
# ??: 11 TE2/0/1/11 Clear
# ??: 12 TE2/0/1/12 Clear
# ??: 13 TE2/0/1/13 Clear
# ??: 14 TE2/0/1/14 Clear
# ??: 15 TE2/0/1/15 Clear
# ??: 16 TE2/0/1/16 Clear
# ??: 17 TE2/0/1/17 Clear
# ??: 18 TE2/0/1/18 Clear
# ??: 19 TE2/0/1/19 Clear
# ??: 20 TE2/0/1/20 Clear
# ??: 21 TE2/0/1/21 Clear
# ??: 22 TE2/0/1/22 Clear
# ??: 23 TE2/0/1/23 Clear
# ??: 24 TE2/0/1/24 HDLCFCS
# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" B8ZS/ESF
# ??: 25 TE2/0/2/1 Clear
# ??: 26 TE2/0/2/2 Clear
# ??: 27 TE2/0/2/3 Clear
# ??: 28 TE2/0/2/4 Clear
# ??: 29 TE2/0/2/5 Clear
# ??: 30 TE2/0/2/6 Clear
# ??: 31 TE2/0/2/7 Clear
# ??: 32 TE2/0/2/8 Clear
# ??: 33 TE2/0/2/9 Clear
# ??: 34 TE2/0/2/10 Clear
# ??: 35 TE2/0/2/11 Clear
# ??: 36 TE2/0/2/12 Clear
# ??: 37 TE2/0/2/13 Clear
# ??: 38 TE2/0/2/14 Clear
# ??: 39 TE2/0/2/15 Clear
# ??: 40 TE2/0/2/16 Clear
# ??: 41 TE2/0/2/17 Clear
# ??: 42 TE2/0/2/18 Clear
# ??: 43 TE2/0/2/19 Clear
# ??: 44 TE2/0/2/20 Clear
# ??: 45 TE2/0/2/21 Clear
# ??: 46 TE2/0/2/22 Clear
# ??: 47 TE2/0/2/23 Clear
# ??: 48 TE2/0/2/24 Clear
span=1,1,0,esf,b8zs
span=2,2,0,esf,b8zs
bchan=1-23,25-48
dchan=24
loadzone = us
defaultzone = us
---------------------------
[/etc/asterisk/zapata.conf]
[trunkgroups]
trunkgroup=>1,24
spanmap => 1,1,1
spanmap => 2,1,2
[channels]
language=en
context=from-pstn
group=1
signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master
switchtype=5ess
pridialplan=national
callerid=asreceived under ;usedistinctiveringdetection=yes
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes ; default - no
echotraining=400 ; default 800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=yes
channel => 1-23,25-48
#include zapata-auto.conf
#include zapata_additional.conf
---------------------------
[/etc/sysconfig/zaptel]
MODULES="$MODULES wct2xxp"
---------------------------
Below is a snippet of /var/log/asterisk/full when attempting to make outbound call via lower
channels:
Feb 16 10:41:34 VERBOSE[3878] logger.c: -- Executing GotoIf("SIP/2002-2290", "0?16") in new
stack
Feb 16 10:41:34 DEBUG[3878] pbx.c: Not taking any branch
Feb 16 10:41:34 VERBOSE[3878] logger.c: -- Executing Dial("SIP/2002-
2290", "ZAP/g1/xxxxxxxxxx") in new stack
Feb 16 10:41:34 VERBOSE[3878] logger.c: -- Requested transfer capability: 0x00 - SPEECH
Feb 16 10:41:34 VERBOSE[3878] logger.c: -- Called g1/xxxxxxxxxx
Feb 16 10:41:35 VERBOSE[3368] logger.c: -- Channel 1/2, span 1 got hangup
Feb 16 10:41:35 VERBOSE[3878] logger.c: -- Zap/2-1 is circuit-busy
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/2-1
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: Hangup: channel: 2 index = 0, normal = 15, callwait = -1,
thirdcall = -1
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: Already hungup... Calling hangup once, and clearing call
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: disabled echo cancellation on channel 2
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/2-1
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: Updated conferencing on 2, with 0 conference users
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/2-1
Feb 16 10:41:35 DEBUG[3878] chan_zap.c: disabled echo cancellation on channel 2
Feb 16 10:41:35 VERBOSE[3878] logger.c: -- Hungup 'Zap/2-1'
Feb 16 10:41:35 VERBOSE[3878] logger.c: == Everyone is busy/congested at this time (1:0/1/0)
Feb 16 10:41:35 DEBUG[3878] app_dial.c: Exiting with DIALSTATUS=CONGESTION.
where xxxxxxxxxx is a phone number
---------------------------
Enabling
CLI> pri intense debug span 1
-- Executing Dial("SIP/2002-8576", "ZAP/g1/18009993355") in new stack
-- Requested transfer capability: 0x00 - SPEECH
> [ 00 01 ce d2 08 02 00 07 05 04 03 80 90 a2 18 04 e9 81 83 82 6c 0c 21 80 38 30 30 34 35 36 32
30 39 39 70 0c a1 31 38 30 30 39 39 39 33 33 35 35 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> N(S): 103 0: 0
> N(R): 105 P: 0
> 44 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8) len=44
> Call Ref: len= 2 (reference 7/0x7) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a2]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> Ext: 1 User information layer 1: u-Law (34)
> [18 04 e9 81 83 82]
> Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 DS1 Identifier: 1
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 2 ]
> [6c 0c 21 80 38 30 30 34 35 36 32 30 39 39]
> Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan
(E.164/E.163) (1)
> Presentation: Presentation permitted, user number not screened
(0) '8004562099' ]
> [70 0c a1 31 38 30 30 39 39 39 33 33 35 35]
> Called Number (len=14) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan
(E.164/E.163) (1) '18009993355' ]
asterisk1*CLI>
< [ 00 01 01 d0 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 104 P/F: 0
< 0 bytes of data
-- ACKing all packets from 102 to (but not including) 104
-- ACKing packet 103, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
< [ 02 01 d2 d0 08 02 80 07 5a 08 02 80 a2 ]
< Informational frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< N(S): 105 0: 0
< N(R): 104 P: 0
< 9 bytes of data
-- ACKing all packets from 103 to (but not including) 104
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 7/0x7) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 a2]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
< Ext: 1 Cause: Unknown (34), class = Network Congestion (2) ]
Sending Receiver Ready (106)
> [ 02 01 01 d4 ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 106 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
-- Channel 1/2, span 1 got hangup
-- Called g1/18009993355
-- Zap/2-1 is circuit-busy
-- Hungup 'Zap/2-1'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Goto("SIP/2002-8576", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing NoOp("SIP/2002-8576", "Dial failed due to CONGESTION") in new stack
-- Executing Macro("SIP/2002-8576", "outisbusy") in new stack
-- Executing Playback("SIP/2002-8576", "all-circuits-busy-now") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
-- Executing Playback("SIP/2002-8576", "pls-try-call-later") in new stack
-- Playing 'pls-try-call-later' (language 'en')
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/2002-8576' in
macro 'outisbusy'
== Spawn extension (from-internal, 818009993355, 2) exited non-zero on 'SIP/2002-8576'
-- Executing Macro("SIP/2002-8576", "hangupcall") in new stack
-- Executing ResetCDR("SIP/2002-8576", "w") in new stack
-- Executing NoCDR("SIP/2002-8576", "") in new stack
-- Executing Wait("SIP/2002-8576", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/2002-8576' in
macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2002-8576'
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (106)
> [ 00 01 01 d5 ]
> Supervisory frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 106 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
asterisk1*CLI>
< [ 00 01 01 d1 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 104 P/F: 1
< 0 bytes of data
-- ACKing all packets from 103 to (but not including) 104
Thanks in advance,
Aldo
More information about the asterisk-users
mailing list