<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<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">
I was looking into fixing it myself which is why I was asking about per message storage.<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>From:</b> Henning Westerholt <hw@gilawa.com><br>
<b>Sent:</b> Tuesday, August 16, 2022 14:14<br>
<b>To:</b> Tor Petterson <tor.petterson@enreach.com>; Kamailio (SER) - Development Mailing List <sr-dev@lists.kamailio.org><br>
<b>Subject:</b> RE: Per message storage</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
p.x_xmsonormal, li.x_xmsonormal, div.x_xmsonormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_E-MailFormatvorlage23
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="EN-GB" style="">Hello Tor,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">understood- then adapting only the Contact header is probably not enough in your situation.
</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">But maybe you can have a look to the topos module nevertheless, as I know about other people in a similar scenario that uses it sucessfully.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Regarding the topoh module, it probably need some adaptions to be able to support this scenario. You could create a feature request, if you like, on our tracker about it.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Cheers,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Henning</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin-left:35.4pt"><b>From:</b> Tor Petterson <tor.petterson@enreach.com>
<br>
<b>Sent:</b> Tuesday, August 16, 2022 2:03 PM<br>
<b>To:</b> Henning Westerholt <hw@gilawa.com>; Kamailio (SER) - Development Mailing List <sr-dev@lists.kamailio.org><br>
<b>Subject:</b> Re: Per message storage</p>
</div>
</div>
<p class="x_MsoNormal" style="margin-left:35.4pt"> </p>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span style="font-size:12.0pt; color:black">Hi Henning</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span style="font-size:12.0pt; color:black">My situation is that I am connected to several providers with different IP addresses used for communicating with them.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span style="font-size:12.0pt; color:black">all the addresses are natted on my end.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span style="font-size:12.0pt; color:black">Private addresses in the Contact header are a problem with some providers. with others the problem is private addresses in the method line.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span style="font-size:12.0pt; color:black">The topoh module could uniformly fix all these kinds of problems but it doesn't support using different mask IP's</span></p>
</div>
<div class="x_MsoNormal" align="center" style="margin-left:35.4pt; text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="x_divRplyFwdMsg">
<p class="x_MsoNormal" style="margin-left:35.4pt"><b><span style="color:black">From:</span></b><span style="color:black"> Henning Westerholt <<a href="mailto:hw@gilawa.com">hw@gilawa.com</a>><br>
<b>Sent:</b> Tuesday, August 16, 2022 11:03<br>
<b>To:</b> Kamailio (SER) - Development Mailing List <<a href="mailto:sr-dev@lists.kamailio.org">sr-dev@lists.kamailio.org</a>><br>
<b>Cc:</b> Tor Petterson <<a href="mailto:tor.petterson@enreach.com">tor.petterson@enreach.com</a>><br>
<b>Subject:</b> RE: Per message storage</span> </p>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt"> </p>
</div>
</div>
<div>
<div>
<p class="x_xmsonormal" style="margin-left:35.4pt">Hello Tor,</p>
<p class="x_xmsonormal" style="margin-left:35.4pt"> </p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">can you be a bit more specific what you mean with “multiple outside IP addresses”?
</span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">If you are referring to the Contact header, this can be adapted by setting an XAVP and switching to the correct mode.</span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">Cheers,</span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">Henning</span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span></p>
<div>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">-- </span></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">Henning Westerholt –
</span><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fskalatan.de%2Fblog%2F&data=05%7C01%7Ctor.petterson%40enreach.com%7C8e13aae16c914058150908da7f80d29c%7C33733f45cfce4d1e9d174adfad5af331%7C0%7C0%7C637962488514315201%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UmOoH3l54XTXhe5Ex9XetRk0%2FqIrsnXbDKcp1BkWw9s%3D&reserved=0" originalsrc="https://skalatan.de/blog/" shash="U6jleF3bAbSuueaMuDmjaGTn5jsbpigdZk3tcUweL/BfxIIt/POX634muBhNdlrSWMqBxGCwRT2pumb7sLQQssn6eJQmJdI86KDfA0DGqH6MCj//oZGlId8RX1rkgRD/HGQp3rcQkof1Qskjncdew0FWK2e7o9FXurEFpUFkMNU="><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/blog/</span></a></p>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB">Kamailio services –
</span><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgilawa.com%2F&data=05%7C01%7Ctor.petterson%40enreach.com%7C8e13aae16c914058150908da7f80d29c%7C33733f45cfce4d1e9d174adfad5af331%7C0%7C0%7C637962488514315201%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2WUqN2h%2FOLMrwOi4oh1XMGfuwSKh7WuQ7g0NOAQMazE%3D&reserved=0" originalsrc="https://gilawa.com/" shash="Cso9//+KZlrHXy33cf54Mt8BCr4gGCXOqVbH9BScOfEz7EeW9sOjs5n7WQKmWxmW7IP2VGhMttmWdB1cYOFOlb+T4dEcWRaoqvbzD+6DTgP4JH3qGelfVhWsaCVBR5t+RaKEEH4JThnyhVjMnjZ/yOAHVOeWqttNvfqXRk7vLRM="><span lang="EN-GB" style="color:#0563C1">https://gilawa.com</span></a></p>
</div>
<p class="x_xmsonormal" style="margin-left:35.4pt"><span lang="EN-GB"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_xmsonormal" style="margin-left:70.8pt"><b>From:</b> sr-dev <<a href="mailto:sr-dev-bounces@lists.kamailio.org">sr-dev-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>Tor Petterson<br>
<b>Sent:</b> Monday, August 15, 2022 10:58 AM<br>
<b>To:</b> <a href="mailto:sr-dev@lists.kamailio.org">sr-dev@lists.kamailio.org</a><br>
<b>Subject:</b> [sr-dev] Per message storage</p>
</div>
</div>
<p class="x_xmsonormal" style="margin-left:70.8pt"> </p>
<div>
<p class="x_xmsonormal" style="margin-left:70.8pt"><span style="font-size:12.0pt; color:black">Hi</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin-left:70.8pt"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin-left:70.8pt"><span style="font-size:12.0pt; color:black">I am looking at modifying the topoh module to support having multiple outside IP addresses.</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin-left:70.8pt"><span style="font-size:12.0pt; color:black">To do this I am looking for a way to store an IP address per SIP message for later use. Is there a standard way of doing this or will I have to add a data structure
 to the module for this?</span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin-left:70.8pt"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_xmsonormal" style="margin-left:70.8pt"><span style="font-size:12.0pt; color:black">Tor</span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>