<div dir="ltr">Just posting this to document the end result. The following line to pass the transcoding parameters I wanted directly to the RTPEngine daemon worked for me:<div><br></div><div>    transcode-opus/48000/2/32000//stereo--0;useinbandfec--1;maxplaybackrate--16000;sprop-maxcapturerate--16000 </div><div><br></div><div>NB - The '--' part means '=' and is there to avoid parsing errors in RTPEngine</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 Sept 2021 at 10:58, Johan De Clercq <<a href="mailto:Johan@democon.be">Johan@democon.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">No worries</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 15, 2021, 11:43 Mark Allen <<a href="mailto:mark@allenclan.co.uk" target="_blank">mark@allenclan.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ah! Thanks Răzvan and Johan. I was thinking that the options described in the OpenSIPS RTPEngine module documentation were the only ones available, but I missed the key phrase...<div><br></div>    *When passing an option that OpenSIPS is not aware of, it will be blindly sent to the rtpengine daemon to be processed.*<div><br><div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">...I should be fine from here I think. Thanks for your help.</span></div><div><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br></span></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Sept 2021 at 14:29, Răzvan Crainea <<a href="mailto:razvan@opensips.org" rel="noreferrer" target="_blank">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think the proper way to do it is <br>
`transcode-opus/48000/2/32000//maxplaybackrate--48000;stereo--0;useinbandfec--1;maxaveragebitrate--32000`<br>
Anyway, as Johan suggests, follow the rtpengine documentation, you will <br>
find more info there.<br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 9/14/21 15:51, Mark Allen wrote:<br>
> Hi Răzvan<br>
> <br>
>     OpenSIPS passes the commands to RTPengine as you supply them, so in<br>
>     theory this should be supported. Did you try to set this up? Can you<br>
>     provide any logs about this?<br>
> <br>
> <br>
> No. I'm not sure how I would specify this in the opensips.cfg <br>
> rtpengine_offer parameters. From the documentation for the <br>
> rptengine OpenSIPS module, it doesn't seem as if something like the <br>
> following is an option...<br>
> <br>
>      <br>
> transcode-opus='opus/48000/2/32000//maxplaybackrate=48000;stereo=0;useinbandfec=1;maxaveragebitrate=32000' <br>
> <br>
> <br>
> ...however, if I have tried this in the code (with or without quotes) it <br>
> doesn't produce an error, either from OpenSIPS or rtpengine, but neither <br>
> does it do anything - Opus fmtp in the SDP is not changed. I guess I'm <br>
> looking for the correct OpenSIPS syntax to pass these parameters <br>
> successfully to rtpengine<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>