/usr/local/etc/rc.d/asterisk as installed is not sufficient to start asterisk on boot. There's at least a couple of problems: #!/bin/sh # PROVIDE asterisk # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON The PROVIDE line should be PROVIDE: otherwise the rc.subr greps won't find the script (previously it was asterisk.sh, so the legacy startup would still find it) The REQUIRE: NETWORKING SERVERS puts it too early in the boot sequence... Mar 19 15:01:38 pbx kernel: Starting asterisk. Mar 19 15:01:39 pbx kernel: ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg /usr/local/libdata/ldconfig /mysql It's configured before the ldconfig runs, so any package dependencies (eg. libpri) can't be dynamically linked. Fix: PROVIDE -> PROVIDE: Fix the dependency order in the REQUIRE:/BEFORE: lines; I changed it to REQUIRE: DAEMON and no BEFORE: locally, but there's probably a better way. How-To-Repeat: Install net/asterisk and reboot with asterisk_enable="YES" in /etc/rc.conf
Responsible Changed From-To: freebsd-ports-bugs->sobomax Over to maintainer
State Changed From-To: open->closed Changes committed, thanks!