just to sort out the obvious, you are doing record-routing for the initial requests?
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
-----Original Message-----
From: Stefan
sr.maillists@gmail.com
Sent: Mittwoch, 5. April 2023 12:46
To: Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
Subject: [SR-Users] TOPOS module: Topology hiding only for a specific host
Hi all
I am playing with topos on kamailio 5.5.6, but when I want to activate it only for specific hosts, it works only on the initial INVITE request.
Subsequent requests like PRACK, ACK, BYE are not modified.
As soon as I remove the code part below, it works for all requests, but I need it only on a specific host.
event_route[topos:msg-sending] {
# Topology hiding for one host
if (is_request() and $sndto(ip)=="1.1.1.1") {
xlog("L_INFO","$ci Test event_route topos:msg-sending\n");
} else {
# No topology hiding
drop;
}
}
Is it meant to function like that or is it a bug?
Regards
Stefan
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: