<div dir="ltr">Thank you for the answer, but from "SDP" point of view everything looks OK, I think issue is with my config or transcoding engine:<div><br></div><div>Side A INVITE-> Proxy/Rtpengine:</div><div><br></div><div><div>v=0</div><div>o=- 3543840537 1 IN IP4</div><div>s=SIPPER for PhonerLite</div><div>c=IN IP4 side_a</div><div>t=0 0</div><div><div>m=audio 55062 RTP/AVP 107 8</div><div>a=rtpmap:107 opus/48000/2</div><div>a=rtpmap:8 PCMA/8000</div><div>a=ssrc:1792443851</div><div>a=sendrecv</div></div><div><br></div></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Proxy/Rtpengine OK -></span> <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Side A:</span>
<br></div><div><br></div><div><div>v=0</div><div>o=- 3728121777 3728121778 IN IP4</div><div>s=pjmedia</div><div>b=AS:50</div><div>t=0 0</div><div>a=X-nat:0</div><div>m=audio 30254 RTP/AVP 8</div><div>c=IN IP4 rtpengine</div><div>b=TIAS:32000</div><div>a=rtpmap:8 PCMA/8000</div><div>a=sendrecv</div><div>a=rtcp:30255</div></div><div><br></div><div>So here must be PCMA in direction from
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Proxy/Rtpengine -> Side A, but I have opus.</span></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2018 at 12:41, Gopalakrishnan N <span dir="ltr"><<a href="mailto:saigop@gmail.com" target="_blank">saigop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Denys,<div><br></div><div>Am not much user of Kamilio, but am from Telecom background. The reason for your case is, in side A you have OPUS and in side B already OPUS is available and since both has the same codec as first priority it will negotiate itself with same codec and then it will look for other priority. Remove OPUS from side A and it will automatically go into transcoding mode. </div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Tue, 20 Feb 2018 at 16:17 Denys Pozniak <<a href="mailto:denys.pozniak@crazycall.com" target="_blank">denys.pozniak@crazycall.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>Please explain how to achive next:</div><div><br></div><div><div>Side A supports:<br></div><div>OPUS</div><div>PCMA</div><div><br></div><div>Side B supports:</div><div>OPUS</div><div>PCMA</div><div>PCMU</div><div><br></div><div>I need to transcode in direction A->B from PCMA to OPUS?</div><div>So should be like this:<br></div><div>A(PCMA) -> (PCMA)Rtpengine(OPUS)->B(OPUS)</div><div><br></div><div>I configured like this:</div><div>rtpengine_offer("codec-mask-<wbr>PCMA codec-transcode-opus");<br></div><div>rtpengine_answer("codec-mask-<wbr>opus codec-transcode-PCMA");<br></div></div><div><br></div><div>But leg from Rtpengine to A has wrong codec (OPUS): </div><div><a href="https://drive.google.com/file/d/14GAIt8lL7Igj9S95b_RS6CXtmGVhjLa1/view" target="_blank">https://drive.google.com/file/<wbr>d/14GAIt8lL7Igj9S95b_<wbr>RS6CXtmGVhjLa1/view</a><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 February 2018 at 13:56, 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>On 2018-02-19 05:48 AM, Denys Pozniak wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
Small note.<br>
In case of opus use: codec-transcode-opus (opus is lowercase).<br>
</blockquote>
<br></span>
As explained in the readme, the format generally follows the SDP format, including specifying sample rate and number of channels. As an additional parameter, the bitrate can be specified for codecs that support it.<br>
<br>
Examples:<br>
<br>
transcode-speex/32000<br>
<br>
transcode-opus/48000/2/64000<div class="m_2951434460115011919m_-4421959225484832383HOEnZb"><div class="m_2951434460115011919m_-4421959225484832383h5"><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/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_2951434460115011919m_-4421959225484832383gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><div>BR</div><div>Denys Pozniak</div></div></div>
</div>
______________________________<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/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote></div>
</div></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">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/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<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>