[sr-dev] Per message storage

Tor Petterson tor.petterson at enreach.com
Tue Aug 16 14:02:52 CEST 2022


Hi Henning

My situation is that I am connected to several providers with different IP addresses used for communicating with them.
all the addresses are natted on my end.
Private addresses in the Contact header are a problem with some providers. with others the problem is private addresses in the method line.
The topoh module could uniformly fix all these kinds of problems but it doesn't support using different mask IP's
________________________________
From: Henning Westerholt <hw at gilawa.com>
Sent: Tuesday, August 16, 2022 11:03
To: Kamailio (SER) - Development Mailing List <sr-dev at lists.kamailio.org>
Cc: Tor Petterson <tor.petterson at enreach.com>
Subject: RE: Per message storage


Hello Tor,



can you be a bit more specific what you mean with “multiple outside IP addresses”?



If you are referring to the Contact header, this can be adapted by setting an XAVP and switching to the correct mode.



Cheers,



Henning



--

Henning Westerholt – https://skalatan.de/blog/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fskalatan.de%2Fblog%2F&data=05%7C01%7Ctor.petterson%40enreach.com%7Cb22097858b194907799608da7f662968%7C33733f45cfce4d1e9d174adfad5af331%7C0%7C0%7C637962374614339460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=R5UXT66wSdvUiIB2isPY3PzmGMG9DlmfcRogJSEAOdU%3D&reserved=0>

Kamailio services – https://gilawa.com<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgilawa.com%2F&data=05%7C01%7Ctor.petterson%40enreach.com%7Cb22097858b194907799608da7f662968%7C33733f45cfce4d1e9d174adfad5af331%7C0%7C0%7C637962374614339460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=o4RPGyZ2co4TH%2B2qOCVkAvXmJWwphUBvgS1WNc8XCwA%3D&reserved=0>



From: sr-dev <sr-dev-bounces at lists.kamailio.org> On Behalf Of Tor Petterson
Sent: Monday, August 15, 2022 10:58 AM
To: sr-dev at lists.kamailio.org
Subject: [sr-dev] Per message storage



Hi



I am looking at modifying the topoh module to support having multiple outside IP addresses.

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?



Tor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220816/304e17b7/attachment-0001.htm>


More information about the sr-dev mailing list