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 [EMAIL PROTECTED]: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
--------------------------------------------------------------------------------------------------------------------------------------------
[EMAIL PROTECTED] ~]# 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)
[EMAIL PROTECTED] ~]#
--------------------------------------------------------------------------------------------------------------------------------------------
"pri intense debug span 1", - attached as a text file due to its length.
--------------------------------------------------------------------------------------------------------------------------------------------
/var/log/asterisk/full - not found, only:
[EMAIL PROTECTED] ~]# 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
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.04.16 21:15:55 =~=~=~=~=~=~=~=~=~=~=~=
clearasterisk -rvvvvvvvvvvvvvvv
Asterisk 1.4.19, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <[EMAIL PROTECTED]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.19 currently running on pri1 (pid = 9514)
pri1*CLI>
Verbosity is at least 15
[Kpri1*CLI>
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (2)
> [ 00 01 01 05 ]
> Supervisory frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 002 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
[Kpri1*CLI> < [ 02 01 01 09 ]
< Supervisory frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 004 P/F: 1
< 0 bytes of data
-- ACKing all packets from 3 to (but not including) 4
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
[Kpri1*CLI> < [ 00 01 01 09 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 004 P/F: 1
< 0 bytes of data
-- ACKing all packets from 3 to (but not including) 4
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (2)
> [ 02 01 01 05 ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 002 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
[Kpri1*CLI>
-- Executing [EMAIL PROTECTED]:1]
[1;36;40mDial[0;37;40m("[1;35;40mSIP/4700-095522e0[0;37;40m",
"[1;35;40mZap/1/0215512345|300|Ttr[0;37;40m") in new stack
[Kpri1*CLI>
[Apr 16 21:17:30] [1;31;40mWARNING[0;37;40m[9905]:
[1;37;40mapp_dial.c[0;37;40m:[1;37;40m1183[0;37;40m
[1;37;40mdial_exec_full[0;37;40m: Unable to create channel of type 'Zap'
(cause 0 - Unknown)
[Kpri1*CLI>
== Everyone is busy/congested at this time (1:0/0/1)
[Kpri1*CLI>
-- Executing [EMAIL PROTECTED]:2]
[1;36;40mDial[0;37;40m("[1;35;40mSIP/4700-095522e0[0;37;40m",
"[1;35;40mZap/g0/0215512345|300|Ttr[0;37;40m") in new stack
[Kpri1*CLI>
-- Making new call for cr 32776
[Kpri1*CLI>
-- Requested transfer capability: 0x00 - SPEECH
[Kpri1*CLI> > [ 00 01 08 04 08 02 00 08 05 04 03 80 90 a3 18 03 a9 83 83 6c 06
00 80 34 37 30 30 70 0b 80 30 32 31 35 35 31 32 33 34 35 a1 ]
[Kpri1*CLI> > Informational frame:
[Kpri1*CLI>
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
[Kpri1*CLI>
> N(S): 004 0: 0
> N(R): 002 P: 0
> 37 bytes of data
[Kpri1*CLI>
-- Restarting T203 counter
[Kpri1*CLI>
Stopping T_203 timer
[Kpri1*CLI>
Starting T_200 timer
[Kpri1*CLI>
> Protocol Discriminator: Q.931 (8) len=37
[Kpri1*CLI>
> Call Ref: len= 2 (reference 8/0x8) (Originator)
[Kpri1*CLI>
> Message type: SETUP (5)
[Kpri1*CLI>
> [04 03 80 90 a3]
[Kpri1*CLI>
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability:
> Speech (0)
[Kpri1*CLI>
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode
> (16)
[Kpri1*CLI>
> Ext: 1 User information layer 1: A-Law (35)
[Kpri1*CLI>
> [18 03 a9 83 83]
[Kpri1*CLI>
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive
> Dchan: 0
[Kpri1*CLI>
> ChanSel: Reserved
[Kpri1*CLI>
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
[Kpri1*CLI>
> Ext: 1 Channel: 3 ]
[Kpri1*CLI>
> [6c 06 00 80 34 37 30 30]
[Kpri1*CLI>
> Calling Number (len= 8) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown
> Number Plan (0)
[Kpri1*CLI>
> Presentation: Presentation permitted, user number
> not screened (0) '4700' ]
[Kpri1*CLI>
> [70 0b 80 30 32 31 35 35 31 32 33 34 35]
[Kpri1*CLI>
> Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown
> Number Plan (0) '0215512345' ]
[Kpri1*CLI>
> [a1]
[Kpri1*CLI>
> Sending Complete (len= 1)
[Kpri1*CLI>
q931.c:2881 q931_setup: call 32776 on channel 3 enters state 1 (Call Initiated)
[Kpri1*CLI>
-- Called g0/0215512345
[Kpri1*CLI> < [ 00 01 01 0a ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 005 P/F: 0
< 0 bytes of data
-- ACKing all packets from 3 to (but not including) 5
-- ACKing packet 4, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
[Kpri1*CLI> < [ 02 01 04 0a 08 02 80 08 5a 08 02 82 ac ]
< Informational frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< N(S): 002 0: 0
< N(R): 005 P: 0
< 9 bytes of data
-- ACKing all packets from 4 to (but not including) 5
-- 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 8/0x8) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 82 ac]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0
Location: Public network serving the local user (2)
< Ext: 1 Cause: Requested channel not available (44), class
= Network Congestion (resource unavailable) (2) ]
-- Processing IE 8 (cs0, Cause)
q931.c:3503 q931_receive: call 32776 on channel 3 enters state 0 (Null)
Sending Receiver Ready (3)
> [ 02 01 01 06 ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 003 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
-- Channel 0/3, span 1 got hangup, cause 44
-- Forcing restart of channel 0/3 on span 1 since channel reported in use
q931.c:2755 q931_restart: call 32768 on channel 3 enters state 62 (Restart)
> [ 00 01 0a 06 08 02 00 00 46 18 03 a9 83 83 79 01 80 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> N(S): 005 0: 0
> N(R): 003 P: 0
> 13 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8) len=13
> Call Ref: len= 2 (reference 0/0x0) (Originator)
> Message type: RESTART (70)
> [18 03 a9 83 83]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive
> Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 3 ]
> [79 01 80]
> Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel
> (0) ]
[Kpri1*CLI>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
[Kpri1*CLI>
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
[Kpri1*CLI>
-- Hungup 'Zap/3-1'
[Kpri1*CLI>
== Everyone is busy/congested at this time (1:0/0/1)
[Kpri1*CLI>
== Auto fallthrough, channel 'SIP/4700-095522e0' status is 'CHANUNAVAIL'
[Kpri1*CLI> < [ 00 01 01 0c ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 006 P/F: 0
< 0 bytes of data
-- ACKing all packets from 4 to (but not including) 6
-- ACKing packet 5, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
[Kpri1*CLI> < [ 02 01 06 0c 08 02 80 00 4e 18 03 a9 83 83 79 01 80 ]
< Informational frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< N(S): 003 0: 0
< N(R): 006 P: 0
< 13 bytes of data
-- ACKing all packets from 5 to (but not including) 6
-- 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=13
< Call Ref: len= 2 (reference 0/0x0) (Terminator)
< Message type: RESTART ACKNOWLEDGE (78)
< [18 03 a9 83 83]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
[Kpri1*CLI>
< Ext: 1 Channel: 3 ]
< [79 01 80]
< Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel
(0) ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 121 (cs0, Restart Indicator)
q931.c:3581 q931_receive: call 32768 on channel 3 enters state 0 (Null)
Sending Receiver Ready (4)
> [ 02 01 01 08 ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 004 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
-- B-channel 0/3 successfully restarted on span 1
[Kpri1*CLI> quitExecuting last minute cleanups
]0;[EMAIL PROTECTED]:[EMAIL PROTECTED] ~]# _______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users