Bug#692575: pbx_spool.so hardcodes spool path

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Nov 7 17:20:49 UTC 2012


On Wed, Nov 07, 2012 at 04:15:56PM +0100, martin f krafft wrote:
> Package: asterisk-modules
> Version: 1:1.8.13.1~dfsg-1
> Severity: normal
> File: /usr/lib/asterisk/modules/pbx_spool.so
> Tags: upstream
> 
> After changing astspooldir in /etc/asterisk/asterisk.conf and
> moving /var/spool/asterisk accordingly, I get this warning during
> startup:
> 
>   WARNING[4291] pbx_spool.c: Unable to create queue directory /var/spool/asterisk/outgoing -- outgoing spool disabled
> 
> That module should not hardcode the path.

I have not yet tried to reproduce this, but it looks OK in the code, and
I don't recall this warning when trying similar things in the past.

'core show settings' should show the value of astspooldir. Was it set?
It should be applied to the module pbx_spool.so at the time it loads.

-- 
               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