Bug#532313: custom paths in asterisk.conf are ignored

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jun 8 13:17:43 UTC 2009


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:
> 
> [vi at 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:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list