[Asterisk-Users] Any thoughts on why I can't dial out my PRI?

Matt mhoppes at gmail.com
Thu May 5 13:06:56 MST 2005


When I try to make a call out my PRI I get 'all-circuits-are-busy-now'
from allison... and I get:

May  5 16:02:05 DEBUG[1337]: Call from user '200' is 1 out of 0

May  5 16:02:05 VERBOSE[1337]:     -- Executing Macro("SIP/200-36c5",
"dialout-trunk|1|3232166") in new stack
May  5 16:02:05 DEBUG[1337]: Expression is '1'
May  5 16:02:05 VERBOSE[1337]:     -- Executing GotoIf("SIP/200-36c5",
"1?4") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Goto (macro-dialout-trunk,s,4)
May  5 16:02:05 DEBUG[1337]: Expression is '1'
May  5 16:02:05 VERBOSE[1337]:     -- Executing GotoIf("SIP/200-36c5",
"1?6") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Goto (macro-dialout-trunk,s,6)
May  5 16:02:05 VERBOSE[1337]:     -- Executing
SetGroup("SIP/200-36c5", "OUT_1") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Executing
CheckGroup("SIP/200-36c5", "23") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Executing SetVar("SIP/200-36c5",
"DIAL_NUMBER=3232166") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Executing SetVar("SIP/200-36c5",
"DIAL_TRUNK=1") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Executing Dial("SIP/200-36c5",
"ZAP/g1/3232166") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Called g1/3232166
May  5 16:02:05 DEBUG[1337]: Ooh, format changed from unknown to ulaw

May  5 16:02:05 VERBOSE[1337]:     -- Channel 0/1, span 1 got hangup
May  5 16:02:05 WARNING[1337]: Unable to forward voice
May  5 16:02:05 DEBUG[1337]: Set option AUDIO MODE, value: ON(1) on Zap/1-1
May  5 16:02:05 DEBUG[1337]: Hangup: channel: 1 index = 0, normal =
18, callwait = -1, thirdcall = -1
May  5 16:02:05 DEBUG[1337]: Already hungup...  Calling hangup once,
and clearing call
May  5 16:02:05 DEBUG[1337]: Set option TDD MODE, value: OFF(0) on Zap/1-1
May  5 16:02:05 DEBUG[1337]: Updated conferencing on 1, with 0 conference users
May  5 16:02:05 DEBUG[1337]: Set option AUDIO MODE, value: OFF(0) on Zap/1-1
May  5 16:02:05 VERBOSE[1337]:     -- Hungup 'Zap/1-1'
May  5 16:02:05 VERBOSE[1337]:   == No one is available to answer at this time
May  5 16:02:05 DEBUG[1337]: Exiting with DIALSTATUS=NOANSWER.
May  5 16:02:05 VERBOSE[1337]:     -- Executing Macro("SIP/200-36c5",
"outisbusy") in new stack
May  5 16:02:05 VERBOSE[1337]:     -- Executing
Playback("SIP/200-36c5", "allison7/all-circuits-busy-now") in new
stack

-------------------------------

/etc/asterisk/zapata.conf looks like:
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone=us

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-pstn
#switchtype=5ess
switchtype=dms100
# have also tried national as the circuit is an ni2
signalling=pri_cpe

;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

channel => 1-23

#include zapata-channels.conf


------------
Finally zapata-channels.conf has:
; Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
; channel 1, WCT1, unhandled for now
; channel 2, WCT1, unhandled for now
; channel 3, WCT1, unhandled for now
; channel 4, WCT1, unhandled for now
; channel 5, WCT1, unhandled for now
; channel 6, WCT1, unhandled for now
; channel 7, WCT1, unhandled for now
; channel 8, WCT1, unhandled for now
; channel 9, WCT1, unhandled for now
; channel 10, WCT1, unhandled for now
; channel 11, WCT1, unhandled for now
; channel 12, WCT1, unhandled for now
; channel 13, WCT1, unhandled for now
; channel 14, WCT1, unhandled for now
; channel 15, WCT1, unhandled for now
; channel 16, WCT1, unhandled for now
; channel 17, WCT1, unhandled for now
; channel 18, WCT1, unhandled for now
; channel 19, WCT1, unhandled for now
; channel 20, WCT1, unhandled for now
; channel 21, WCT1, unhandled for now
; channel 22, WCT1, unhandled for now
; channel 23, WCT1, unhandled for now
; channel 24, WCT1, unhandled for now


A pri debug span 1 shows:
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931
(8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator:
Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 9cMay  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator:
Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 9c]
May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 9c]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 9c]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Invalid number format (28), class =
Normal Event (1) ]
May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 9c]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Invalid number format (28), class =
Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
May  5 16:06:02 VERBOSE[1337]: < Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: STATUS (125)
< [08 03 80 e3 28]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Info. element nonexist or not
implemented (99), class = Protocol Error (6) ]
<              Cause data 1: 28 (40)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 32771/0x8003) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 80 9c]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
<                  Ext: 1  Cause: Invalid number format (28), class =
Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)


Any thoughts?



More information about the asterisk-users mailing list