RasPBX 18-04-04 only steps, probably still more packages than needed but it works all steps may require less than an hour on Pi3:
raspi-config#enlarge boot partition 7>A1 & rebootraspbx-upgrade#will update asterisk to 13.22.0#press 'y' and 'q' when asked#don't forget to update FreePBX modules from the webinterface aswell!#Admin>Module Admin> "Check Online / Upgrade all / Process / Confirm" or#fwconsole ma upgradeallapt-getinstallbisonflexphp5php5-curlphp5-cliphp5-mysqlphp-pearphp5-gdcurlsoxlibncurses5-devlibssl-devlibmysqlclient-devmpg123libxml2-devlibnewt-devsqlite3libsqlite3-devautomakelibtoolautoconfgitunixodbc-devuuiduuid-devlibasound2-devlibogg-devlibvorbis-devlibicu-devlibcurl4-openssl-devlibical-devlibneon27-devlibsrtp0-devlibspandsp-devlibmyodbclibtool-binpython-devdirmngrlibopus-devlibopusfile-devbuild-essentialautoconflibssl-devlibncurses-devlibnewt-devlibxml2-devlibsqlite3-devuuid-devlibjansson-devlibblocksruntime-devxmlstarletcd/usr/srcwgethttp://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.22.0.tar.gztarxvfzasterisk-13.22.0.tar.gzrm-fasterisk-13.22.0.tar.gzcdasterisk-13.22.0contrib/scripts/get_mp3_source.shcontrib/scripts/install_prereqinstall#pkgconfig conflict#phone countrycode austrialia 61 > nl 31 > your country?wgetgithub.com/traud/asterisk-opus/archive/asterisk-13.7.tar.gztarzxfasterisk-13.7.tar.gzrmasterisk-13.7.tar.gzcp--verboseasterisk-opus*/include/asterisk/*include/asteriskcp--verboseasterisk-opus*/codecs/*codecscp--verboseasterisk-opus*/res/*res./configure--with-pjproject-bundledmakemenuselect#enable / Add-ons > format_mp3 / Codec Translators > --Unspecified-- codec_opus_open_source make-j4#On pi3 takes about 20 Minutesmd5sumcodecs/codec_opus_open_source.so30de7a431a273ff66d4b71d0542132fbcpcodecs/codec_opus_open_source.so/usr/lib/asterisk/modules/#FreePBXwebinterfaceSettings>AsteriskIAX/SIPsettings>"Codec Settings/Codecs"Checkboxopus#ssh / consolefwconsolerestartasterisk-r# check output of following commandscoreshowcodecscoreshowtranslationmoduleshowlikeopusmoduleshowlikecodec_resample
Now its time to setup a conference room with some music on hold and two extensions each using a other codec. Only tested sip protocol.
PS:Also previous Debian 8 Jessie based version of RasPBX with FreePBX 13.0.195.4 / asterisk 13.17.1 works with these steps. However it requires its own Asterisk version specific opus module. See attachments:
RasPBX 18-04-04 only steps, probably still more packages than needed but it works all steps may require less than an hour on Pi3:
Now its time to setup a conference room with some music on hold and two extensions each using a other codec. Only tested sip protocol.
PS:Also previous Debian 8 Jessie based version of RasPBX with FreePBX 13.0.195.4 / asterisk 13.17.1 works with these steps. However it requires its own Asterisk version specific opus module. See attachments:
Last edit: Walter Sonius 2018-08-24