[SR-Users] multi-IP Kamailio

Henning Westerholt hw at skalatan.de
Mon May 25 18:06:39 CEST 2020


Hello Christian,

just briefly some pointers:

  *   Change From header: uac module can help you here
  *   Change request URI: many options, e.g. use $ru
  *   Behaviour depending on the IP: many options, e.g. use if/else or switch together with $si

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of christian (cx labs)
Sent: Monday, May 25, 2020 5:09 PM
To: sr-users at lists.kamailio.org
Subject: [SR-Users] multi-IP Kamailio

Hi,

you guys helped out so quickly with my last question, so here's me again, with another issue.

I need Kamailio to be a sip proxy between two other SIP servers. All trunks are static IP only, no Auth. The specialty is that the Kamailio proxy needs to manipulate different fields in the SIP flow, depending on which public IP is used. So, for example:

Provider A, IP 1 -----> Kamailio, IP A "change From Header" -----> Provider B, IP 2
Provider A, IP 1 -----> Kamailio, IP B "change Request URI" -----> Provider B, IP 2

So Kamailio needs to behave differently, depending on which IP receives (and also forwards!) the call.

What do you think?

Cheers, Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200525/3c11d43c/attachment.html>


More information about the sr-users mailing list