Bug#497032: asterisk: incorrect cancel of colour code on console

Phil Reynolds phil at tinsleyviaduct.com
Fri Aug 29 10:51:07 UTC 2008


Package: asterisk
Version: 1:1.4.21.2~dfsg-1-pmr-2
Severity: normal

I normally run asterisk in verbose 3 mode and monitor the console. I 
have noticed that one of the "cancel colour" codes is incorrectly 
formed, leading to bright magenta being used where it should be plain 
white.

This occurs when this line is executed in my extensions.conf:

exten => s,n+1(withclid),Set(DB(lastcall/${CHAN})=${CALLERID(num)})

The magenta colour used for the output is not cancelled, the code 
showing (greater-or-equal-sign)[0;37;40   m, not cancelling the colour 
and causing all further output to be the same colour until an explicit 
colour change. It looks like the code is missing a control character.

(note: the -pmr-2 patched version of asterisk is the +b1 with a patched 
chan_zap.c to get round another bug)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages asterisk depends on:
ii  adduser          3.110                   add and remove users and groups
ii  asterisk-config  1:1.4.21.2~dfsg-1-pmr-2 Configuration files for Asterisk
ii  asterisk-sounds- 1:1.4.21.2~dfsg-1-pmr-2 Core Sound files for Asterisk (Eng
ii  libasound2       1.0.16-2                ALSA library
ii  libc-client2007b 7:2007b~dfsg-3          c-client library for mail protocol
ii  libc6            2.7-13                  GNU C Library: Shared libraries
ii  libcap1          1:1.10-14               support for getting/setting POSIX.
ii  libcurl3         7.18.2-5                Multi-protocol file transfer libra
ii  libgcc1          1:4.3.1-9               GCC support library
ii  libgsm1          1.0.12-1                Shared libraries for GSM speech co
ii  libiksemel3      1.2-4                   C library for the Jabber IM platfo
ii  libncurses5      5.6+20080804-1          shared libraries for terminal hand
ii  libnewt0.52      0.52.2-11.3             Not Erik's Windowing Toolkit - tex
ii  libogg0          1.1.3-4                 Ogg Bitstream Library
ii  libpopt0         1.14-4                  lib for parsing cmdline parameters
ii  libpri1.0        1.4.3-2                 Primary Rate ISDN specification li
ii  libradiusclient- 0.5.5-1                 Enhanced RADIUS client library
ii  libsnmp15        5.4.1~dfsg-8.1          SNMP (Simple Network Management Pr
ii  libspeex1        1.2~rc1-1               The Speex codec runtime library
ii  libspeexdsp1     1.2~rc1-1               The Speex extended runtime library
ii  libsqlite0       2.8.17-4                SQLite shared library
ii  libssl0.9.8      0.9.8g-13               SSL shared libraries
ii  libstdc++6       4.3.1-9                 The GNU Standard C++ Library v3
ii  libtonezone1     1:1.4.11~dfsg-1         tonezone library (runtime)
ii  libvorbis0a      1.2.0.dfsg-3.1          The Vorbis General Audio Compressi
ii  libvorbisenc2    1.2.0.dfsg-3.1          The Vorbis General Audio Compressi
ii  libvpb0          4.2.32-1                Voicetronix telephony hardware use
ii  unixodbc         2.2.11-16               ODBC tools libraries
ii  zlib1g           1:1.2.3.3.dfsg-12       compression library - runtime

asterisk recommends no packages.

Versions of packages asterisk suggests:
pn  asterisk-dev     <none>                  (no description available)
ii  asterisk-doc     1:1.4.21.2~dfsg-1-pmr-2 Source code documentation for Aste
pn  asterisk-h323    <none>                  (no description available)
pn  ekiga            <none>                  (no description available)
pn  kphone           <none>                  (no description available)
pn  ohphone          <none>                  (no description available)
pn  twinkle          <none>                  (no description available)

-- no debconf information





More information about the Pkg-voip-maintainers mailing list