Hi, Karsten It seems disable topos for full chain ( client -kamailio_external_ip - kamailio_internal_ip - media_server ) if i check $sndto(kamailio_internal_ip) and drop.
On Mon, 23 Dec 2019 at 23:41, Karsten Horsmann <[email protected]> wrote: > 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 <[email protected]> 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 >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Savolainen Dmitri
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
