After installing asterisk-1.2.4, I noticed an error in the file that is installed to /etc/init.d/asterisk from /usr/portage/net-misc/asterisk/files/1.0.0/asterisk.rc6. The path to the pid file is incorrect for at least this version of asterisk. (My old install died on a bad hard drive, so I can't confirm what all versions are affected.)
Created attachment 78904 [details, diff] change /var/run/asterisk.pid to /var/run/asterisk/asterisk.pid
no, the ebuild installed the wrong version of the init script and conf.d file fixed in cvs