$ pkg search asteriskasterisk16-16.17.0 Open Source PBX and telephony toolkit
$ sudo /usr/local/etc/rc.d/asterisk startinstall: unknown group %%ASTERISK_GROUP%%Starting asterisk.Unable to create socket file directory. Remote consoles will not be able to connect! (Input/output error)Unable to chown run directory to 931 (asterisk)
$ sudo /usr/local/etc/rc.d/asterisk startStarting asterisk.$ ls -ld asterisk drwxr-xr-x 2 asterisk asterisk 0 May 4 09:10 asterisk$ ls -l asterisk/total 4-rw-r--r-- 1 asterisk asterisk 6 May 4 09:35 asterisk.pid