Thanks Henning.
I will try it.
How topoh determines that it is a SIP message to be sent outside my network or not?
Anthony
________________________________
De : Henning Westerholt <hw(a)gilawa.com>
Envoyé : jeudi 1 septembre 2022 11:16
À : Anthony Blandin <anthony.blandin(a)airnity.com>om>; Kamailio (SER) - Users Mailing
List <sr-users(a)lists.kamailio.org>
Objet : RE: How to hide Via and Record-Route header to external network and restore them
to internal network?
Vous ne recevez pas souvent de courriers de la part de hw(a)gilawa.com. Découvrez pourquoi
cela est important<https://aka.ms/LearnAboutSenderIdentification>
Hi Anthony,
the restore happens internally and in the configuration you are able to access the
headers, this is transparent for you.
Just give it a try in your lab, you can easily see it on the network.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: Anthony Blandin <anthony.blandin(a)airnity.com>
Sent: Thursday, September 1, 2022 11:08 AM
To: Henning Westerholt <hw(a)gilawa.com>om>; Kamailio (SER) - Users Mailing List
<sr-users(a)lists.kamailio.org>
Subject: RE: How to hide Via and Record-Route header to external network and restore them
to internal network?
Hi Henning,
Yes, I looked to topoh to hide topology but I didn't find a way to restore back the
Via and Record-Route headers when I get replies from the external network.
Regards,
Anthony
________________________________
De : Henning Westerholt <hw@gilawa.com<mailto:hw@gilawa.com>>
Envoyé : jeudi 1 septembre 2022 11:01
À : Kamailio (SER) - Users Mailing List
<sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Cc : Anthony Blandin
<anthony.blandin@airnity.com<mailto:anthony.blandin@airnity.com>>
Objet : RE: How to hide Via and Record-Route header to external network and restore them
to internal network?
Vous ne recevez pas souvent de courriers de la part de
hw@gilawa.com<mailto:hw@gilawa.com>. Découvrez pourquoi cela est
important<https://aka.ms/LearnAboutSenderIdentification>
Hello,
already investigated the topology hiding modules (topos, topoh)? They might be not doing
exactly what you are describing, but usually are used for this kind of scenarios.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: sr-users
<sr-users-bounces@lists.kamailio.org<mailto:sr-users-bounces@lists.kamailio.org>>
On Behalf Of Anthony Blandin
Sent: Thursday, September 1, 2022 10:58 AM
To: sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Subject: [SR-Users] How to hide Via and Record-Route header to external network and
restore them to internal network?
Hi Community,
I have set up a SBC with Kamailio.
I am testing voice call from external network to my network and voice call from my network
to external network.
When I send SIP messages to external network, I want to hide Via and Record-Route headers
but when I receive replies from the external network I want to restore these Via and
Record-Route headers to my network.
How to store and restore these headers in Kamailio configuration ?
Could you help on this?
Thanks
Anthony Blandin