astrid*CLI> pri set debug on span 1 Enabled debugging on span 1 == Using SIP RTP CoS mark 5 -- Executing [4888@trusted:1] Dial("SIP/8530-b6c51810", "DAHDI/G0/4888") in new stack -- Making new call for cr 32770 -- Requested transfer capability: 0x00 - SPEECH Adding facility ie contents to send in SETUP message: ASN.1 dump> Context Specific/C [10 0x0A] Len:6 <06> Context Specific [0 0x00] <80> Len:1 <01> <00> - "~" Context Specific [2 0x02] <82> Len:1 <01> <00> - "~" Context Specific [11 0x0B] <8B> Len:1 <01> <00> - "~" Context Specific/C [1 0x01] Len:12 <0C> Integer(2 0x02) <02> Len:1 <01> <01> - "~" Integer(2 0x02) <02> Len:1 <01> <00> - "~" Context Specific [0 0x00] <80> Len:4 <04> <38 35 33 30> - "8530" ASN.1 endI> nfe NetworkFacilityExtension Context Specific/C [10 0x0A] sourceEntity Context Specific [0 0x00] = 0 0x0000 destinationEntity Context Specific [2 0x02] = 0 0x0000 interpretation Context Specific [11 0x0B] = 0 0x0000 INVOKE Component Context Specific/C [1 0x01] invokeId Integer(2 0x02) = 1 0x0001 operationValue Integer(2 0x02) = 0 0x0000 operationValue = ROSE_QSIG_CallingName callingName Name namePresentationAllowedSimple Context Specific [0 0x00] = <38 35 33 30> - "8530" > Protocol Discriminator: Q.931 (8) len=58 > Call Ref: len= 2 (reference 2/0x2) (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) > User information layer 1: A-Law (35) > [18 03 a9 83 9f] > Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0 > ChanSel: As indicated in following octets > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 31 Type: CPE] > [1c 1a 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 0c 02 01 01 02 01 00 80 04 38 35 33 30] > Facility (len=28, codeset=0) [ 0x9F, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x0C, 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x04, '8530' ] PROTOCOL 1F ASN.1 dump> Context Specific/C [10 0x0A] Len:6 <06> Context Specific [0 0x00] <80> Len:1 <01> <00> - "~" Context Specific [2 0x02] <82> Len:1 <01> <00> - "~" Context Specific [11 0x0B] <8B> Len:1 <01> <00> - "~" Context Specific/C [1 0x01] Len:12 <0C> Integer(2 0x02) <02> Len:1 <01> <01> - "~" Integer(2 0x02) <02> Len:1 <01> <00> - "~" Context Specific [0 0x00] <80> Len:4 <04> <38 35 33 30> - "8530" ASN.1 endI> > [6c 06 00 80 38 35 33 30] > Calling Number (len= 8) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) > Presentation: Presentation permitted, user number not screened (0) '8530' ] > [70 05 80 34 38 38 38] > Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '4888' ] q931.c:3211 q931_setup: call 32770 on channel 31 enters state 1 (Call Initiated) -- Called G0/4888 < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 2/0x2) (Terminator) < Message Type: SETUP ACKNOWLEDGE (13) < [18 03 a9 83 9f] < Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0 < ChanSel: As indicated in following octets < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 31 Type: CPE] -- Processing IE 24 (cs0, Channel Identification) q931.c:4088 post_handle_q931_message: call 32770 on channel 31 enters state 2 (Overlap sending) < Protocol Discriminator: Q.931 (8) len=26 < Call Ref: len= 2 (reference 2/0x2) (Terminator) < Message Type: ALERTING (1) < [18 03 a9 83 9f] < Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0 < ChanSel: As indicated in following octets < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 31 Type: CPE] < [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) ] < [1e 02 80 88] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] < [1e 02 a1 90] < Progress Indicator (len= 4) [ Ext: 1 Coding: Non-ITU international standard (1) 0: 0 Location: Private network serving the local user (1) < Ext: 1 Progress Description: Interworking with a public network. (16) ] < [9d] < Non-Locking Shift (len=01): Requested codeset 5 < [32 01 80] [Jun 24 22:56:55] ERROR[25437]: chan_dahdi.c:11128 dahdi_pri_error: !! < Unknown IE 50 (cs5, len = 3) -- Processing IE 24 (cs0, Channel Identification) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 50 (cs5, Unknown Information Element) !! Unknown IE 50 (cs5, Unknown Information Element) q931.c:3793 post_handle_q931_message: call 32770 on channel 31 enters state 4 (Call Delivered) -- DAHDI/31-1 is ringing, not passing it to SIP/8530-b6c51810, Why? -- [OPT_ARG_RINGBACK] -- < Protocol Discriminator: Q.931 (8) len=14 < Call Ref: len= 2 (reference 2/0x2) (Terminator) < Message Type: CONNECT (7) < [18 03 a9 83 9f] < Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0 < ChanSel: As indicated in following octets < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 31 Type: CPE] < [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) ] -- Processing IE 24 (cs0, Channel Identification) -- Processing IE 30 (cs0, Progress Indicator) q931.c:3823 post_handle_q931_message: call 32770 on channel 31 enters state 10 (Active) > Protocol Discriminator: Q.931 (8) len=5 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message Type: CONNECT ACKNOWLEDGE (15) -- DAHDI/31-1 answered SIP/8530-b6c51810 astrid*CLI> astrid*CLI> astrid*CLI> astrid*CLI> astrid*CLI> astrid*CLI> NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request q931.c:3092 q931_disconnect: call 32770 on channel 31 enters state 11 (Disconnect Request) > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message Type: DISCONNECT (69) > [08 02 81 90] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Hungup 'DAHDI/31-1' == Spawn extension (trusted, 4888, 1) exited non-zero on 'SIP/8530-b6c51810' < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 2/0x2) (Terminator) < Message Type: RELEASE (77) < [08 02 81 90] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1) < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] -- Processing IE 8 (cs0, Cause) q931.c:3998 post_handle_q931_message: call 32770 on channel 31 enters state 0 (Null) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 2/0x2) (Originator) > Message Type: RELEASE COMPLETE (90) > [08 02 81 90] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 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 astrid*CLI>