Bug#473550: asterisk: QuadBRI NT mode: call timeouts immediately

Lionel Elie Mamane master at tsomet.mamane.lu
Mon Mar 31 10:09:15 UTC 2008


Package: asterisk
Version: 1:1.4.18.1~dfsg-1
Severity: important

With a junghanns.net QuadBRI card, calls to a phone connected to an NT
mode port timeout nearly immediately, whatever the value (if any) in the
Dial() command. The phones ring once, and that's it. If I catch the call
during the short window of opportunity, the calls works fine.

I didn't have this problem with Asterisk 1.2 from etch, but I have it
since I upgraded to Asterisk 1.4 from sid.

Calls to a phone connected to an NT mode port work correctly. Tried
different phones, connecting only one phone to the port, putting an
explicit timeout in the Dial command, putting no timeout there, ...

The asterisk verbose output says:

    -- Channel 0/1, span 2 got hangup, cause 18

The bri debug says:

2 -- Making new call for cr 136
2 > Protocol Discriminator: Q.931 (8)  len=55
2 > Call Ref: len= 1 (reference 8/0x8) (Originator)
2 > Message type: SETUP (5)
2 > [04 03 80 90 a3]
2 > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)
2 >                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
2 >                              Ext: 1  User information layer 1: A-Law (35)
2 > [18 01 89]
2 > Channel ID (len= 3) [ Ext: 1  IntID: Implicit  Other  Spare: 0  Exclusive  Dchan: 0
2 >                        ChanSel: B1 channel
2                          ]
2 > [28 12 4c 69 6f 6e 65 6c 20 45 6c 69 65 20 4d 61 6d 61 6e 65]
2 > Display (len=18) [ Lionel Elie Mamane ]
2 > [6c 09 11 80 30 6d 61 73 74 65 72]
2 > Calling Number (len=11) [ Ext: 0  TON: International Number (1)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
2 >                           Presentation: Presentation permitted, user number not screened (0)  '0master' ]
2 > [70 05 c1 31 30 30 31]
2 > Called Number (len= 7) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '1001' ]
2 > [a1]
2 > Sending Complete (len= 1)
2 > [7d 02 91 81]
2 > High-layer compatibilty (len= 4) [ 2 0x91 2 0x81 2  ]
2 q931.c:3637 q931_setup: call 136 on channel 1 enters state 1 (Call Initiated)
2 -- Got SABME from cpe peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 -- Got SABME from cpe peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 < Protocol Discriminator: Q.931 (8)  len=4
2 < Call Ref: len= 1 (reference 136/0x88) (Terminator)
2 < Message type: ALERTING (1)
2 q931.c:4277 q931_receive: call 136 on channel 1 enters state 4 (Call Delivered)
2 -- Making new q921 call for cref 136 tei 68
2 -- Restarting T203 counter
2 -- Got SABME from cpe peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 < Protocol Discriminator: Q.931 (8)  len=4
2 < Call Ref: len= 1 (reference 136/0x88) (Terminator)
2 < Message type: ALERTING (1)
2 -- Making new q921 call for cref 136 tei 64
2 -- Restarting T203 counter
2 -- Got SABME from cpe peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 < Protocol Discriminator: Q.931 (8)  len=8
2 < Call Ref: len= 1 (reference 136/0x88) (Terminator)
2 < Message type: RELEASE COMPLETE (90)
2 < [08 02 80 92]
2 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
2 <                  Ext: 1  Cause: No user responding (18), class = Normal Event (1) ]
2 -- Processing IE 8 (cs0, Cause)
2 -- Restarting T203 counter
2 No response to SETUP message
2 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Delivered, peerstate Call Received
2 sending RELEASE for TEI 64
2 -- Restarting T203 counter
2 > Protocol Discriminator: Q.931 (8)  len=8
2 > Call Ref: len= 1 (reference 8/0x8) (Originator)
2 > Message type: RELEASE (77)
2 > [08 02 80 90]
2 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
2 >                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]
2 sending RELEASE for TEI 68
2 -- Restarting T203 counter
2 > Protocol Discriminator: Q.931 (8)  len=8
2 > Call Ref: len= 1 (reference 8/0x8) (Originator)
2 > Message type: RELEASE (77)
2 > [08 02 80 90]
2 > Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
2 >                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]
2 NEW_HANGUP DEBUG: Destroying the call, ourstate Call Delivered, peerstate Call Received
2 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Delivered, peerstate Call Received
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 < Protocol Discriminator: Q.931 (8)  len=4
2 < Call Ref: len= 1 (reference 136/0x88) (Terminator)
2 < Message type: RELEASE COMPLETE (90)
2 -- Making new call for cr 136
2 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
2 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 < Protocol Discriminator: Q.931 (8)  len=4
2 < Call Ref: len= 1 (reference 136/0x88) (Terminator)
2 < Message type: RELEASE COMPLETE (90)
2 -- Making new call for cr 136
2 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
2 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Got Disconnect from peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 Stopping T_203 timer for TEI 68
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 -- Got Disconnect from peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 Stopping T_203 timer for TEI 69
2 -- Got Disconnect from peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 Stopping T_203 timer for TEI 65
2 -- Got Disconnect from peer.
2 Sending Unnumbered Acknowledgement
2 -- Restarting T203 counter
2 Stopping T_203 timer for TEI 64


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (600, 'stable'), (300, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)

Versions of packages asterisk depends on:
ii  adduser               3.102              Add and remove users and groups
ii  asterisk-config       1:1.4.18.1~dfsg-1  Configuration files for Asterisk
ii  asterisk-sounds-main  1:1.4.18.1~dfsg-1  Core Sound files for Asterisk (Eng
ii  libasound2            1.0.16-2           ALSA library
ii  libc-client2007       7:2007~dfsg-1      UW c-client library for mail proto
ii  libc6                 2.7-10             GNU C Library: Shared libraries
ii  libcap1               1:1.10-14          support for getting/setting POSIX.
ii  libct3                0.63-3.2           libraries for connecting to MS SQL
ii  libcurl3              7.18.0-1           Multi-protocol file transfer libra
ii  libgcc1               1:4.1.1-21         GCC support library
ii  libgsm1               1.0.12-1           Shared libraries for GSM speech co
ii  libiksemel3           1.2-3              C library for the Jabber IM platfo
ii  libkrb53              1.6.dfsg.3~beta1-4 MIT Kerberos runtime libraries
ii  libncurses5           5.6+20080203-1     Shared libraries for terminal hand
ii  libnewt0.52           0.52.2-10          Not Erik's Windowing Toolkit - tex
ii  libogg0               1.1.3-2            Ogg Bitstream Library
ii  libpopt0              1.10-3             lib for parsing cmdline parameters
ii  libpq5                8.3.1-1            PostgreSQL C client library
ii  libpri1.0             1.4.2-1            Primary Rate ISDN specification li
ii  libradiusclient-ng2   0.5.3-2            Enhanced RADIUS client library
ii  libsnmp15             5.4.1~dfsg-6       SNMP (Simple Network Management Pr
ii  libspeex1             1.1.12-3           The Speex Speech Codec
ii  libsqlite0            2.8.17-2           SQLite shared library
ii  libssl0.9.8           0.9.8g-8           SSL shared libraries
ii  libstdc++6            4.1.1-21           The GNU Standard C++ Library v3
ii  libtonezone1          1:1.4.9.2~dfsg-1   tonezone library (runtime)
ii  libvorbis0a           1.1.2.dfsg-1.3     The Vorbis General Audio Compressi
ii  libvorbisenc2         1.1.2.dfsg-1.3     The Vorbis General Audio Compressi
ii  libvpb0               4.2.26-1           Voicetronix telephony hardware use
ii  unixodbc              2.2.11-13          ODBC tools libraries
ii  zlib1g                1:1.2.3.3.dfsg-11  compression library - runtime

asterisk recommends no packages.

-- no debconf information





More information about the Pkg-voip-maintainers mailing list