[OpenSIPS-Users] B2B Opensips + RTPEngine

amel.guesmi at sofrecom.com amel.guesmi at sofrecom.com
Tue Jul 18 09:44:59 UTC 2023


Hello all,

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.

                ## Handle rtp_relay
                  $rtp_relay = "co";
                  $rtp_relay_peer = "co";
                  $rtp_relay_engage("rtpengine");

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.
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).


SIP1                                   SIPext  SIPint                                     SIPcl
  +    ----   INVITE (SDP RTP1) ---->       B2B         ------ INVITE (SDP RTPint) --->   Client
RTP1                                  RTPext   RTPint                                     RTPcl


       <---   200OK  (SDP RTPext) ----       B2B        <------ 200OK  (SDP RTPcl) ---   Client




Thanks for your help.
BR, Amel
______________________________________________________________________________________________________________________________
De : Users <users-bounces at lists.opensips.org<mailto:users-bounces at lists.opensips.org>> De la part de Bogdan-Andrei Iancu
Envoyé : lundi 12 juin 2023 08:24
À : OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>; GUESMI Amel SOFRECOM <amel.guesmi at orange.com<mailto:amel.guesmi at orange.com>>
Objet : Re: [OpenSIPS-Users] B2B Opensips + RTPEngine

Hi Amel,

With 3.3 you can use the this https://opensips.org/docs/modules/3.3.x/rtp_relay.html#func_rtp_relay_engage - the engage will take care of all sequential (in the b2b scenario) insertion of the rtp relay you use.

Regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

  https://www.siphub.com
On 6/8/23 10:28 AM, amel.guesmi at sofrecom.com<mailto:amel.guesmi at sofrecom.com> wrote:
Hello,

We are using opensips 3.3

Amel

De : Users <users-bounces at lists.opensips.org><mailto:users-bounces at lists.opensips.org> De la part de Bogdan-Andrei Iancu
Envoyé : jeudi 8 juin 2023 08:12
À : OpenSIPS users mailling list <users at lists.opensips.org><mailto:users at lists.opensips.org>; KHARROUBI Mohamed SOFRECOM <mohamed.kharroubi at sofrecom.com><mailto:mohamed.kharroubi at sofrecom.com>
Objet : Re: [OpenSIPS-Users] B2B Opensips + RTPEngine

Hi,

Which OpenSIPS version do you use? some have auto rtp engaging support via the rtp_relay module.

Regards,

Bogdan-Andrei Iancu



OpenSIPS Founder and Developer

  https://www.opensips-solutions.com

  https://www.siphub.com
On 6/6/23 6:06 PM, mohamed.kharroubi at sofrecom.com<mailto:mohamed.kharroubi at sofrecom.com> wrote:
Hello Community,

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 » !

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

How should the RTPEngine be configured in the Opensips.cfg or which function(s) should be called to achieve this?

Bien Cordialement,
[cid:image002.png at 01D9B964.E1403550]    [cid:image003.jpg at 01D9B964.E1403550] <http://www.orange.com/>
Kharroubi Mohamed
Senior DevOps/System Engineer
Orange/ IMT/ OLPS/ OPS/ International Centers/ Tunisia

mohamed.kharroubi at sofrecom.com<mailto:mohamed.kharroubi at sofrecom.com>
www.sofrecom.com<http://www.sofrecom.com/>

Part of the Orange group



_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230718/a45cfa72/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 2476 bytes
Desc: image002.png
URL: <http://lists.opensips.org/pipermail/users/attachments/20230718/a45cfa72/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 785 bytes
Desc: image003.jpg
URL: <http://lists.opensips.org/pipermail/users/attachments/20230718/a45cfa72/attachment-0001.jpg>


More information about the Users mailing list