[Asterisk-Users] problame with outbound calls on pri
Doug Langley
dlangley at gigo.com
Sat Apr 29 22:33:47 MST 2006
Hi. recently I have been trying to setup a PRI on asterisk. Inbound
calls are working just fine but I am not able to make outbound
calls. Does anyone know what I need to change to make outbound
calls work? Right now the PRI is instantly hanging up on the outbound calls.
I have included full debug info as well as config files.
/etc/zaptel.conf
span=1,1,1,esf,b8zs
bchan=1-23
dchan=24
loadzone=us
defaultzone=us
relevant portions of zapata.conf:
[trunkgroups]
[channels]
language=en
context=from-pstn
pridialplan=unknown
signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master
;signaling=em_w
switchtype=4ess
group=0
channel => 1-23
debug info:
-- Executing Dial("SIP/202-2d92", "zap/g0/18005551212") in new stack
-- Making new call for cr 32771
-- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8) len=48
> Call Ref: len= 2 (reference 3/0x3) (Originator)
> Message type: SETUP (5)
> [04 02 80 90]
> Bearer Capability (len= 4) [ Ext: 1 Q.931 Std: 0 Info transfer
capability: Speech (0)
> Ext: 1 Trans mode/rate: 64kbps,
circuit-mode (16)
> Ext: 0 User information layer 1: Unknown (24)
> [18 03 a9 83 81]
> 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: 1 ]
> [28 0f b1 74 65 73 74 20 65 78 74 65 6e 73 69 6f 6e]
> Display (len=15) Charset: 31 [ test extension ]
> [6c 05 21 83 32 30 32]
> Calling Number (len= 7) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> Presentation: Presentation allowed of
network provided number (3) '202' ]
> [70 08 80 33 38 31 36 30 36 38]
> Called Number (len=10) [ Ext: 1 TON: Unknown Number Type
(0) NPI: Unknown Number Plan (0) '18005551212' ]
-- Called g0/18005551212
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 3/0x3) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 03 83 e0 20]
< Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0:
0 Location: Transit network (3)
< Ext: 1 Cause: Unknown (96), class = Protocol Error (6) ]
< Cause data 1: 20 (32)
-- Processing IE 8 (cs0, Cause)
-- Channel 0/1, span 1 got hangup
-- Channel 0/1, span 1 received AOC-E charging 0 units
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
More information about the asterisk-users
mailing list