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(a)lists.kamailio.org> On Behalf Of christian (cx
labs)
Sent: Monday, May 25, 2020 5:09 PM
To: sr-users(a)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.