<div dir="ltr">Hello!<div><br></div><div>Small note.</div><div>In case of opus use: codec-transcode-opus (opus is lowercase).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 February 2018 at 02:53, Richard Fuchs <span dir="ltr"><<a href="mailto:rfuchs@sipwise.com" target="_blank">rfuchs@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018-02-16 07:55 PM, Carsten Bock wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Quick (and simple) question:<br>
<br>
Can someone provide a working RTPengine request, to enable Transcoding?<br>
<br>
I know, this is possible, but I thought before looking into deep, how this should be configured for the rtpengine_offer() command, could someone provide an example?<br>
</blockquote>
<br></span>
It's pretty straight forward.<br>
<br>
Example: A offers some SDP to B.<br>
<br>
Let's say you think B probably speaks PCMU, so you want to make sure to offer it, even if A didn't offer it: forward transcoding. Add `transcode-PCMU`.<br>
<br>
Let's say you also know B is allergic to PCMA, so you want to remove it from the offer to B, but still be able to speak it to A: backward transcoding. Add `codec-mask-PCMA`.<br>
<br>
These two cases are really independent of each other, but can be combined.<br>
<br>
Full example with some other options:<br>
<br>
rtpengine_offer('ICE=remove rtcp-mux-demux codec-mask-PCMA transcode-PCMU')<br>
<br>
Simple!<br>
<br>
Cheers<br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><div>BR</div><div>Denys Pozniak</div></div></div>
</div>