BRI can't dial out. Dial in is ok

intec
Posts: 1
Member Since:
2006-08-24

When i make a outgoing call this is what I get. What is that error "Message type: DISCONNECT (69)" PLEASE HELP :)

Enabled debugging on span 1
-- Executing Macro("SIP/202-0a14a8e0", "dialout-trunk|1|2262057050|") in new stack
-- Executing Set("SIP/202-0a14a8e0", "DIAL_TRUNK=1") in new stack
-- Executing Set("SIP/202-0a14a8e0", "DIAL_NUMBER=2262057050") in new stack
-- Executing Set("SIP/202-0a14a8e0", "ROUTE_PASSWD=") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,6)
-- Executing GotoIf("SIP/202-0a14a8e0", "0?disabletrunk|1") in new stack
-- Executing Set("SIP/202-0a14a8e0", "_NODEST=") in new stack
-- Executing Set("SIP/202-0a14a8e0", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing Set("SIP/202-0a14a8e0", "GROUP()=OUT_1") in new stack
-- Executing Macro("SIP/202-0a14a8e0", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("SIP/202-0a14a8e0", "user-callerid: device 202") in new stack
-- Executing Set("SIP/202-0a14a8e0", "AMPUSER=202") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "0?report") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "0?start") in new stack
-- Executing Set("SIP/202-0a14a8e0", "REALCALLERIDNUM=202") in new stack
-- Executing NoOp("SIP/202-0a14a8e0", "REALCALLERIDNUM is 202") in new stack
-- Executing Set("SIP/202-0a14a8e0", "AMPUSER=202") in new stack
-- Executing Set("SIP/202-0a14a8e0", "AMPUSERCIDNAME=Christos STAMOULTAS") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "0?report") in new stack
-- Executing Set("SIP/202-0a14a8e0", "AMPUSERCID=202") in new stack
-- Executing Set("SIP/202-0a14a8e0", "CALLERID(all)="Christos STAMOULTAS" <202>") in new stack
-- Executing Set("SIP/202-0a14a8e0", "REALCALLERIDNUM=202") in new stack
-- Executing NoOp("SIP/202-0a14a8e0", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing NoOp("SIP/202-0a14a8e0", "Using CallerID "Christos STAMOULTAS" <202>") in new stack
-- Executing Macro("SIP/202-0a14a8e0", "record-enable|202|OUT") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/202-0a14a8e0", "recordingcheck|20051203-225717|asterisk-2965-1133643437.25") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20051203-225717|asterisk-2965-1133643437.25: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/202-0a14a8e0", "No recording needed") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "0?skipoutcid") in new stack
-- Executing Set("SIP/202-0a14a8e0", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/202-0a14a8e0", "outbound-callerid|1") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/202-0a14a8e0", "REALCALLERIDNUM is 202") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("SIP/202-0a14a8e0", "USEROUTCID=") in new stack
-- Executing Set("SIP/202-0a14a8e0", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/202-0a14a8e0", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/202-0a14a8e0", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing GotoIf("SIP/202-0a14a8e0", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("SIP/202-0a14a8e0", "CallerID set to "Christos STAMOULTAS" <202>") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing AGI("SIP/202-0a14a8e0", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not open /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/202-0a14a8e0", "OUTNUM=2262057050") in new stack
-- Executing Set("SIP/202-0a14a8e0", "custom=ZAP/g0") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing Macro("SIP/202-0a14a8e0", "dialout-trunk-predial-hook") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "0?bypass|1") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "0?customtrunk") in new stack
-- Executing Dial("SIP/202-0a14a8e0", "ZAP/g0/2262057050|300|") in new stack
1 -- Making new call for cr 133
-- Requested transfer capability: 0x00 - SPEECH
1 > Protocol Discriminator: Q.931 (8) len=33
1 > Call Ref: len= 1 (reference 5/0x5) (Originator)
1 > Message type: SETUP (5)
1 > [04 03 80 90 a3]
1 > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
1 > Ext: 1 User information layer 1: A-Law (35)
1 > [18 01 89]
1 > Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
1 > ChanSel: B1 channel
1 ]
1 > [6c 05 41 80 32 30 32]
1 > Calling Number (len= 7) [ Ext: 0 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
1 > Presentation: Presentation permitted, user number not screened (0) '202' ]
1 > [70 0b a1 32 32 36 32 30 35 37 30 35 30]
1 > Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2262057050' ]
1 > [a1]
1 > Sending Complete (len= 1)
-- Called g0/2262057050
1 < Protocol Discriminator: Q.931 (8) len=7
1 < Call Ref: len= 1 (reference 133/0x85) (Terminator)
1 < Message type: CALL PROCEEDING (2)
1 < [18 01 89]
1 < Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
1 < ChanSel: B1 channel
1 ]
1 -- Processing IE 24 (cs0, Channel Identification)
-- Zap/1-1 is proceeding passing it to SIP/202-0a14a8e0
1 < Protocol Discriminator: Q.931 (8) len=16
1 < Call Ref: len= 1 (reference 133/0x85) (Terminator)
1 < Message type: DISCONNECT (69)
1 < [08 02 82 95]
1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
1 < Ext: 1 Cause: Call Rejected (21), class = Normal Event (1) ]
1 < [1e 02 82 88]
1 < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
1 < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
1 < [1e 02 82 82]
1 < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
1 < Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
1 -- Processing IE 8 (cs0, Cause)
1 -- Processing IE 30 (cs0, Progress Indicator)
1 -- Processing IE 30 (cs0, Progress Indicator)
-- Channel 0/1, span 1 got hangup request, cause 21
-- Channel 0/1, span 1 received AOC-E charging 0 units
-- Zap/1-1 is circuit-busy
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
1 > Protocol Discriminator: Q.931 (8) len=8
1 > Call Ref: len= 1 (reference 5/0x5) (Originator)
1 > Message type: RELEASE (77)
1 > [08 02 81 95]
1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
1 > Ext: 1 Cause: Call Rejected (21), class = Normal Event (1) ]
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Goto("SIP/202-0a14a8e0", "s-CONGESTION|1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing GotoIf("SIP/202-0a14a8e0", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,3)
-- Executing NoOp("SIP/202-0a14a8e0", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
-- Executing Macro("SIP/202-0a14a8e0", "outisbusy|") in new stack
-- Executing Playback("SIP/202-0a14a8e0", "all-circuits-busy-now|noanswer") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
1 < Protocol Discriminator: Q.931 (8) len=4
1 < Call Ref: len= 1 (reference 133/0x85) (Terminator)
1 < Message type: RELEASE COMPLETE (90)
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
1 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Executing Playback("SIP/202-0a14a8e0", "pls-try-call-later|noanswer") in new stack
-- Playing 'pls-try-call-later' (language 'en')
== Primary D-Channel on span 4 down
== Primary D-Channel on span 3 down
-- Executing Macro("SIP/202-0a14a8e0", "hangupcall") in new stack
-- Executing ResetCDR("SIP/202-0a14a8e0", "w") in new stack
-- Executing NoCDR("SIP/202-0a14a8e0", "") in new stack
-- Executing GotoIf("SIP/202-0a14a8e0", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("SIP/202-0a14a8e0", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing GotoIf("SIP/202-0a14a8e0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing Hangup("SIP/202-0a14a8e0", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-0a14a8e0' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-0a14a8e0' in macro 'outisbusy'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/202-0a14a8e0'

This is my channel
Channel: 1CLI>
File Descriptor: 13
Span: 1
Extension: LI>
Dialing: no
Context: from-zaptel
Caller ID: 2106726404
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0CLI>
Signalling Type: PRI Signalling
Radio: 0
Owner:
Real:
Callwait:
Threeway:
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps, currently OFF
PRI Flags:
PRI Logical Span: Implicit
Hookstate (FXS only): Onhook

Thanks



W1zz
Posts: 562
Member Since:
2006-05-31
The reason the call fails -

The reason the call fails -

Quote:
Progress Description: Called equipment is non-ISDN.
--

Alan

install-ZAPHFC

Look here for more help.
Current version is 1.4.0 (25 January 2008)



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.