So I have been reading a lot on opus and it seems like a great option for some of the mobile users we have that are having audio quality issues over ULAW/G729 but for the life of me I can't seem to get it to work.
I have a Yealink T58A as well as a few T46S models that support OPUS wideband. I have set only the OPUS codec on the phones account.
I have added OPUS to global_codec_prefs and outbound_codec_prefs.
INVITE
----------
INVITE sip:101@example.com:5060 SIP/2.0
Via: SIP/2.0/TCP 192.168.1.200:50150;branch=z9hG4bK58938284;rport
From: "Justin Rosetto" <sip:103@example.com:5060>;tag=2126336938
To: <sip:101@example.com:5060>
Call-ID: 0_1234785195@192.168.1.200
CSeq: 2 INVITE
Contact: <sip:103@192.168.1.200:50150;transport=TCP>
Proxy-Authorization: Digest username="103", realm="example.com", nonce="97d08c73-4778-4a03-a30e-479494239564", uri="sip:101@example.com:5060", response="7d3adf6f12811613a9f6878557744469", algorithm=MD5, cnonce="4109718445", 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-T58 58.85.0.5
Supported: from-change
Allow-Events: talk,hold,conference,refer,check-sync
Supported: replaces
Content-Length: 335
v=0
o=- 20021 20021 IN IP4 192.168.1.200
s=SDP data
c=IN IP4 192.168.1.200
t=0 0
m=audio 50198 RTP/AVP 107 101
a=rtpmap:107 opus/48000/2
a=fmtp:107 sprop-maxcapturerate=16000; maxaveragebitrate=20000; maxplaybackrate=48000; useylrtx=1; useinbandfec=1
a=ptime:20
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
----------
488 response
----------
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/TCP 192.168.1.200:50150;branch=z9hG4bK58938284;rport=50150;received=1.2.3.4
Max-Forwards: 70
From: "Justin Rosetto" <sip:103@example.com:5060>;tag=2126336938
To: <sip:101@example.com:5060>;tag=U5g487DyyU92S
Call-ID: 0_1234785195@192.168.1.200
CSeq: 2 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
Content-Length: 0
Remote-Party-ID: "101" <sip:101@example.com>;party=calling;privacy=off;screen=no
----------
What am I missing here?
I even tried adding every opus codec to the variables to no avail.
I have a Yealink T58A as well as a few T46S models that support OPUS wideband. I have set only the OPUS codec on the phones account.
I have added OPUS to global_codec_prefs and outbound_codec_prefs.
INVITE
----------
INVITE sip:101@example.com:5060 SIP/2.0
Via: SIP/2.0/TCP 192.168.1.200:50150;branch=z9hG4bK58938284;rport
From: "Justin Rosetto" <sip:103@example.com:5060>;tag=2126336938
To: <sip:101@example.com:5060>
Call-ID: 0_1234785195@192.168.1.200
CSeq: 2 INVITE
Contact: <sip:103@192.168.1.200:50150;transport=TCP>
Proxy-Authorization: Digest username="103", realm="example.com", nonce="97d08c73-4778-4a03-a30e-479494239564", uri="sip:101@example.com:5060", response="7d3adf6f12811613a9f6878557744469", algorithm=MD5, cnonce="4109718445", 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-T58 58.85.0.5
Supported: from-change
Allow-Events: talk,hold,conference,refer,check-sync
Supported: replaces
Content-Length: 335
v=0
o=- 20021 20021 IN IP4 192.168.1.200
s=SDP data
c=IN IP4 192.168.1.200
t=0 0
m=audio 50198 RTP/AVP 107 101
a=rtpmap:107 opus/48000/2
a=fmtp:107 sprop-maxcapturerate=16000; maxaveragebitrate=20000; maxplaybackrate=48000; useylrtx=1; useinbandfec=1
a=ptime:20
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
----------
488 response
----------
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/TCP 192.168.1.200:50150;branch=z9hG4bK58938284;rport=50150;received=1.2.3.4
Max-Forwards: 70
From: "Justin Rosetto" <sip:103@example.com:5060>;tag=2126336938
To: <sip:101@example.com:5060>;tag=U5g487DyyU92S
Call-ID: 0_1234785195@192.168.1.200
CSeq: 2 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"
Content-Length: 0
Remote-Party-ID: "101" <sip:101@example.com>;party=calling;privacy=off;screen=no
----------
What am I missing here?
I even tried adding every opus codec to the variables to no avail.