Bug#462270: asterisk: agi-bin directory is intended for local scripts, and should be under /var

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jan 23 16:39:25 UTC 2008


On Wed, Jan 23, 2008 at 04:00:07PM +0000, Tim Retout wrote:
> Package: asterisk
> Version: 1:1.4.17~dfsg-2
> Severity: normal
> 
> The default /etc/asterisk/asterisk.conf contains:
> 
>     astagidir => /usr/share/asterisk/agi-bin
> 
> The upstream default is /var/lib/asterisk/agi-bin - this directory can
> potentially contain locally created scripts (or binaries) to control
> dialplans, and should be under /var so that the administrator is free to
> drop executables in there.
> 
> [asterisk-app-fax has changed its behaviour to install a script at
> /usr/share/asterisk/agi-bin/receive_fax (see #394051) - it should probably
> either undo that move, or install a symlink into /var/lib/asterisk/agi-bin.]

agi-bin is modeled after cgi-bin directory of an HTTP daemon, which
resides with Debian under /usr/lib/cgi-bin . It's under /usr as it is
intended for programs and libraries.

If you want to add your own agi script, you can still put it there in
your local system.

You should put stuff under /var if they are to be modified at system
runtime.

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