Opus on asterisk 18

I am trying to get OPUS to work on asterisk 18 - chan_sip

I think I installed correctly from the directions:
wget https://downloads.digium.com/pub/telephony/codec_opus/asterisk-18.0/x86-64/codec_opus-18.0_1.3.0-x86_64.tar.gz
tar -xf codec_opus-18.0_1.3.0-x86_64.tar.gz
cd codec_opus-18.0_1.3.0-x86_64
cp codec_opus.so /usr/lib/asterisk/modules/
cp codec_opus_config-en_US.xml /var/lib/asterisk/documentation/thirdparty/

I then stopped and started aterisk

connected to the CLI

module show like opus
Module Description Use Count Status Support Level
codec_opus.so OPUS Coder/Decoder 0 Running extended
res_format_attr_opus.so Opus Format Attribute Module 1 Running core

Tried to send a call to an OPUS supported device (TOA-IP-A1AF) - and nothing was heard.

Did I miss something ? thoughts?

Jerry

On Tuesday 10 December 2024 at 17:16:29, JerryGeis via Asterisk Community
wrote:

I am trying to get OPUS to work on asterisk 18 - chan_sip

Tried to send a call to an OPUS supported device (TOA-IP-A1AF) - and
nothing was heard.

Did I miss something ? thoughts?

  1. Don’t use chan_sip - it’s no longer supported, and no longer exists in
    latest Asterisk versions.

  2. Show us a SIP packet capture, specifically including the SDP exchanges
    between Asterisk and the two endpoints which are trying to talk to each other.

Antony.

–
“Linux is going to be part of the future. It’s going to be like Unix was.”

  • Peter Moore, Asia-Pacific general manager, Microsoft

                                                Please reply to the list;
                                                      please *don't* CC me.
    

I’m not sure what happened - but it started working.
I changed teh device to ONLY accept opus, changed asterisk to only allow=opus
tried again and it worked.

Jerry