[OpenSIPS-Users] opensips 3.2 B2B module and RTPProxy/RTPEngine

Mark Farmer farmorg at gmail.com
Tue Nov 9 14:43:04 EST 2021


Hi Razvan/Everyone!

I too would love to see examples where people have done this. I am using
RTPEngine and am looking at using the B2BUA module to handle REFER's.

With regards to using the keys in subsequent requests/replies - are you
suggesting to use the extra_hrds() & extra_hdr_bodies() variables to
reconstruct the to/from/call-id headers before sending the request out?

Best regards
Mark.




On Wed, 2 Jun 2021 at 08:47, Răzvan Crainea <razvan at opensips.org> wrote:

> Hi, Xaled!
>
> You can engange RTPengine for a B2B session, however you will have to
> make sure that you are using the correct callid/from-tag/to-tag for the
> entire communication to RTPengine. To do so, I would recommend you start
> with a rtengine_offer() for the initial invite, then store the
> callid/from-tag/to-tag in the $b2b_logic.ctx [1], and use those keys in
> all the sequential requests/replies.
>
> [1] https://opensips.org/docs/modules/3.2.x/b2b_logic.html#b2b_logic.ctx
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 5/26/21 12:27 PM, David Villasmil wrote:
> > Are you 100% sure opensips can “talk” to rtpengine? How do you know?
> >
> > On Wed, 26 May 2021 at 09:24, <xaled at web.de <mailto:xaled at web.de>>
> wrote:
> >
> >     Apologies for keep on bugging on this issue, but would really
> >     appreciate any hints.
> >
> >     -----Original Message-----
> >     From: Users <users-bounces at lists.opensips.org
> >     <mailto:users-bounces at lists.opensips.org>> On Behalf Of xaled at web.de
> >     <mailto:xaled at web.de>
> >     Sent: Wednesday, May 19, 2021 1:30 PM
> >     To: 'OpenSIPS users mailling list' <users at lists.opensips.org
> >     <mailto:users at lists.opensips.org>>
> >     Subject: Re: [OpenSIPS-Users] opensips 3.2 B2B module and
> >     RTPProxy/RTPEngine
> >
> >     Hi
> >
> >     Would appreciate any hints on how to run the new 3.2 B2B module with
> >     RTPProxy or RTPEngine.
> >
> >     Thanks,
> >     Xaled
> >     -----Original Message-----
> >     From: Users <users-bounces at lists.opensips.org
> >     <mailto:users-bounces at lists.opensips.org>> On Behalf Of xaled at web.de
> >     <mailto:xaled at web.de>
> >     Sent: Friday, May 14, 2021 1:34 PM
> >     To: 'OpenSIPS users mailling list' <users at lists.opensips.org
> >     <mailto:users at lists.opensips.org>>
> >     Subject: [OpenSIPS-Users] opensips 3.2 B2B module and
> RTPProxy/RTPEngine
> >
> >     Hi,
> >
> >     Are the any examples of using the new B2B module in 3.2 with
> >     RTPProxy or RTPEngine? I tried adding _offer and _answer call
> >     accordingly but never saw RTPProxy or RTPEngine engaged.
> >
> >     Even a simple example for A-B call with B2B and RTPEngine would be
> >     much appreciated.
> >
> >     Thanks,
> >     Xaled
> >
> >
> >     _______________________________________________
> >     Users mailing list
> >     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> >     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >     <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
> >     <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
> >     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> >
> > --
> > Regards,
> >
> > David Villasmil
> > email: david.villasmil.work at gmail.com
> > <mailto:david.villasmil.work at gmail.com>
> > phone: +34669448337
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211109/2132b1c3/attachment.html>


More information about the Users mailing list