robert boardman
2008-Jul-16 10:58 UTC
[asterisk-users] ISDN Call Droping only for outgoing
I have been trying to sort this out for a while now but with no luck I have isdn <-> asterisk<-> pabx on a te205 incoming calls work fine outgoing calls seem to work fine but the call is dropped when answered I think it is to do with the line [May 8 17:51:55] WARNING[4762] channel.c: Unexpected control subclass '5' that is causing the problem but I don't know how to fix, I think it is BT but they say the line is OK any advise would be greatly appreciated Thanks Robb [May 8 17:51:55] DEBUG[4711] chan_zap.c: Found empty available channel 0/31 [May 8 17:51:55] VERBOSE[4711] logger.c: -- Accepting overlap call from '01615555555' to '07973555555' on channel 0/31, span 2 [May 8 17:51:55] VERBOSE[4762] logger.c: -- Starting simple switch on 'Zap/62-1' [May 8 17:51:55] VERBOSE[4711] logger.c: -- Channel 0/31, span 2 got hangup, cause 17 [May 8 17:51:55] WARNING[4762] channel.c: Unexpected control subclass '5' [May 8 17:51:58] VERBOSE[4762] logger.c: -- Executing [07973555555 at dialednum:1] GotoIf("Zap/62-1", "0?8:") in new stack [May 8 17:51:58] VERBOSE[4762] logger.c: -- Executing [07973555555 at dialednum:2] NoOp("Zap/62-1", "") in new stack [May 8 17:51:58] VERBOSE[4762] logger.c: -- Executing [07973555555 at dialednum:3] NoOp("Zap/62-1", "") in new stack [May 8 17:51:58] VERBOSE[4762] logger.c: -- Executing [07973555555 at dialednum:4] Set("Zap/62-1", "CDR(accountcode)=07973555555") in new stack [May 8 17:51:58] VERBOSE[4762] logger.c: -- Executing [07973555555 at dialednum:5] NoOp("Zap/62-1", "") in new stack [May 8 17:51:58] VERBOSE[4762] logger.c: -- Executing [07973555555 at dialednum:6] Dial("Zap/62-1", "ZAP/g1/07973555555||r") in new stack [May 8 17:51:58] VERBOSE[4762] logger.c: -- Making new call for cr 32775 [May 8 17:51:58] VERBOSE[4762] logger.c: -- Requested transfer capability: 0x00 - SPEECH [May 8 17:51:58] VERBOSE[4762] logger.c: > Protocol Discriminator: Q.931 (8) len=44 [May 8 17:51:58] VERBOSE[4762] logger.c: > Call Ref: len= 2 (reference 7/0x7) (Originator) [May 8 17:51:58] VERBOSE[4762] logger.c: > Message type: SETUP (5) [May 8 17:51:58] VERBOSE[4762] logger.c: > [04 03 80 90 a3] [May 8 17:51:58] VERBOSE[4762] logger.c: > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) [May 8 17:51:58] VERBOSE[4762] logger.c: > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) [May 8 17:51:58] VERBOSE[4762] logger.c: > Ext: 1 User information layer 1: A-Law (35) [May 8 17:51:58] VERBOSE[4762] logger.c: > [18 03 a9 83 81] [May 8 17:51:58] VERBOSE[4762] logger.c: > Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0 [May 8 17:51:58] VERBOSE[4762] logger.c: > ChanSel: Reserved [May 8 17:51:58] VERBOSE[4762] logger.c: > Ext: 1 Coding: 0 Number Specified Channel Type: 3 [May 8 17:51:58] VERBOSE[4762] logger.c: > Ext: 1 Channel: 1 ] [May 8 17:51:58] VERBOSE[4762] logger.c: > [6c 0d 21 81 30 31 36 31 36 35 35 35 35 30 30] [May 8 17:51:58] VERBOSE[4762] logger.c: > Calling Number (len=15) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) [May 8 17:51:58] VERBOSE[4762] logger.c: > Presentation: Presentation permitted, user number passed network screening (1) '01615555555' ] [May 8 17:51:58] VERBOSE[4762] logger.c: > [70 0b a1 37 39 37 33 32 35 34 30 37 33] [May 8 17:51:58] VERBOSE[4762] logger.c: > Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '7973254073' ] [May 8 17:51:58] VERBOSE[4762] logger.c: > [a1] [May 8 17:51:58] VERBOSE[4762] logger.c: > Sending Complete (len= 1) [May 8 17:51:58] VERBOSE[4762] logger.c: q931.c:2881 q931_setup: call 32775 on channel 1 enters state 1 (Call Initiated) [May 8 17:51:58] VERBOSE[4762] logger.c: -- Called g1/07973555555 [May 8 17:51:58] VERBOSE[4710] logger.c: < Protocol Discriminator: Q.931 (8) len=10 [May 8 17:51:58] VERBOSE[4710] logger.c: < Call Ref: len= 2 (reference 7/0x7) (Terminator) [May 8 17:51:58] VERBOSE[4710] logger.c: < Message type: CALL PROCEEDING (2) [May 8 17:51:58] VERBOSE[4710] logger.c: < [18 03 a9 83 81] [May 8 17:51:58] VERBOSE[4710] logger.c: < Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0 [May 8 17:51:58] VERBOSE[4710] logger.c: < ChanSel: Reserved [May 8 17:51:58] VERBOSE[4710] logger.c: < Ext: 1 Coding: 0 Number Specified Channel Type: 3 [May 8 17:51:58] VERBOSE[4710] logger.c: < Ext: 1 Channel: 1 ] [May 8 17:51:58] VERBOSE[4710] logger.c: -- Processing IE 24 (cs0, Channel Identification) [May 8 17:51:58] VERBOSE[4710] logger.c: q931.c:3428 q931_receive: call 32775 on channel 1 enters state 3 (Outgoing call Proceeding) [May 8 17:51:58] DEBUG[4710] chan_zap.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1 [May 8 17:51:58] VERBOSE[4762] logger.c: -- Zap/1-1 is proceeding passing it to Zap/62-1 [May 8 17:52:10] VERBOSE[4710] logger.c: < Protocol Discriminator: Q.931 (8) len=5 [May 8 17:52:10] VERBOSE[4710] logger.c: < Call Ref: len= 2 (reference 7/0x7) (Terminator) [May 8 17:52:10] VERBOSE[4710] logger.c: < Message type: ALERTING (1) [May 8 17:52:10] VERBOSE[4710] logger.c: q931.c:3343 q931_receive: call 32775 on channel 1 enters state 4 (Call Delivered) [May 8 17:52:10] VERBOSE[4762] logger.c: -- Zap/1-1 is ringing [May 8 17:52:11] VERBOSE[4710] logger.c: < Protocol Discriminator: Q.931 (8) len=5 [May 8 17:52:11] VERBOSE[4710] logger.c: < Call Ref: len= 2 (reference 7/0x7) (Terminator) [May 8 17:52:11] VERBOSE[4710] logger.c: < Message type: CONNECT (7) [May 8 17:52:11] VERBOSE[4710] logger.c: q931.c:3373 q931_receive: call 32775 on channel 1 enters state 10 (Active) [May 8 17:52:11] VERBOSE[4710] logger.c: > Protocol Discriminator: Q.931 (8) len=5 [May 8 17:52:11] VERBOSE[4710] logger.c: > Call Ref: len= 2 (reference 7/0x7) (Originator) [May 8 17:52:11] VERBOSE[4710] logger.c: > Message type: CONNECT ACKNOWLEDGE (15) [May 8 17:52:11] DEBUG[4710] chan_zap.c: Echo cancellation already on [May 8 17:52:11] VERBOSE[4762] logger.c: -- Zap/1-1 answered Zap/62-1 [May 8 17:52:11] DEBUG[4762] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/1-1 [May 8 17:52:11] DEBUG[4762] chan_zap.c: Not yet hungup... Calling hangup once with icause, and clearing call [May 8 17:52:11] VERBOSE[4762] logger.c: NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request [May 8 17:52:11] VERBOSE[4762] logger.c: q931.c:2764 q931_disconnect: call 32775 on channel 1 enters state 11 (Disconnect Request) [May 8 17:52:11] VERBOSE[4762] logger.c: > Protocol Discriminator: Q.931 (8) len=9 [May 8 17:52:11] VERBOSE[4762] logger.c: > Call Ref: len= 2 (reference 7/0x7) (Originator) [May 8 17:52:11] VERBOSE[4762] logger.c: > Message type: DISCONNECT (69) [May 8 17:52:11] VERBOSE[4762] logger.c: > [08 02 81 90] [May 8 17:52:11] VERBOSE[4762] logger.c: > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1) [May 8 17:52:11] VERBOSE[4762] logger.c: > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] [May 8 17:52:11] DEBUG[4762] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/1-1 [May 8 17:52:11] VERBOSE[4762] logger.c: -- Hungup 'Zap/1-1' [May 8 17:52:11] VERBOSE[4762] logger.c: == Spawn extension (dialednum, 07973555555, 6) exited non-zero on 'Zap/62-1' [May 8 17:52:11] DEBUG[4762] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/62-1 [May 8 17:52:11] DEBUG[4762] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/62-1 [May 8 17:52:11] VERBOSE[4762] logger.c: -- Hungup 'Zap/62-1' [May 8 17:52:11] VERBOSE[4710] logger.c: < Protocol Discriminator: Q.931 (8) len=5 [May 8 17:52:11] VERBOSE[4710] logger.c: < Call Ref: len= 2 (reference 7/0x7) (Terminator) [May 8 17:52:11] VERBOSE[4710] logger.c: < Message type: RELEASE (77) [May 8 17:52:11] VERBOSE[4710] logger.c: q931.c:3538 q931_receive: call 32775 on channel 1 enters state 0 (Null) [May 8 17:52:11] VERBOSE[4710] logger.c: NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080716/8f35cba9/attachment.htm