HI there
i tested using Opus Codec 1.2 with asterisk 14 and the result is still the same.
Find sip packets below
INVITE sip:0839######@192.15.1.9:5060 SIP/2.0
Via: SIP/2.0/UDP 192.2.2.162:1024;branch=z9hG4bK1733454999
From: "opus" <sip:2000@192.15.1.9:5060>;tag=1688182945
To: <sip:0839######@192.15.1.9:5060>
Call-ID: 1_2534513119@192.168.55.250
CSeq: 2 INVITE
Contact: <sip:2000@192.2.2.162:1024>
Authorization: Digest username="2000", realm="asterisk", nonce="1511258395/5b75d25cb8fd546670039c63ca099421", uri="sip:083#######8@192.15.1.9:5060", response="100280cc83481a99d6a1abb0d39c6436", algorithm=MD5, cnonce="0a4f113b", opaque="54bce1582a0573f7", qop=auth, nc=00000001
Content-Type: application/sdp
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Max-Forwards: 70
User-Agent: Yealink SIP-T40P 54.82.0.20
Allow-Events: talk,hold,conference,refer,check-sync
Supported: replaces
Content-Length: 216
v=0
o=- 20003 20003 IN IP4 192.2.2.162
s=SDP data
c=IN IP4 192.2.2.162
t=0 0
m=audio 12680 RTP/AVP 107 101
a=rtpmap:107 opus/48000/2
a=ptime:20
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2017-11-21 12:00:02 +0200 : 192.15.1.9:5060 -> 192.2.2.162:1024
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.2.2.162:1024;rport=1024;received=192.2.2.162;branch=z9hG4bK1733454999
Call-ID: 1_2534513119@192.168.55.250
From: "opus" <sip:2000@192.15.1.9>;tag=1688182945
To: <sip:###########@192.15.1.9>;tag=f4348e52-8a22-4ae6-a7e7-9855710a085f
CSeq: 2 INVITE
Server: FPBX-14.0.1.20(14.6.2)
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Contact: <sip:192.15.1.9:5060>
Supported: 100rel, timer, replaces, norefersub
P-Asserted-Identity: "CID:2000" <sip:##########@192.15.1.9>
Content-Type: application/sdp
Content-Length: 247
v=0
o=- 20003 20005 IN IP4 192.15.1.9
s=Asterisk
c=IN IP4 192.15.1.9
t=0 0
m=audio 15242 RTP/AVP 107 101
a=rtpmap:107 opus/48000/2
a=fmtp:107 cbr=1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
My codecs.conf is as follows
[opus8]
type=opus
packet_loss=5
complexity=10
max_bandwidth=narrow
signal=auto
application=voip
max_playback_rate=12000
bitrate=auto
cbr=1
fec=1
dtx=0