<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Stefan,</div>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Unless you are using the B2BUA module OpenSIPS operates only as a proxy. When operating as a proxy OpenSIPS cannot reply to the re-invite on behalf of party A; it must relay the Invite to party A for answer.</div>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If you are using an RTP relay, your OpenSIPS should be manipulating the SDP and your chosen RTP proxy appropriately as the re-INVITE and its response pass through. But neither RTP relay nor topology hiding allow OpenSIPS to act as UAS and respond directly to
the re-INVITE.</div>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If you want your OpenSIPS to act as UAS and reply directly to the re-INVITE without involving party A you must be a B2BUA.</div>
<div style="direction: ltr; font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="ms-outlook-mobile-signature" style="color: inherit; background-color: inherit;">
<div class="MsoNormal" style="margin: 0in; font-family: Aptos, sans-serif; font-size: 11pt; color: black;">
Ben Newlin</div>
</div>
<div id="mail-editor-reference-message-container" style="color: inherit; background-color: inherit;">
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
</div>
<div style="padding: 3pt 0in 0in; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor;">
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; font-family: Aptos; font-size: 12pt; color: black;">
<b>From: </b>Users <users-bounces@lists.opensips.org> on behalf of Ihor Olkhovskyi <igorolhovskiy@gmail.com><br>
<b>Date: </b>Thursday, June 4, 2026 at 3:03 AM<br>
<b>To: </b>OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Subject: </b>Re: [OpenSIPS-Users] topology_hiding and reinvite.<br>
<br>
</div>
</div>
<div style="background-color: rgb(255, 255, 255); height: auto; display: block;">
<div style="background-color: rgb(255, 255, 255); height: auto; display: block;">
<table class="mc-ip-hide" style="direction: ltr; text-align: left; border-width: 1px; border-style: solid; border-color: rgb(182, 0, 0); box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td class="mc-ip-hide" style="direction: ltr; text-align: left; background-color: white; color: rgb(182, 0, 0);">
<div class="mc-ip-hide" style="direction: ltr; text-align: left; font-family: calibri; font-size: 16px;">
<b> EXTERNAL EMAIL - Please use caution with links and attachments </b></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mc-ip-hide" style="direction: ltr; text-align: left; font-family: Helvetica, Arial, sans-serif; font-size: 12px; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="direction: ltr; text-align: left;">
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
Stefan,</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
<br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
I had the same issue and eded up storing in cachedb info about current calls with source - destination info and in a case of re-invite taking actual destination from there and not from a SIP packet directly.</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
You can use in-dialog variables for this as well, I'm using cachedb for historical reasons.</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
<br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
Cheers,</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
Ihor</div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
<br>
</div>
<div class="gmail_attr" style="direction: ltr;">Le mar. 2 juin 2026 à 09:39, Stefan Carlsson via Users <<a href="mailto:users@lists.opensips.org" data-outlook-id="b0a796c4-41ef-491c-920d-df057d3cad70">users@lists.opensips.org</a>> a écrit :</div>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left: 1px solid rgb(204, 204, 204);">
<p class="MsoNormal">Hi !</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have the following setup.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">caller (A) from outside .operator <span style="font-family: Wingdings;">
à</span> opensips <span style="font-family: Wingdings;">à</span> alcatel OxE <span style="font-family: Wingdings;">
è</span> Set.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When an outside caller calls in the opensips relays out the calls to the OxE’ set.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Oxe respons to the A thru opensips all transactions and the initial dialog is created …</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Then oxe sends an reinvite to the opensips to give its correct c= in the sdp. (OxE has a cpu with o= and and c= point of some InTIP card rtp points … in the sdp</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">******** Heres the problem ….</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Opensips relays this reinvite back to the (A) wich is totally wrong this re-invite should goto opensip to fix the rtp endpoints ….</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">How can I prevent the Opensips to reply the reinvite to the A point … Shall I issue a new topoly-hiding() or …. (Can there be two of them. )</p>
<p class="MsoNormal">Any help would be very appreciated …</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Kind Regards …</p>
<p class="MsoNormal">_________________________________</p>
<p class="MsoNormal">Stefan</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<div class="msg-8470271088270389511">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank" data-outlook-id="244c18ef-f28d-495c-87eb-0acb21357380">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="noreferrer" data-outlook-id="b6e9972f-2516-4f21-a793-2d0df88e6cf9">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</blockquote>
<div class="ms-outlook-mobile-reference-message skipProofing" style="direction: ltr;">
<br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing"><br>
--</div>
<div class="gmail_signature" style="direction: ltr;">Best regards,</div>
<div class="gmail_signature" style="direction: ltr;">Ihor (Igor)</div>
</div>
</body>
</html>