[asterisk-bugs] [JIRA] (ASTERISK-30358) OPUS doesn't generate SDP according to codecs.conf

Ruben Iniguez (JIRA) noreply at issues.asterisk.org
Fri Dec 16 10:16:51 CST 2022


Ruben Iniguez created ASTERISK-30358:
----------------------------------------

             Summary: OPUS doesn't generate SDP according to codecs.conf
                 Key: ASTERISK-30358
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30358
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/CodecHandling, Codecs/codec_opus
    Affects Versions: 18.15.0
            Reporter: Ruben Iniguez
            Severity: Major


Opus configuration options in codecs.conf seem not to take effect.Example of this follows below:

For the config in codecs.conf:
[myopus]
type=opus
max_playback_rate=8000

The SDP in 200 OK provided by Asterisk is:
v=0
o=- 1035043469 4 IN IP4 10.10.10.121
s=Asterisk
c=IN IP4 10.10.10.121
t=0 0
m=audio 23326 RTP/AVP 111 126
a=rtpmap:111 opus/48000/2
a=fmtp:111 useinbandfec=1
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-16
a=ptime:20
a=maxptime:20
a=sendrecv

So it is missing maxplaybackrate parameter in SDP.

I haven't made exhustive checkings but so far I found only bitrate parameter (maxaveragebitrate on SDP) is configurable.

I found ASTERISK-26901 is related to this. However I opened a new case since that one seems unattended.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list