I'd like to start two instances of Asterisk on the one box .
I made two directories ast1 and ast2 in /etc , /var/run .... to separate config files , logs , asterisk.pid file and made changes in each asterisk.conf files respectively. But when i started second instance i get message , that asterisk.pid file already exsists in /var/run although for second instance i set
"astrundir" parameter as /var/run/ast2. By the way , for first instance , the asterisk.pid file was created in /var/run instead of in /var/run/ast1 how i set in asterisk.conf for first instance .
Any advices ?