[SR-Users] topos: how to hide one side only

Karsten Horsmann khorsmann at gmail.com
Mon Dec 23 21:39:44 CET 2019


Hi Dimitri,

maybe there is a better way, but I used that for debugging purposes to
disable topos to my inside ip, here 172.20.120.59 as example

event_route[topos:msg-outgoing] {
	if($sndto(ip)=="172.20.120.59") {
		xlog("L_ERR", "NOT SEND TOPOS TO $sndto(ip)\n");
		drop;
	}
}

Cheers
Karsten Horsmann


Dmitri Savolainen <savolainen at erinaco.ru> schrieb am Mo., 23. Dez. 2019,
17:32:

> Hi all.
> I have Kamailio with 2 addr:
> kamailio_external_ip - for client interconnect
> kamailio_internal_ip - for local media server interconnect
>
> Like this:
> client - kamailio_external_ip - kamailio_internal_ip - media_server
>
> "topos" module hide sip headers for both  "client" and "media_server" side.
> Is it true: with topos i can't hide headers only for the "client" side
> and show them for the  "media_server"? I want full header set visible for
> the "media_server", but  only kamailio_external_ip visible for the "client".
>
> --
> Savolainen Dmitri
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191223/ea1823f6/attachment.html>


More information about the sr-users mailing list