<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="gmail_quote"><div dir="ltr" class="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="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 src="https://cdn.bulksignature.com/photo/761_101444293184792194488.jpg?v=2" width="75" height="75" style="border-radius: 50%; font-family: Comfortaa, "Trebuchet MS", Helvetica, sans-serif;"></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" style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif;color:rgb(17,85,204)" target="_blank">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/" style="font-family:Comfortaa,"Trebuchet MS",Helvetica,sans-serif;color:rgb(17,85,204)" target="_blank">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>