Hi Alexey,

MAybe you should try to add some kind of parameter to the Contact URI - TH is replacing the hostport parts, not the full URI (double check it please :D). The Contact URI will be received back as RURI.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 06/21/2019 02:37 PM, Alexey Vasilyev wrote:
Hello team,

I'm using transaction statefull proxy with topology_hiding. Without dialog
module.

And I use rtpengine for part of calls. Decision, to use it or not, is made
during initial INVITE. Without topology_hiding I can keep this decision in
some param in RR and use on re-Invite:
1) add_rr_param(";rtpengine=yes");
...
2) After loose_route()
if (check_route_param("rtpengine=yes")) {
        route(rtpengine);
        exit;
}
With topology_hiding I have no RR and VIA headers. But instead of
loose_route() I use topology_hiding_match() and it should restore RR
headers. But it seems, that function topology_hiding()
encodes only RR headers from original UAC request, not those ones that were
added by OpenSIPS.

So the question - how to pass this in-dialog data?
Should we add functions add_th_param/get_th_param for this purpose?
Thanks.



-----
---
Alexey Vasilyev
--
Sent from: 
http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to