Asterisk dialing out on BT IDSN


#1

Hi,

I have setup asterisk and all seems to be working fine apart from the out going calls. I can make incoming calls, but when I try and make a call out from asterisk it tells me that it has hangup the call. Below is the log from asterisk making the call. Any help on this would be brill!!

bc*CLI> PRI Debug Span 1
Enabled debugging on span 1
– Executing Dial(“SIP/1001-5440”, “Zap/g1/07939829390”) in new stack
– Making new call for cr 32774

Protocol Discriminator: Q.931 (8) len=53
Call Ref: len= 2 (reference 6/0x6) (Originator)
Message type: SETUP (5)
[04 03 80 90 a3]
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: A-Law (35)
[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 0d 47 65 6f 66 66 20 42 61 72 74 72 75 6d]
Display (len=13) ôÍ[ Geoff Bartrum ]
[6c 06 21 80 31 30 30 31]
Calling Number (len= 8) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
Presentation: Presentation permitted, user number not screened (0) ‘1001’ ]
[70 0c a1 30 37 39 33 39 38 32 39 33 39 30]
Called Number (len=14) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘07939829390’ ]
[a1]
Sending Complete (len= 1)
– Called g1/07939829390
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: CALL PROCEEDING (2)
< [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 ]
– Processing IE 24 (cs0, Channel Identification)
< Protocol Discriminator: Q.931 (8) len=13
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 82 81]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
– Processing IE 8 (cs0, Cause)
– Processing IE 30 (cs0, Progress Indicator)
– Channel 0/1, span 1 got hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 6/0x6) (Originator)
Message type: RELEASE (77)
[08 02 81 81]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
– Hungup ‘Zap/1-1’
== No one is available to answer at this time (1:0/0/0)
== Auto fallthrough, channel ‘SIP/1001-5440’ status is ‘NOANSWER’
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null

It seems to be making the call but it droping it.

Many Thanks

Chris


#2

Hi,

The problem was pridialplan and prilocaldialplan.

It is all working now.

switchtype=euroisdn
signalling=pri_cpe
pridialplan=unknown
prilocaldialplan=unknown
group = 1
;channel => 1-23
context=incoming
channel => 1-15,17-31

Thanks Chris.