Hello,

Thank you very much! It's working with topos.
I thought that topoh and topos was working in the same manner except using database but it's definitevely not the case.
Thanks for your support.

Anthony

De : sr-users <sr-users-bounces@lists.kamailio.org> de la part de Paolo Visintin <paolo.visintin@evoseed.io>
Envoyé : jeudi 1 septembre 2022 11:05
À : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Objet : Re: [SR-Users] 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 paolo.visintin@evoseed.io. Découvrez pourquoi cela est important
Hello Anthony, 
Topos module is what you need 
It saves the informations in a db (I suggest using redis for performance) and uses the contact header as a key for restoring datas.

Paolo


Il giorno gio 1 set 2022 alle 11:00 Anthony Blandin <anthony.blandin@airnity.com> ha scritto:
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

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--

Paolo Visintin

evoseed s.r.l.

 
  phone:  +39 346 09 86 641
     mail:  paolo.visintin@evoseed.io
      site:  evoseed.io
address:  Via Lucrezio 13, Trieste Italy