Your message dated Wed, 5 May 2010 23:26:30 +1000
with message-id <[email protected]>
and subject line Fwd: Bug#532313: custom paths in asterisk.conf are ignored
has caused the Debian Bug report #532313,
regarding custom paths in asterisk.conf are ignored
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
532313: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532313
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: asterisk
Version: 1:1.4.21.2~dfsg-3
Severity: important


Even when I define a custom path in asterisk.conf and point asterisk at
it, the daemon ignores them. I believe, asterisk shouldn't try to read
anything from /etc/asterisk/... in my situation:

[...@kahlua ...gs/asterisk-configs/sip-iax]$ cat asterisk.conf  
[global]
astetcdir => /home/viraptor/voip-configs/asterisk-configs/sip-iax
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /usr/share/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /home/viraptor/voip-configs/asterisk-configs/run
astlogdir => /home/viraptor/voip-configs/asterisk-configs/log

[...@kahlua ...gs/asterisk-configs/sip-iax]$ /usr/sbin/asterisk -C
/home/viraptor/voip-configs/asterisk-configs/sip-iax/asterisk.conf -f
-vvvvv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and
others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
for details.
This is free software, with components licensed under the GNU General
Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
 == Parsing
  '/home/viraptor/voip-configs/asterisk-configs/sip-iax/asterisk.conf':
  Found
 == Parsing '/etc/asterisk/extconfig.conf': Not found (Permission
  denied)
Unable to open pid file '/var/run/asterisk/asterisk.pid': Permission
  denied
Unable to bind socket to /var/run/asterisk/asterisk.ctl: Permission
  denied
 == Parsing '/etc/asterisk/logger.conf': Not found (Permission
  denied)
Unable to open logger.conf: Permission denied; default settings will be
  used.
[Jun  8 13:45:18] ERROR[32525]: logger.c:615 init_logger: Unable
  to create event log: Permission denied

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (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-3   Configuration files for Asterisk
ii  asterisk-sounds-main 1:1.4.21.2~dfsg-3   Core Sound files for Asterisk (Eng
ii  libasound2           1.0.20-2            shared library for ALSA applicatio
ii  libc-client2007b     8:2007b~dfsg-1.1+b1 c-client library for mail protocol
ii  libc6                2.9-12              GNU C Library: Shared libraries
ii  libcap2              1:2.16-5            support for getting/setting POSIX.
ii  libcurl3             7.18.2-8.1          Multi-protocol file transfer libra
ii  libgcc1              1:4.4.0-5           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.7+20090523-1      shared libraries for terminal hand
ii  libnewt0.52          0.52.10-3           Not Erik's Windowing Toolkit - tex
ii  libogg0              1.1.3-5             Ogg Bitstream Library
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libpq5               8.3.7-1             PostgreSQL C client library
ii  libpri1.0            1.4.3-3             Primary Rate ISDN specification li
ii  libradiusclient-ng2  0.5.6-1             Enhanced RADIUS client library
ii  libsnmp15            5.4.1~dfsg-12       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-16           SSL shared libraries
ii  libstdc++6           4.4.0-5             The GNU Standard C++ Library v3
ii  libtonezone1         1:1.4.11~dfsg-3     tonezone library (runtime)
ii  libvorbis0a          1.2.0.dfsg-5        The Vorbis General Audio Compressi
ii  libvorbisenc2        1.2.0.dfsg-5        The Vorbis General Audio Compressi
ii  libvpb0              4.2.39-1            Voicetronix telephony hardware use
ii  unixodbc             2.2.11-16+b1        ODBC tools libraries
ii  zlib1g               1:1.2.3.3.dfsg-13   compression library - runtime

asterisk recommends no packages.

Versions of packages asterisk suggests:
pn  asterisk-dev  <none>                     (no description available)
pn  asterisk-doc  <none>                     (no description available)
pn  asterisk-h323 <none>                     (no description available)
ii  ekiga         3.2.1~git20090515.9d0263-1 H.323 and SIP compatible VoIP clie
pn  kphone        <none>                     (no description available)
pn  ohphone       <none>                     (no description available)
pn  twinkle       <none>                     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Package: asterisk
Version: 1:1.6.1.0~dfsg-1 

----------  Forwarded Message  ----------

Subject: Bug#532313: custom paths in asterisk.conf are ignored
Date: Monday 08 June 2009, 23:17:43
From: Tzafrir Cohen <[email protected]>
To: StanisÅ‚aw Pitucha <[email protected]>, [email protected]

fixed 532313 1:1.6.1.0~dfsg-1
thanks

On Mon, Jun 08, 2009 at 01:54:24PM +0100, Stanisław Pitucha wrote:
> Package: asterisk
> Version: 1:1.4.21.2~dfsg-3
> Severity: important
> 
> 
> Even when I define a custom path in asterisk.conf and point asterisk at
> it, the daemon ignores them. I believe, asterisk shouldn't try to read
> anything from /etc/asterisk/... in my situation:
> 
> [...@kahlua ...gs/asterisk-configs/sip-iax]$ cat asterisk.conf  
> [global]

This is the cause of the problem. [global] is Asterisk 1.2. In 1.4 and
onwards this section is called [directories] .

While updating the packaging for 1.6.1 (now in Unstable), I removed our
separate hardcoded copy of asterisk.conf that included this incorrect
settings.

Workaround: 

  sed -i -e 's/^\[global\]/[directories]/' /etc/asterisk/asterisk.conf

Anyway, thanks for the report.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir





-----------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to