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

Mark Farmer farmorg at gmail.com
Tue Jan 11 15:57:37 UTC 2022


Not sure how I missed it but I see now that the call-id, totag & fromtag
can be passed as flags.

I guess that is the right way to handle it?


On Tue, 11 Jan 2022 at 10:26, Mark Farmer <farmorg at gmail.com> wrote:

> Hi all. Can anyone tell me if I am on the right track here please?
>
> I am trying to use B2B modules to implement the REFER scenario but I also
> need to engage RTPEngine.
> I am studying the RTPEngine module trying to understand how to accomplish
> this taking into account the above point about using the call-id, totag,
> fromtag.
>
> It looks to me that I need to use the record-call flag and pass the
> call-id. totag & fromtag as metadata. Is that right?
>
> 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
>


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


More information about the Users mailing list