Hi,
I’m trying to detect disconnected numbers on a PRI E1. When a dial a bad number, I get the undocumented “PROGRESS with cause code 114”. 15 seconds later, the line hangs up with status ‘NOANSWER’.
How can I detect disconnected number ?
Thanks.
event_log :
[code][Oct 3 12:53:58] VERBOSE[3764] logger.c: – Executing [04444@default:1] NoOp(“Console/dsp”, “”) in new stack
[Oct 3 12:53:58] VERBOSE[3764] logger.c: – Executing [04444@default:2] Dial(“Console/dsp”, “ZAP/g2d/4444”) in new stack
[Oct 3 12:53:58] VERBOSE[3764] logger.c: – Making new call for cr 34408
[Oct 3 12:53:58] VERBOSE[3764] logger.c: – Requested transfer capability: 0x00 - SPEECH
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Protocol Discriminator: Q.931 (8) len=27
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Call Ref: len= 2 (reference 1640/0x668) (Originator)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Message type: SETUP (5)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > [04 03 80 90 a3]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Ext: 1 User information layer 1: A-Law (35)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > [18 03 a9 83 81]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > ChanSel: Reserved
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Ext: 1 Coding: 0 Number Specified Channel Type: 3
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Ext: 1 Channel: 1 ]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > [6c 02 21 81]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Calling Number (len= 4) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Presentation: Presentation permitted, user number passed network screening (1) ‘’ ]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > [70 05 a1 34 34 34 34]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Called Number (len= 7) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘4444’ ]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > [a1]
[Oct 3 12:53:58] VERBOSE[3764] logger.c: > Sending Complete (len= 1)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: q931.c:2881 q931_setup: call 34408 on channel 1 enters state 1 (Call Initiated)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: – Called g2d/4444
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Protocol Discriminator: Q.931 (8) len=10
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Call Ref: len= 2 (reference 1640/0x668) (Terminator)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Message type: CALL PROCEEDING (2)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < [18 03 a9 83 81]
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < ChanSel: Reserved
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Ext: 1 Coding: 0 Number Specified Channel Type: 3
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Ext: 1 Channel: 1 ]
[Oct 3 12:53:58] VERBOSE[27380] logger.c: – Processing IE 24 (cs0, Channel Identification)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: q931.c:3428 q931_receive: call 34408 on channel 1 enters state 3 (Outgoing call Proceeding)
[Oct 3 12:53:58] VERBOSE[3764] logger.c: – Zap/32-1 is proceeding passing it to Console/dsp
[Oct 3 12:53:58] WARNING[3764] chan_oss.c: Don’t know how to display condition 15 on Console/dsp
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Protocol Discriminator: Q.931 (8) len=13
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Call Ref: len= 2 (reference 1640/0x668) (Terminator)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Message type: PROGRESS (3)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < [08 02 87 f2]
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: International network (7)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Ext: 1 Cause: Unknown (114), class = Interworking (7) ]
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < [1e 02 82 81]
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: < Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
[Oct 3 12:53:58] VERBOSE[27380] logger.c: – Processing IE 8 (cs0, Cause)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: – Processing IE 30 (cs0, Progress Indicator)
[Oct 3 12:53:58] VERBOSE[27380] logger.c: – PROGRESS with cause code 114 received
[Oct 3 12:53:58] VERBOSE[3764] logger.c: – Zap/32-1 is making progress passing it to Console/dsp
[Oct 3 12:53:58] WARNING[3764] chan_oss.c: Don’t know how to display condition 14 on Console/dsp
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Protocol Discriminator: Q.931 (8) len=5
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Call Ref: len= 2 (reference 1640/0x668) (Terminator)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Message type: PROGRESS (3)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Protocol Discriminator: Q.931 (8) len=13
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Call Ref: len= 2 (reference 1640/0x668) (Terminator)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Message type: PROGRESS (3)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < [08 02 87 f2]
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: International network (7)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Ext: 1 Cause: Unknown (114), class = Interworking (7) ]
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < [1e 02 82 81]
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
[Oct 3 12:54:12] VERBOSE[27380] logger.c: – Processing IE 8 (cs0, Cause)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: – Processing IE 30 (cs0, Progress Indicator)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Protocol Discriminator: Q.931 (8) len=9
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Call Ref: len= 2 (reference 1640/0x668) (Terminator)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Message type: DISCONNECT (69)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < [08 02 87 90]
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: International network (7)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
[Oct 3 12:54:12] VERBOSE[27380] logger.c: – Processing IE 8 (cs0, Cause)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: q931.c:3563 q931_receive: call 34408 on channel 1 enters state 12 (Disconnect Indication)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: – Channel 0/1, span 2 got hangup request, cause 16
[Oct 3 12:54:12] VERBOSE[3764] logger.c: NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
[Oct 3 12:54:12] VERBOSE[3764] logger.c: q931.c:2716 q931_release: call 34408 on channel 1 enters state 19 (Release Request)
[Oct 3 12:54:12] VERBOSE[3764] logger.c: > Protocol Discriminator: Q.931 (8) len=9
[Oct 3 12:54:12] VERBOSE[3764] logger.c: > Call Ref: len= 2 (reference 1640/0x668) (Originator)
[Oct 3 12:54:12] VERBOSE[3764] logger.c: > Message type: RELEASE (77)
[Oct 3 12:54:12] VERBOSE[3764] logger.c: > [08 02 81 90]
[Oct 3 12:54:12] VERBOSE[3764] logger.c: > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
[Oct 3 12:54:12] VERBOSE[3764] logger.c: > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
[Oct 3 12:54:12] VERBOSE[3764] logger.c: – Hungup ‘Zap/32-1’
[Oct 3 12:54:12] VERBOSE[3764] logger.c: – No one is available to answer at this time (1:0/0/0)
[Oct 3 12:54:12] VERBOSE[3764] logger.c: == Auto fallthrough, channel ‘Console/dsp’ status is ‘NOANSWER’
[Oct 3 12:54:12] VERBOSE[3764] logger.c: << Hangup on console >>
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Protocol Discriminator: Q.931 (8) len=5
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Call Ref: len= 2 (reference 1640/0x668) (Terminator)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: < Message type: RELEASE COMPLETE (90)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: q931.c:3503 q931_receive: call 34408 on channel 1 enters state 0 (Null)
[Oct 3 12:54:12] VERBOSE[27380] logger.c: NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
[Oct 3 12:54:12] VERBOSE[27380] logger.c: NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
[/code]
zapata.conf
[code][trunkgroups]
[channels]
internationalprefix=00
nationalprefix=+33
usecallerid=yes ; utilisation de l’ID de l’appelant
hidecallerid=yes ; ne pas cache l’ID de l’appelant
threewaycalling=yes ; conference à 3
useincomingcalleridonzaptransfer=yes
transfer=yes ; transfert autorise
cidstart=usehist
cadence=250,1500,1500,3000,1500,3000
usecallingpres=no
inbanddisconnect=no
progzone=fr
priindication=inband
facilityenable=yes
group = 1
language=fr
context=DID_span_1
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
group = 2
context=DID_span_2
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
[/code]