<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Hi Guys,</div>
<div><br>
</div>
<div>We are currently testing OPUS and Im looking to lock down things to a maxplaybackrate of 8000HZ.</div>
<div><br>
</div>
<div>This works fine if FreeSWITCH is the receiver (Offer Answer), however if I then send an invite out from FreeSWITCH (bridge the same call)it doesnt seem to add the fmtp maxplaybackrate=8000 paramater.</div>
<div><br>
</div>
<div>As when FreeSWITCH answers I see;</div>
<div><br>
</div>
<div>Media Attribute (a): fmtp:111 useinbandfec=1; maxaveragebitrate=14400; maxplaybackrate=8000; minptime=10</div>
<div><br>
</div>
<div>However when I send an Invite offer out I see;</div>
<div><br>
</div>
<div> Media Attribute (a): rtpmap:111 opus/48000/2</div>
<div> Media Attribute (a): fmtp:111 minptime=10;useinbandfec=1</div>
<div><br>
</div>
<div><br>
</div>
<div>The OPUS module document seems to suggest we can add this, and if so how can I achieve this, as I have my opus.conf set to;</div>
<div><br>
</div>
<div><param name="use-vbr" value="1"/></div>
<div><param name="use-dtx" value="0"/></div>
<div><param name="complexity" value="10"/></div>
<div><param name="maxaveragebitrate" value="14400"/></div>
<div><param name="maxplaybackrate" value="8000"/></div>
<div><param name="packet-loss-percent" value="15"/></div>
<div><param name="keep-fec-enabled" value="1"/></div>
<div><param name="use-jb-lookahead" value="1"/></div>
<div><param name="advertise-useinbandfec" value="1"/></div>
<div><br>
</div>
<div><br>
</div>
<div>And I also set the SIP profile codec list and absolute codec offer to OPUS@8000h, and as I say works great when we answer an offer, but not when we originate.</div>
<div><br>
</div>
<div>Am I misconfiguring or is this not possible?</div>
<div><br>
</div>
<div>I know the RFC states the parameter "maxplaybackrate" is a unidirectional receive-only parameter that reflects limitations of the local receiver, however mod_opus documentation seems to suggest we can set it in the offer, so I should be able to add as;</div>
<div><br>
</div>
<div>maxplaybackrate=8000</div>
<div><br>
</div>
<div>Is this possible? I just want to ensure I get narrowband end to end.</div>
<div><br>
</div>
<div>Many thanks</div>
<div><br>
</div>
<div>Jon</div>
<br>
<p></p>
</div>
</body>
</html>