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 <savolai...@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@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to