Hi, Amel!

Simply set the correct $rtp_relay(iface) for each peer and rtpengine will do that for you, i.e.:

$rtp_relay(iface) = "external";
$rtp_relay_peer(iface) = "internal";

Best regards,
Răzvan

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 7/18/23 12:44, [email protected] wrote:
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 <[email protected] <mailto:[email protected]>> *De la part de* Bogdan-Andrei Iancu
*Envoyé :* lundi 12 juin 2023 08:24
*À :* OpenSIPS users mailling list <[email protected] <mailto:[email protected]>>; GUESMI Amel SOFRECOM <[email protected] <mailto:[email protected]>>
*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 <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.opensips-solutions.com>

https://www.siphub.com  <https://www.siphub.com>

On 6/8/23 10:28 AM, [email protected] <mailto:[email protected]> wrote:

Hello,

We are using opensips 3.3

Amel

*De :*Users <[email protected]> <mailto:[email protected]> *De la part de* Bogdan-Andrei Iancu
*Envoyé :* jeudi 8 juin 2023 08:12
*À :* OpenSIPS users mailling list <[email protected]> <mailto:[email protected]>; KHARROUBI Mohamed SOFRECOM <[email protected]> <mailto:[email protected]>
*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.opensips-solutions.com>

https://www.siphub.com  <https://www.siphub.com>

On 6/6/23 6:06 PM, [email protected] <mailto:[email protected]> 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,

<http://www.orange.com/>

*Kharroubi Mohamed*
Senior DevOps/System Engineer

Orange/ IMT/ OLPS/ OPS/ International Centers/ Tunisia

[email protected] <mailto:[email protected]>

www.sofrecom.com <http://www.sofrecom.com/>

/Part of the Orange group/

_______________________________________________

Users mailing list

[email protected]  <mailto:[email protected]>

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

_______________________________________________

Users mailing list

[email protected]  <mailto:[email protected]>

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


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to