Sven Fischer
2006-Feb-07 01:38 UTC
[Asterisk-Users] Problem with ZAPHFC: internal S0 hangs when hanging up
Hello all, if I try to call from one phone on the internal S0 to another on the same S0 using zaphfc, the bus is hung up. The called phone is ringing, but I can't talk from one phone to the other. The error I get is: -- Executing Dial("Zap/2-1", "ZAP/1/55|15|tr") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called 1/55 -- Channel 0/1, span 1 got hangup, cause 42 -- Zap/1-1 is circuit-busy -- Hungup 'Zap/1-1' The called phone is still ringing, if I have hung up the calling phone. I have to restart asterisk to get things going again. Calling from SIP to the phones and calling from phones to external ISDN is working fine. For a closer look to the dump, I have attached the bri debug output from asterisk. Asterisk is 1.2.4 compiled from newset bristuff (1k), zaphfc patched with florz patch. 1 AVM ISDN PCI and on HFC PCI, which shares interrupt with eth0 (if it matters). Has anyone an idea what is going wrong here? May I provide additional information to solve this problem? Thanks for your help, Sven ========================= 8< cut here 8< ============================> Unnumbered frame: 1 > SAPI: 63 C/R: 1 EA: 0> TEI: 127 EA: 11 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]> 5 bytes of data== Primary D-Channel on span 1 down for TEI 64 1> [ 02 81 00 00 08 01 a0 45 08 02 81 90 ]1> Informational frame:1 > SAPI: 00 C/R: 1 EA: 0> TEI: 064 EA: 11 > N(S): 000 0: 0> N(R): 000 P: 0 > 8 bytes of data1 Starting T_200 timer 1 > Protocol Discriminator: Q.931 (8) len=8 1 > Call Ref: len= 1 (reference 160/0xA0) (Terminator) 1 > Message type: DISCONNECT (69) 1 > [1 081 021 811 901 ] 1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) 1 > Ext: 1 Cause: Unknown (16), class = Normal Event (1) ] -- Hungup 'Zap/1-1' == Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/2-1' in macro 'dial' == Spawn extension (macro-exten-vm, s, 4) exited non-zero on 'Zap/2-1' in macro 'exten-vm' == Spawn extension (from-internal, 53, 1) exited non-zero on 'Zap/2-1' -- Executing Macro("Zap/2-1", "hangupcall") in new stack -- Executing ResetCDR("Zap/2-1", "w") in new stack -- Executing NoCDR("Zap/2-1", "") in new stack -- Executing Wait("Zap/2-1", "5") in new stack == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'Zap/2-1' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'Zap/2-1' -- Hungup 'Zap/2-1' 1 -- T200 counter expired, What to do... 1 -- Retransmitting 12 bytes 1> [ 02 81 00 01 08 01 a0 45 08 02 81 90 ]1> Informational frame:1 > SAPI: 00 C/R: 1 EA: 0> TEI: 064 EA: 11 > N(S): 000 0: 0> N(R): 000 P: 1 > 8 bytes of data1 -- Rescheduling retransmission (1) 1 -- T200 counter expired, What to do... 1 -- Retransmitting 12 bytes 1> [ 02 81 00 01 08 01 a0 45 08 02 81 90 ]1> Informational frame:1 > SAPI: 00 C/R: 1 EA: 0> TEI: 064 EA: 11 > N(S): 000 0: 0> N(R): 000 P: 1 > 8 bytes of data1 -- Rescheduling retransmission (2) 1 -- T200 counter expired, What to do... 1 -- Timeout occured, restarting PRI 1 Sending TEI remove tei=64 1> [ fe ff 03 0f 14 7f 06 81 ]1> Unnumbered frame:1 > SAPI: 63 C/R: 1 EA: 0> TEI: 127 EA: 11 > M3: 0 P/F: 0 M2: 0 11: 3 [ UI (unnumbered information) ]> 5 bytes of data== Primary D-Channel on span 1 down for TEI 64 -- Sven Fischer (Dipl.-Phys.) - FACIT Consulting GmbH Hausinger Str. 6 - 40764 Langenfeld Tel: 02173/16700-55 Fax: 02173/16700-60
Sven Fischer
2006-Feb-07 01:53 UTC
[Asterisk-Users] Problem with ZAPHFC: internal S0 hangs when hanging up
Am Dienstag, 7. Februar 2006 09:38 schrieb Sven Fischer:> Hello all, > > if I try to call from one phone on the internal S0 to another on the same > S0 using zaphfc, the bus is hung up. The called phone is ringing, but I > can't talk from one phone to the other. The error I get is: > > -- Executing Dial("Zap/2-1", "ZAP/1/55|15|tr") in new stack > -- Requested transfer capability: 0x00 - SPEECH > -- Called 1/55 > -- Channel 0/1, span 1 got hangup, cause 42 > -- Zap/1-1 is circuit-busy > -- Hungup 'Zap/1-1' > > The called phone is still ringing, if I have hung up the calling phone. I > have to restart asterisk to get things going again. Calling from SIP to the > phones and calling from phones to external ISDN is working fine.Okay, further investigations show that if I connect just one phone to the NTBA, everything seems to work fine. If I plug in the second phone, the communication fails. Each phone works if plugged in on it's own into the NTBA. Termination in the NTBA should be activated, the switches are on. Where should I look for errors? Can it be a termination problem if every phone works on it's own? Sven -- Sven Fischer (Dipl.-Phys.) - FACIT Consulting GmbH Hausinger Str. 6 - 40764 Langenfeld Tel: 02173/16700-55 Fax: 02173/16700-60