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