<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Franklin Gothic Book";
panose-1:2 11 5 3 2 1 2 2 2 4;}
@font-face
{font-family:Courrier;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:"Courier New";
mso-fareast-language:FR;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">Hello all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">Thank you for your help, the rtp_relay_engage function worked very well and we can now have the SDP changed correctly when the frames are passing the B2B opensips.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"><br>
</span><span lang="EN-US" style="font-family:"Courier New""> </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">## Handle rtp_relay<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> $rtp_relay = "co";<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> $rtp_relay_peer = "co";<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> $rtp_relay_engage("rtpengine");<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Courrier"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">We are meeting a new problem : we have two interfaces on our Opensips, one external and one internal and we have to change the SDP engage with each interface.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">We want the opensips to change SDP with RTP internal when we’re going from external to internal (in UAS mode), and with external in the other way (in UAC mode).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">SIP1 SIPext SIPint SIPcl<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> + ---- INVITE (SDP RTP1) ----> B2B ------ INVITE (SDP RTPint) ---> Client<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">RTP1 RTPext RTPint RTPcl<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""> <--- 200OK (SDP RTPext) ---- B2B <------ 200OK (SDP RTPcl) --- Client<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif">Thanks for your help.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;font-family:"Franklin Gothic Book",sans-serif;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:FR">BR, Amel
</span></b><b><span lang="EN-US" style="font-size:12.0pt;color:black"><br>
</span></b><span lang="EN-US" style="color:black">______________________________________________________________________________________________________________________________</span><span lang="EN-US" style="color:#201F1E;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:FR">De :</span></b><span lang="EN-US" style="mso-fareast-language:FR"> Users <<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>>
<b>De la part de</b> Bogdan-Andrei Iancu<br>
<b>Envoyé :</b> lundi 12 juin 2023 08:24<br>
<b>À :</b> OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>>; GUESMI Amel SOFRECOM <<a href="mailto:amel.guesmi@orange.com">amel.guesmi@orange.com</a>><br>
<b>Objet :</b> Re: [OpenSIPS-Users] B2B Opensips + RTPEngine<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-family:"Courier New"">Hi Amel,<br>
<br>
With 3.3 you can use the this <a href="https://opensips.org/docs/modules/3.3.x/rtp_relay.html#func_rtp_relay_engage">
https://opensips.org/docs/modules/3.3.x/rtp_relay.html#func_rtp_relay_engage</a> - the engage will take care of all sequential (in the b2b scenario) insertion of the rtp relay you use.<br>
<br>
Regards,</span><span lang="EN-US" style="mso-fareast-language:FR"><o:p></o:p></span></p>
<pre><span lang="EN-US">Bogdan-Andrei Iancu<o:p></o:p></span></pre>
<pre><span lang="EN-US"><o:p> </o:p></span></pre>
<pre><span lang="EN-US">OpenSIPS Founder and Developer<o:p></o:p></span></pre>
<pre><span lang="EN-US"> </span><a href="https://www.opensips-solutions.com"><span lang="EN-US">https://www.opensips-solutions.com</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<pre><span lang="EN-US"> </span><a href="https://www.siphub.com"><span lang="EN-US">https://www.siphub.com</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<p class="MsoNormal"><span lang="EN-US">On 6/8/23 10:28 AM, <a href="mailto:amel.guesmi@sofrecom.com">
amel.guesmi@sofrecom.com</a> wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Cambria",serif;color:#002060">Hello,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Cambria",serif;color:#002060"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Cambria",serif;color:#002060">We are using opensips 3.3</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Cambria",serif;color:#002060"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Cambria",serif;color:#002060">Amel</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:FR">De :</span></b><span lang="EN-US" style="mso-fareast-language:FR"> Users
<a href="mailto:users-bounces@lists.opensips.org"><users-bounces@lists.opensips.org></a>
<b>De la part de</b> Bogdan-Andrei Iancu<br>
<b>Envoyé :</b> jeudi 8 juin 2023 08:12<br>
<b>À :</b> OpenSIPS users mailling list <a href="mailto:users@lists.opensips.org">
<users@lists.opensips.org></a>; KHARROUBI Mohamed SOFRECOM <a href="mailto:mohamed.kharroubi@sofrecom.com">
<mohamed.kharroubi@sofrecom.com></a><br>
<b>Objet :</b> Re: [OpenSIPS-Users] B2B Opensips + RTPEngine</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-family:"Courier New"">Hi,<br>
<br>
Which OpenSIPS version do you use? some have auto rtp engaging support via the rtp_relay module.<br>
<br>
Regards,</span><span lang="EN-US"><o:p></o:p></span></p>
<pre><span lang="EN-US">Bogdan-Andrei Iancu<o:p></o:p></span></pre>
<pre><span lang="EN-US"> <o:p></o:p></span></pre>
<pre><span lang="EN-US">OpenSIPS Founder and Developer<o:p></o:p></span></pre>
<pre><span lang="EN-US"> </span><a href="https://www.opensips-solutions.com"><span lang="EN-US">https://www.opensips-solutions.com</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<pre><span lang="EN-US"> </span><a href="https://www.siphub.com"><span lang="EN-US">https://www.siphub.com</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<p class="MsoNormal"><span lang="EN-US">On 6/6/23 6:06 PM, <a href="mailto:mohamed.kharroubi@sofrecom.com">
mohamed.kharroubi@sofrecom.com</a> wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hello Community,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We are trying to set up an Opensips with RTPEngine in a B2B configuration to handle media processing. There is no scenario for the B2B we’re trying to implement, we’re just using the topology « «top hiding » ! <br>
<br>
However, regardless of our configuration, the SDP of the INVITE and 200 OK packets is not modified to include the RTPEngine IP address and port<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">How should the RTPEngine be configured in the Opensips.cfg or which function(s) should be called to achieve this?<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:FR">Bien Cordialement,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:10.0pt;margin-right:0cm;margin-bottom:10.0pt;margin-left:0cm">
<span lang="EN-US" style="color:#1F497D;mso-fareast-language:FR"><img border="0" width="51" height="43" style="width:.5347in;height:.4513in" id="Image_x0020_1" src="cid:image002.png@01D9B964.E1403550"></span><span lang="EN-US" style="color:#1F497D;mso-fareast-language:FR"> </span><a href="http://www.orange.com/"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:blue;mso-fareast-language:FR;text-decoration:none"><img border="0" width="27" height="27" style="width:.2847in;height:.2847in" id="Image_x0020_2" src="cid:image003.jpg@01D9B964.E1403550"></span></a><span lang="EN-US" style="color:#1F497D;mso-fareast-language:FR"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;color:black;mso-fareast-language:FR">Kharroubi Mohamed</span></b><span lang="EN-US" style="font-size:10.0pt;color:black;mso-fareast-language:FR"><br>
Senior DevOps/System Engineer </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:black;mso-fareast-language:FR">Orange/ IMT/ OLPS/ OPS/ International Centers/ Tunisia
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:FR"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="mailto:mohamed.kharroubi@sofrecom.com"><span style="font-size:9.0pt;mso-fareast-language:FR">mohamed.kharroubi@sofrecom.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://www.sofrecom.com/"><span lang="EN-GB" style="font-size:10.0pt;mso-fareast-language:FR">www.sofrecom.com</span></a></span><span lang="EN-GB" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:FR"><br>
<br>
<i>Part of the Orange group</i></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><o:p> </o:p></span></p>
<pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
<pre><span lang="EN-US">Users mailing list<o:p></o:p></span></pre>
<pre><a href="mailto:Users@lists.opensips.org"><span lang="EN-US">Users@lists.opensips.org</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"><span lang="EN-US">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:FR"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="mso-fareast-language:FR"><o:p> </o:p></span></p>
<pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
<pre><span lang="EN-US">Users mailing list<o:p></o:p></span></pre>
<pre><a href="mailto:Users@lists.opensips.org"><span lang="EN-US">Users@lists.opensips.org</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"><span lang="EN-US">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</span></a><span lang="EN-US"><o:p></o:p></span></pre>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>