Bug#413544: Debug switch wrong in /etc/default/asterisk

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Mar 5 19:58:34 UTC 2007


On Mon, Mar 05, 2007 at 06:59:26PM +0100, Martin Jürgens wrote:
> Package:  asterisk
> Version: 1:1.2.16~dfsg-1
> 
> 
> The debug option commented out by default in /etc/default/asterisk is:-
> 
> PARAMS="-D -g -vvv"
> 
> This causes Asterisk to fail:-
> 
> Starting Asterisk PBX: /usr/sbin/asterisk: invalid option -- D
> 
> This needs to be changed to:-
> 
> PARAMS="-d -g -vvv"
> 

Actually, -D was a debian-specific switch, that had the same meaning as
the current -F: do fork into background, even in the presence of of -d
and/or -v .

Though it is actually better to use asterisk.conf for adding extra
debugging parameters, as it is being aplied on every restart of Asterisk
and not just by a full restart of the Asterisk service (for those of you
who have learned to use asterisk -R).

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+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