Pavel Petrov
2005-Sep-28 06:03 UTC
[Asterisk-Users] Asterisk does not send "Setup acknowledge" on euroISDN E1
Hello, Configuration: Asterisk CVS HEAD 20050730 on RH EL3+ DIGIUM TE110P PRI card + euroISDN E1 I am trying to sort out the problem: 1. Provider's switch sends "SETUP"; 2. Asterisk receives "SETUP", rings allocated extension but does not send "Setup acknowledge" (or any other messages) to switch; 3. After 4 seconds of waiting of *'s response switch sends "SETUP" second time and hangs up line; I have had problem with dialling out via E1 but after adding 'w' postfix (i.e. Dial(Zap/g1/${EXTEN}w) ) everything working fine -------------------------- < Protocol Discriminator: Q.931 (8) len=42 < Call Ref: len= 2 (reference 73/0x49) (Originator) < Message type: SETUP (5) < [04 03 90 90 a3] < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16) < Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) < Ext: 1 User information layer 1: A-Law (35) < [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 82 81] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ] < [6c 0b 00 83 30 31 32 37 30 39 32 37 38] < Calling Number (len=13) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) < Presentation: Presentation allowed of network provided number (3) '012607892' ] < [70 08 81 32 37 37 37 37 37 37] < Called Number (len=10) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2677878' ] -- Making new call for cr 73 -- 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) -- Executing Macro("Zap/1-1", "dialddi|SIP/3101|3101") in new stack -- Executing Dial("Zap/1-1", "SIP/3101|60|tr") in new stack -- Accepting call from '012607892' to '2677878' on channel 0/1, span 1 -- Called 3101 -- SIP/3101-3332 is ringing < Protocol Discriminator: Q.931 (8) len=42 < Call Ref: len= 2 (reference 73/0x49) (Originator) < Message type: SETUP (5) < [04 03 90 90 a3] < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16) < Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) < Ext: 1 User information layer 1: A-Law (35) < [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 82 81] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ] < [6c 0b 00 83 30 31 32 37 30 39 32 37 38] < Calling Number (len=13) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) < Presentation: Presentation allowed of network provided number (3) '012607892' ] < [70 08 81 32 37 37 37 37 37 37] < Called Number (len=10) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2677878' ] -- 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=9 < Call Ref: len= 2 (reference 73/0x49) (Originator) < Message type: DISCONNECT (69) < [08 02 82 e6] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Cause: Unknown (102), class = Protocol Error (6) ] -- Processing IE 8 (cs0, Cause) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request> Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 73/0x49) (Terminator) > Message type: RELEASE COMPLETE (90) > [08 02 81 e6] > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) > Ext: 1 Cause: Unknown (102), class = Protocol Error (6) ]-- SIP/3101-3332 answered Zap/1-1 == Spawn extension (macro-dialddi, s, 1) exited non-zero on 'Zap/1-1' in macro 'dialddi' == Spawn extension (inbound-pri, 2677878, 1) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1'
Tim Robinson
2005-Sep-28 13:47 UTC
[Asterisk-Users] Asterisk does not send "Setup acknowledge" on euroISDN E1
I would recommend using the patched versions of Asterisk from www.junghanns.net. Kapejod has done a lot of work on improving EuroISDN signalling both for his BRI cards and PRI, to the extent that I am not sure the basis on which Digium can claim EuroISDN compatibility! His fixes work on Sangoma and Digium cards as well as his own range of PRI and BRI cards. Rgds Tim Robinson Basingstoke, UK Pavel Petrov wrote:> Hello, > Configuration: > Asterisk CVS HEAD 20050730 on RH EL3+ DIGIUM TE110P PRI card + euroISDN E1 > > I am trying to sort out the problem: > 1. Provider's switch sends "SETUP"; > 2. Asterisk receives "SETUP", rings allocated extension but does not > send "Setup acknowledge" (or any other messages) to switch; > 3. After 4 seconds of waiting of *'s response switch sends "SETUP" > second time and hangs up line; > > I have had problem with dialling out via E1 but after adding 'w' > postfix (i.e. Dial(Zap/g1/${EXTEN}w) ) everything working fine > > -------------------------- > < Protocol Discriminator: Q.931 (8) len=42 > < Call Ref: len= 2 (reference 73/0x49) (Originator) > < Message type: SETUP (5) > < [04 03 90 90 a3] > < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer > capability: 3.1kHz audio (16) > < Ext: 1 Trans mode/rate: 64kbps, > circuit-mode (16) > < Ext: 1 User information layer 1: A-Law (35) > < [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 82 81] > < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard > (0) 0: 0 Location: Public network serving the local user (2) > < Ext: 1 Progress Description: Call is > not end-to-end ISDN; further call progress information may be > available inband. (1) ] > < [6c 0b 00 83 30 31 32 37 30 39 32 37 38] > < Calling Number (len=13) [ Ext: 0 TON: Unknown Number Type (0) NPI: > Unknown Number Plan (0) > < Presentation: Presentation allowed of > network provided number (3) '012607892' ] > < [70 08 81 32 37 37 37 37 37 37] > < Called Number (len=10) [ Ext: 1 TON: Unknown Number Type (0) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2677878' ] > -- Making new call for cr 73 > -- 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) > -- Executing Macro("Zap/1-1", "dialddi|SIP/3101|3101") in new stack > -- Executing Dial("Zap/1-1", "SIP/3101|60|tr") in new stack > -- Accepting call from '012607892' to '2677878' on channel 0/1, span 1 > -- Called 3101 > -- SIP/3101-3332 is ringing > < Protocol Discriminator: Q.931 (8) len=42 > < Call Ref: len= 2 (reference 73/0x49) (Originator) > < Message type: SETUP (5) > < [04 03 90 90 a3] > < Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer > capability: 3.1kHz audio (16) > < Ext: 1 Trans mode/rate: 64kbps, > circuit-mode (16) > < Ext: 1 User information layer 1: A-Law (35) > < [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 82 81] > < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard > (0) 0: 0 Location: Public network serving the local user (2) > < Ext: 1 Progress Description: Call is > not end-to-end ISDN; further call progress information may be > available inband. (1) ] > < [6c 0b 00 83 30 31 32 37 30 39 32 37 38] > < Calling Number (len=13) [ Ext: 0 TON: Unknown Number Type (0) NPI: > Unknown Number Plan (0) > < Presentation: Presentation allowed of > network provided number (3) '012607892' ] > < [70 08 81 32 37 37 37 37 37 37] > < Called Number (len=10) [ Ext: 1 TON: Unknown Number Type (0) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) '2677878' ] > -- 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=9 > < Call Ref: len= 2 (reference 73/0x49) (Originator) > < Message type: DISCONNECT (69) > < [08 02 82 e6] > < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 > Location: Public network serving the local user (2) > < Ext: 1 Cause: Unknown (102), class = Protocol Error (6) ] > -- Processing IE 8 (cs0, Cause) > NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, > peerstate Disconnect Request > >>Protocol Discriminator: Q.931 (8) len=9 >>Call Ref: len= 2 (reference 73/0x49) (Terminator) >>Message type: RELEASE COMPLETE (90) >>[08 02 81 e6] >>Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) >> Ext: 1 Cause: Unknown (102), class = Protocol Error (6) ] > > -- SIP/3101-3332 answered Zap/1-1 > == Spawn extension (macro-dialddi, s, 1) exited non-zero on > 'Zap/1-1' in macro 'dialddi' > == Spawn extension (inbound-pri, 2677878, 1) exited non-zero on 'Zap/1-1' > -- Hungup 'Zap/1-1' > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users