<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you very much! It's working with topos. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I thought that topoh and topos was working in the same manner except using database but it's definitevely not the case.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks for your support.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Anthony<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> sr-users <sr-users-bounces@lists.kamailio.org> de la part de Paolo Visintin <paolo.visintin@evoseed.io><br>
<b>Envoyé :</b> jeudi 1 septembre 2022 11:05<br>
<b>À :</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br>
<b>Objet :</b> Re: [SR-Users] How to hide Via and Record-Route header to external network and restore them to internal network?</font>
<div> </div>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" align="left" style="border:0; display:table; width:100%; table-layout:fixed; border-collapse:seperate; float:none">
<tbody>
<tr>
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="padding:7px 2px 7px 2px; background-color:#A6A6A6">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%; background-color:#EAEAEA; padding:7px 5px 7px 15px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
<div>Vous ne recevez pas souvent de courriers de la part de paolo.visintin@evoseed.io.
<a href="https://aka.ms/LearnAboutSenderIdentification">Découvrez pourquoi cela est important</a></div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px; background-color:#EAEAEA; padding:7px 5px 7px 5px; font-family:wf_segoe-ui_normal,Segoe UI,Segoe WP,Tahoma,Arial,sans-serif; font-size:12px; font-weight:normal; color:#212121; text-align:left; word-wrap:break-word">
</td>
</tr>
</tbody>
</table>
<div>
<div>
<div dir="auto">Hello Anthony, </div>
<div dir="auto">Topos module is what you need </div>
<div dir="auto">It saves the informations in a db (I suggest using redis for performance) and uses the contact header as a key for restoring datas.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Paolo</div>
</div>
<div>
<div dir="auto"><br>
</div>
<div><br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">Il giorno gio 1 set 2022 alle 11:00 Anthony Blandin <<a href="mailto:anthony.blandin@airnity.com" target="_blank">anthony.blandin@airnity.com</a>> ha scritto:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; padding-left:1ex; border-left-color:rgb(204,204,204)">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Community,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have set up a SBC with Kamailio.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am testing voice call from external network to my network and voice call from my network to external network.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
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.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
How to store and restore these headers in Kamailio configuration ?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Could you help on this?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Anthony Blandin<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
* <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
* <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
</div>
-- <br>
<div dir="ltr" data-smartmail="gmail_signature">
<div dir="ltr">
<table width="600" style="text-indent:0px; border:0px solid black; border-collapse:collapse; font-family:Comfortaa; color:rgb(34,34,34)">
<tbody style="font-family:Comfortaa">
<tr style="font-family:Comfortaa">
<td style="font-family:Comfortaa"><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif"><img width="75" height="75" style="border-radius:50%; font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif" src="https://cdn.bulksignature.com/photo/761_101444293184792194488.jpg?v=2"></span></td>
<td style="font-family:Comfortaa">
<h2 style="font-size:20px; font-family:Comfortaa; color:rgb(0,107,166)"><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif">Paolo Visintin</span></h2>
<p style="font-size:16px; font-family:Comfortaa"><strong style="font-family:Comfortaa"><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif"><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(213,65,158)">evoseed
s.r.l.</span></span></strong></p>
</td>
<td style="font-family:Comfortaa">
<div style="border-left-width:1px; border-left-style:solid; height:70px; font-family:Comfortaa; border-left-color:rgb(213,65,158)">
</div>
</td>
<td style="font-family:Comfortaa"><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif"><span style="font-size:10px; font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif"><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(91,103,112)"> <strong style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif"> </strong></span></span></span><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif"><span style="font-size:10px; font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif"><span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(91,103,112)">phone:</span> <span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(41,128,185)">+39
346 09 86 641</span><br>
<span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(91,103,112)"> mail:</span> <span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(213,65,158)"><a href="mailto:paolo.visintin@evoseed.io" target="_blank" style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(17,85,204)">paolo.visintin@evoseed.io</a></span><br>
<span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(91,103,112)"> site:</span> <span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(213,65,158)"><a href="http://evoseed.io/" target="_blank" style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(17,85,204)">evoseed.io</a></span><br>
<span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(91,103,112)">address:</span> <span style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif; color:rgb(0,107,166)">Via Lucrezio 13, Trieste Italy</span></span></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</body>
</html>