<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=utf-8">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@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="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">So we don’t use that function regarding RTPEngine, but we use the rtpengine_manage() instead.<br>
<br>
Here is an example of how we use it inside the routing logic :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">####################################################################################<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">$var(rtpengine_flags) = "replace-session-connection replace-origin in-iface=internal out-iface=external";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">        rtpengine_manage("$var(rtpengine_flags)");<br>
####################################################################################<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Bien Cordialement,<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 style="color:#1F497D"><img width="51" height="43" style="width:.5312in;height:.4479in" id="Image_x0020_3" src="cid:image001.png@01D99939.927BC1F0"></span><span lang="EN-US" style="color:#1F497D">    </span><a href="http://www.orange.com/"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;text-decoration:none"><img border="0" width="27" height="27" style="width:.2812in;height:.2812in" id="Image_x0020_4" src="cid:image002.jpg@01D99939.927BC1F0"></span></a><span lang="EN-US" style="color:#1F497D"> </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;color:black">Kharroubi Mohamed</span></b><span lang="EN-US" style="font-size:10.0pt;color:black"><br>
Senior DevOps/System Engineer </span><span lang="EN-US" style="font-size:10.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:black">Orange/ IMT/ OLPS/ OPS/ International Centers/ Tunisia
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;color:#1F497D"><a href="mailto:mohamed.kharroubi@sofrecom.com">mohamed.kharroubi@sofrecom.com</a></span><b><span lang="EN-US" style="font-size:9.0pt;color:#A6A6A6"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="http://www.sofrecom.com/"><span lang="EN-GB" style="font-size:10.0pt">www.sofrecom.com</span></a></span><span lang="EN-GB" style="font-size:10.0pt;color:#1F497D"><br>
<br>
<i>Part of the Orange group</i></span><span lang="EN-US" style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>De :</b> Users <users-bounces@lists.opensips.org> <b>De la part de</b> Jehanzaib Younis<br>
<b>Envoyé :</b> mercredi 7 juin 2023 00:29<br>
<b>À :</b> OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Objet :</b> Re: [OpenSIPS-Users] B2B Opensips + RTPEngine<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi there,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Can you write an example of how you used rtpengine_offer() ?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Jehanzaib<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jun 7, 2023 at 3:07 AM <<a href="mailto:mohamed.kharroubi@sofrecom.com">mohamed.kharroubi@sofrecom.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello Community,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">How should the RTPEngine be configured in the Opensips.cfg or which function(s) should be called to achieve this?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="color:#1F497D">Bien Cordialement,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:10.0pt"><span style="color:#1F497D"><img border="0" width="51" height="43" style="width:.5312in;height:.4479in" id="m_-5494925473111499901Image_x0020_1" src="cid:image001.png@01D99939.927BC1F0"></span><span lang="EN-US" style="color:#1F497D">    </span><a href="http://www.orange.com/" target="_blank"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;text-decoration:none"><img border="0" width="27" height="27" style="width:.2812in;height:.2812in" id="m_-5494925473111499901Image_x0020_2" src="cid:image002.jpg@01D99939.927BC1F0"></span></a><span lang="EN-US" style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.0pt;color:black">Kharroubi Mohamed</span></b><span lang="EN-US" style="font-size:10.0pt;color:black"><br>
Senior DevOps/System Engineer </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.0pt;color:black">Orange/ IMT/ OLPS/ OPS/ International Centers/ Tunisia
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:9.0pt;color:#1F497D"><a href="mailto:mohamed.kharroubi@sofrecom.com" target="_blank">mohamed.kharroubi@sofrecom.com</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"><a href="http://www.sofrecom.com/" target="_blank"><span lang="EN-GB" style="font-size:10.0pt">www.sofrecom.com</span></a></span><span lang="EN-GB" style="font-size:10.0pt;color:#1F497D"><br>
<br>
<i>Part of the Orange group</i></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
</body>
</html>