I was looking into fixing it myself which is why I was asking about per message storage. ________________________________ From: Henning Westerholt hw@gilawa.com Sent: Tuesday, August 16, 2022 14:14 To: Tor Petterson tor.petterson@enreach.com; Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org Subject: RE: Per message storage
Hello Tor,
understood- then adapting only the Contact header is probably not enough in your situation.
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.
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.
Cheers,
Henning
From: Tor Petterson tor.petterson@enreach.com Sent: Tuesday, August 16, 2022 2:03 PM To: Henning Westerholt hw@gilawa.com; Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org Subject: Re: Per message storage
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@gilawa.commailto:hw@gilawa.com> Sent: Tuesday, August 16, 2022 11:03 To: Kamailio (SER) - Development Mailing List <sr-dev@lists.kamailio.orgmailto:sr-dev@lists.kamailio.org> Cc: Tor Petterson <tor.petterson@enreach.commailto:tor.petterson@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%7C8e13aae16c914058150908da7f80d29c%7C33733f45cfce4d1e9d174adfad5af331%7C0%7C0%7C637962488514315201%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UmOoH3l54XTXhe5Ex9XetRk0%2FqIrsnXbDKcp1BkWw9s%3D&reserved=0
Kamailio services – https://gilawa.comhttps://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
From: sr-dev <sr-dev-bounces@lists.kamailio.orgmailto:sr-dev-bounces@lists.kamailio.org> On Behalf Of Tor Petterson Sent: Monday, August 15, 2022 10:58 AM To: sr-dev@lists.kamailio.orgmailto:sr-dev@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