[asterisk-users] Constant ''CHANUNAVAIL' on PRI for Outgoing Only
Jason Kirby
jkirby10 at gmail.com
Thu Apr 17 06:41:38 CDT 2008
Hi,
I'm hoping that somebody could possibly assist me with this. I've tried
everything and I believe that my settings and configurations are 100% -
CentOS 5.1 - 2.6.18-53.1.14.el5
Asterisk 1.4.19
libpri-1.4.3
zaptel-1.4.9
Connected via a Digium TE122P to a E1 PRI
Incoming on any one of the numbers assigned to the E1 work fine and arrive
at the Asterisk demo.
No outgoing calls work and the following error is given:
-- Executing [0215512345 at outbound:1] Dial("SIP/4700-085de988",
"Zap/g0/0215512345|300|Ttr") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/0215512345
-- Channel 0/1, span 1 got hangup, cause 44
-- Forcing restart of channel 0/1 on span 1 since channel reported in
use
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'SIP/4700-085de988' status is 'CHANUNAVAIL'
-- B-channel 0/1 successfully restarted on span 1
Here are all my settings related to this including an attached output of a
"pri intense debug span 1" as span-debug.txt
I really hope that somebody is able to assist me as the Telco says nothing
is wrong on their side (even though they are sending somebody out to come
verify)
Thanks in advance!
--------------------------------------------------------------------------------------------------------------------------------------------
/etc/zaptel.conf
#
# Zaptel Configuration File
#
span=1,1,0,ccs,hdb3,crc4
loadzone = za
defaultzone= za
bchan=1-15,17-31
dchan=16
#channel=1-15,17-31
--------------------------------------------------------------------------------------------------------------------------------------------
/etc/asterisk/zapata.conf
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-pstn
signalling=fxs_ks
rxwink=200
usecallerid=no
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
rxgain=0.0
txgain=-1.0
group=0
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busypattern=2500,500
busycount=2
callprogress=no
hanguponpolarityswitch=no
callerid=asreceived
cidsignalling=v23
cidstart=ring
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
priindication = outofband
callerid=asreceived
jitterbuffers=6
; PRI card - 1st span
switchtype = euroisdn
signalling = pri_cpe
group = 0
context = demo
channel => 1-15,17-31
--------------------------------------------------------------------------------------------------------------------------------------------
[root at pri1 ~]# cat /proc/zaptel/1
Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) HDB3/CCS/CRC4
IRQ misses: 22
1 WCT1/0/1 Clear (In use)
2 WCT1/0/2 Clear (In use)
3 WCT1/0/3 Clear (In use)
4 WCT1/0/4 Clear (In use)
5 WCT1/0/5 Clear (In use)
6 WCT1/0/6 Clear (In use)
7 WCT1/0/7 Clear (In use)
8 WCT1/0/8 Clear (In use)
9 WCT1/0/9 Clear (In use)
10 WCT1/0/10 Clear (In use)
11 WCT1/0/11 Clear (In use)
12 WCT1/0/12 Clear (In use)
13 WCT1/0/13 Clear (In use)
14 WCT1/0/14 Clear (In use)
15 WCT1/0/15 Clear (In use)
16 WCT1/0/16 HDLCFCS (In use)
17 WCT1/0/17 Clear (In use)
18 WCT1/0/18 Clear (In use)
19 WCT1/0/19 Clear (In use)
20 WCT1/0/20 Clear (In use)
21 WCT1/0/21 Clear (In use)
22 WCT1/0/22 Clear (In use)
23 WCT1/0/23 Clear (In use)
24 WCT1/0/24 Clear (In use)
25 WCT1/0/25 Clear (In use)
26 WCT1/0/26 Clear (In use)
27 WCT1/0/27 Clear (In use)
28 WCT1/0/28 Clear (In use)
29 WCT1/0/29 Clear (In use)
30 WCT1/0/30 Clear (In use)
31 WCT1/0/31 Clear (In use)
[root at pri1 ~]#
--------------------------------------------------------------------------------------------------------------------------------------------
"pri intense debug span 1", - attached as a text file due to its length.
--------------------------------------------------------------------------------------------------------------------------------------------
/var/log/asterisk/full - not found, only:
[root at pri1 ~]# ls /var/log/asterisk/
cdr-csv cdr-custom event_log event_log.0 messages messages.0
queue_log queue_log.0
however the only usefull output of messages:
[Apr 16 21:17:30] WARNING[9905] app_dial.c: Unable to create channel of type
'Zap' (cause 0 - Unknown)
--------------------------------------------------------------------------------------------------------------------------------------------
extensions.conf :
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
;CONSOLE=Zap/1
;CONSOLE=Phone/phone0
IAXINFO=guest ; IAXtel username/password
;IAXINFO=myuser:mypass
;TRUNK=Zap/1 ; Trunk interface
TRUNK=Zap/g0 ; Trunk interface
INCOMING=IAX2
[default]
include => demo
[outbound]
;exten => _X.,1,dial(${TRUNK}/${EXTEN},300,Ttr)
exten => _X.,1,dial(Zap/g0/${EXTEN},300,Ttr)
--------------------------------------------------------------------------------------------------------------------------------------------
Please let me know if anything else is required.
Regards,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080417/aec4483e/attachment.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: span-debug.txt
Url: http://lists.digium.com/pipermail/asterisk-users/attachments/20080417/aec4483e/attachment.txt
More information about the asterisk-users
mailing list