Lex Lethol
2006-Dec-16 21:44 UTC
[asterisk-users] PRI debugging outgoing not working, help needed
Hi, Ive been playing on a asterisk to orion gsm box E1 pri setup. I have achieved incoming calls to be passed to my asterisk box successfully but outgoing calls will just I have tried playing with various pridialplan and overlapdial settings and with no success. If anyone can make more sense from the log, I'd certainly appreciate it. I am sending a 10 digit number to be dialed. I guessed that since my mobile will take the number and dial without a problem it became my starting setup. zapata settings follow: switchtype=euroisdn pridialplan=unknown (tried with local) prilocaldialplan=unknown (tried with local) overlapdial=no (tried with yes) signalling=pri_net usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callerid=asreceived group=2 channel=>32-46,48-62 Here is asterisk log with pri debuggin on: -- Executing Dial("SIP/301-9a6f", "ZAP/32/xxxxxxxxxx|120|") in new stack -- Making new call for cr 32774 -- Requested transfer capability: 0x00 - SPEECH> Protocol Discriminator: Q.931 (8) len=47 > Call Ref: len= 2 (reference 6/0x6) (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) > Ext: 1 User information layer 1: A-Law (35) > [18 03 a1 83 81] > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred Dchan: 0 > ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 1 ] > [6c 0e 00 81 35 32 38 31 31 32 31 32 34 36 32 34] > Calling Number (len=16) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) > Presentation: Presentation permitted, user number passed network screening (1) 'xxxxxxxxxx' ] > [70 0d 80 35 32 38 31 31 32 31 32 34 36 32 34] > Called Number (len=15) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) 'xxxxxxxxxx' ] > [a1]xes*CLI> > Sending Complete (len= 1)-- Called 32/xxxxxxxxxx < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 6/0x6) (Terminator) < Message type: CALL PROCEEDING (2) < [18 03 a9 83 81] < 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: 1 ] -- Processing IE 24 (cs0, Channel Identification) -- Zap/32-1 is proceeding passing it to SIP/301-9a6f < Protocol Discriminator: Q.931 (8) len=14 < Call Ref: len= 2 (reference 6/0x6) (Terminator) < Message type: CONNECT (7) < [18 03 a9 83 81] < 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: 1 ] < [1e 02 84 82] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ] -- Processing IE 24 (cs0, Channel Identification) -- Processing IE 30 (cs0, Progress Indicator)> Protocol Discriminator: Q.931 (8) len=5 > Call Ref: len= 2 (reference 6/0x6) (Originator) > Message type: CONNECT ACKNOWLEDGE (15)-- Zap/32-1 answered SIP/301-9a6f < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 6/0x6) (Terminator) < Message type: DISCONNECT (69) < [08 02 84 f5] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Cause: Unknown (117), class = Interworking (7) ] -- Processing IE 8 (cs0, Cause) -- Channel 0/1, span 2 got hangup request NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request> Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 6/0x6) (Originator) > Message type: RELEASE (77) > [08 02 81 f5] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Unknown (117), class = Interworking (7) ]-- Hungup 'Zap/32-1' == Spawn extension (macro-dialout-trunk, s, 14) exited non-zero on 'SIP/301-9a6f' in macro 'dialout-trunk' == Spawn extension (macro-dialout-trunk, s, 14) exited non-zero on 'SIP/301-9a6f' < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 6/0x6) (Terminator) < Message type: RELEASE COMPLETE (90) < [08 02 84 f5] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Cause: Unknown (117), class = Interworking (7) ] -- Processing IE 8 (cs0, Cause) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null