Stefan,

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.

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.

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.

Ben Newlin
From: Users <[email protected]> on behalf of Ihor Olkhovskyi 
<[email protected]>
Date: Thursday, June 4, 2026 at 3:03 AM
To: OpenSIPS users mailling list <[email protected]>
Subject: Re: [OpenSIPS-Users] topology_hiding and reinvite.

 EXTERNAL EMAIL - Please use caution with links and attachments

________________________________
Stefan,

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.
You can use in-dialog variables for this as well, I'm using cachedb for 
historical reasons.

Cheers,
Ihor

Le mar. 2 juin 2026 à 09:39, Stefan Carlsson via Users 
<[email protected]<mailto:[email protected]>> a écrit :
Hi !

I have the following setup.


caller (A) from outside .operator -->  opensips --> alcatel OxE ==> Set.


When an outside caller calls in the opensips relays out the calls to the OxE’ 
set.

Oxe respons to the A thru opensips all transactions and the initial dialog is 
created …

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

********  Heres the problem ….

Opensips relays this reinvite back to the (A)  wich is totally wrong this 
re-invite should goto opensip to fix the rtp endpoints ….

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. )
Any help would be very appreciated …


Kind Regards …
_________________________________
Stefan


_______________________________________________
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>


--
Best regards,
Ihor (Igor)
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to