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:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to