[Asterisk-Dev] Multi asterisk installation

Andy lists at automated.it
Tue May 3 03:33:09 MST 2005


On 03/05/2005 at 13:18 Tzafrir Cohen wrote:

>Just give each Asterisk instance its own directory.
>
>If you want to run it as non-root, you'd probably want to create the pid
>file and the socket in a separate subdirectory under /var/run . 
>
>Here is asterisk.conf from debian:
>
>  [global]
>	astetcdir => /etc/asterisk
>	astmoddir => /usr/lib/asterisk/modules
>	astvarlibdir => /var/lib/asterisk
>	; in debian software lives under /usr 
>	astagidir => /usr/share/asterisk/agi-bin
>	astspooldir => /var/spool/asterisk
>	astrundir => /var/run/asterisk
>	astlogdir => /var/log/asterisk
>
>Replace each /asterisk$ in that file with a custom directory for your
>instance, owned by the user of that instance.

Yup this is a better solution... serves me right for poking my head out of 
my coding for 10 minutes...


Andy




More information about the asterisk-dev mailing list