FYI OPUS support for Rasberry Pi 3B+

Discussion in 'Open Discussion' started by JoeOIVOV, Sep 23, 2018.

  1. JoeOIVOV

    JoeOIVOV New Member

    Joined:
    Sep 14, 2018
    Messages:
    24
    Likes Received:
    8
    I've already tried from a fresh install, make menuselect and turned on OPUS and recompiled but same results. I've even installed a later version of OPUS 1.1.5 and tried that with the same results.

    The only thing I've thinking is OPUS is not compatible with Raspberry Pi ARM processor?

    Any suggestions?
     
    #1 JoeOIVOV, Sep 23, 2018
    Last edited: Apr 17, 2019
  2. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    Correct. No OPUS module, of which we are aware, is available (yet) for ARM.
     
  3. Jaron

    Jaron New Member

    Joined:
    Jan 23, 2019
    Messages:
    1
    Likes Received:
    1
    Running Debian based Pi, libopus can be installed (easily) with > sudo apt-get install opus-tools
    This has been available since August 2018 as far as i know.
     
    wardmundy likes this.
  4. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    Thanks, @Jaron. By all means, give it a try and let us know how it goes. You'll need to recompile Asterisk with OPUS after adding the package.
     
  5. JoeOIVOV

    JoeOIVOV New Member

    Joined:
    Sep 14, 2018
    Messages:
    24
    Likes Received:
    8
    Got it working:

    Step #1:
    Code:
    cd /usr/lib/asterisk/modules/
    wget https://sourceforge.net/p/raspbx/discussion/tutorials/thread/855b8b02/c915/attachment/codec_opus_open_source.so
    Step #2: Enable the Opus codec in iPBX GUI > Settings > Asterisk Sip Setting > General Sip Setting > Audio Codec

    Step #3:
    Code:
    fwconsole restart
    asterisk -rx "core show codecs"
     
    #5 JoeOIVOV, Apr 17, 2019
    Last edited by a moderator: Apr 18, 2019
    wardmundy likes this.
  6. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526