milwia1-terma-2*CLI> pri debug span 4 Enabled debugging on span 4 < Protocol Discriminator: Q.931 (8) len=47 < Call Ref: len= 2 (reference 15996/0x3E7C) (Originator) < Message type: SETUP (5) < [04 03 80 90 a2] < 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: u-Law (34) < [18 04 e9 80 83 8e] < Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 DS1 Identifier: 0 < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 14 ] < [1e 02 81 83] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) < Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ] < [6c 0c 21 81 33 32 33 38 30 31 37 39 37 30] < Calling Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) < Presentation: Presentation permitted, user number passed network screening (1) '323801XXXX' ] < [70 0b a1 38 30 30 39 37 38 37 32 37 39] < Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '800978XXXX' ] -- Making new call for cr 15996 -- Processing Q.931 Call Setup -- Processing IE 4 (cs0, Bearer Capability) -- Processing IE 24 (cs0, Channel Identification) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 108 (cs0, Calling Party Number) -- Processing IE 112 (cs0, Called Party Number) > Protocol Discriminator: Q.931 (8) len=10 > Call Ref: len= 2 (reference 48764/0xBE7C) (Terminator) > Message type: CALL PROCEEDING (2) > [18 03 a9 83 8e] > 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: 14 ] -- Accepting voice call from '323801XXXX' to '800978XXXX' on channel 0/14, span 4 -- Executing SetVar("Zap/14-1", "SERVER_ID=2") in new stack -- Executing Answer("Zap/14-1", "") in new stack > Protocol Discriminator: Q.931 (8) len=14 > Call Ref: len= 2 (reference 48764/0xBE7C) (Terminator) > Message type: CONNECT (7) > [18 03 a9 83 8e] > 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: 14 ] > [1e 02 81 82] > Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ] -- Executing AGI("Zap/14-1", "incoming_call.pl") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/incoming_call.pl < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 15996/0x3E7C) (Originator) < Message type: RELEASE (77) < [08 02 83 86] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Transit network (3) < Ext: 1 Cause: Channel unacceptable (6), class = Normal Event (0) ] -- Processing IE 8 (cs0, Cause) -- Channel 0/14, span 4 got hangup < Protocol Discriminator: Q.931 (8) len=13 < Call Ref: len= 2 (reference 15996/0x3E7C) (Originator) < Message type: STATUS (125) < [08 03 83 e5 07] < Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Transit network (3) < Ext: 1 Cause: Message not compatible with call state (101), class = Protocol Error (6) ] < Cause data 1: 07 (7) < [14 01 13] < Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Release Request (19) -- Processing IE 8 (cs0, Cause) -- Processing IE 20 (cs0, Call State) -- Executing DeadAGI("Zap/14-1", "disconnect_call.pl") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/disconnect_call.pl -- AGI Script disconnect_call.pl completed, returning 0 -- Executing Hangup("Zap/14-1", "") in new stack NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 48764/0xBE7C) (Terminator) > Message type: RELEASE COMPLETE (90) > [08 02 81 90] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null -- Hungup 'Zap/14-1'