Hi Dimitri,
hmm then describe what kind of headers you want to show your media server and hide from the client.
You can normaly add headers (for example X- or P- headers) if traffic flows through your Kamailio.
Maybe if you describe your goals and why you what this behavior, someone said "yes I did that with xyz module or solution ABC".
Merry Christmas Karsten Horsmann
Dmitri Savolainen savolainen@erinaco.ru schrieb am Di., 24. Dez. 2019, 10:23:
i'm sorry. Of course i drop if $sndto(ip)==media_server. In this case "media_server" can see all stuff, but "client" can see media_server headers too. I want "media_server" see all stuf, but "client" kamailio_external_ip only for the same session
On Tue, 24 Dec 2019 at 01:29, Karsten Horsmann khorsmann@gmail.com wrote:
Hi Dimitri,
You need to fill in the media_sever_ip that should see all the stuff.
If you fill in one of the Topos running Kamailio ips it's disables Topos, that's true.
Cheers Karsten Horsmann
Dmitri Savolainen savolainen@erinaco.ru schrieb am Mo., 23. Dez. 2019, 21:52:
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 khorsmann@gmail.com 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 savolainen@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
-- 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
-- Savolainen Dmitri _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users