Just installed Asterisk 13.13.1 with FreePBX on Debian 8.
I ran into trouble with the “music on hold” options: (The hostname has been manually hidden)
root@$HOSTNAME:/usr/src/asterisk-13.13.1# asterisk -rvvv
Connected to Asterisk 13.13.1 currently running on $HOSTNAME (pid = 7095)
– Remote UNIX connection
– Remote UNIX connection disconnected
$HOSTNAMECLI> file convert /var/spool/asterisk/tmp/temp.1482329138961.wav16 /var/spool/asterisk/tmp/temp.1482329138961.ulaw
No such command ‘file convert /var/spool/asterisk/tmp/temp.1482329138961.wav16 /var/spool/asterisk/tmp/temp.1482329138961.ulaw’ (type ‘core show help file convert’ for other possible commands)
$HOSTNAMECLI> core show help file convert
No such command ‘file convert’.
Initially FreePBX showed the error. According to http://community.freepbx.org/t/no-such-command-file-convert-in-freepbx-on-centos-6/37064 these messages only show the output of Asterisk as shown above.
I recompiled and reinstalled Asterisk (simply by running make && make install again). All channels and possible music on hold options in the “make menuselect” sections were pre-selected by default.
According to different sources (oddly not the Asterisk 13 documentation) that command should exist.
I guess Asterisk uses sox behind “file convert” to convert the input files to the appropriate file format - Sox seems to be properly installed.
root@$HOSTNAME:/usr/src/asterisk-13.13.1# dpkg -s sox
Status: install ok installed