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

Karsten Horsmann khorsmann at gmail.com
Mon Dec 23 23:27:06 CET 2019


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


More information about the sr-users mailing list