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

2019-12-23 Thread Dmitri Savolainen
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.

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

2019-12-23 Thread Karsten Horsmann
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");

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

2019-12-23 Thread Dmitri Savolainen
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 wrote: > Hi Dimitri, > > maybe there is a better way, but I used that for deb

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

2019-12-23 Thread Karsten Horsmann
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 schrieb am Mo., 23. Dez. 2019, 21:52: > Hi, Karsten > It seems disable topos for

Re: [SR-Users] Not working : Using $cfg(line) to print line number

2019-12-23 Thread mahesh b
Hi Denys, Thank you :-) That resolved my problem ! Regards, Mahesh.B On Fri, Nov 29, 2019 at 5:20 PM Denys Pozniak wrote: > Hello! > I think you missed corex module. > > пт, 29 нояб. 2019 г. в 13:35, mahesh b : > >> Hi All, >> Below is the syntax am using to print the li

Re: [SR-Users] Kamailio when acting as client doesnt send SNI in client hello handshake message

2019-12-23 Thread mahesh b
Thank you Daniel, That Resolved my problem. It would be helpful if in this link http://www.kamailio.org/docs/modules/5.1.x/modules/tls.html In section 9.32. xavp_cfg (string) the example can be updated from : ... modparam("tls", "xavp_cfg", "tls") ... $xavp(tls=>server_name) = "kamailio.o