you can use carrierroute here https://kamailio.org/docs/modules/5.4.x/modules/carrierroute.html
Sergey On Mon, May 25, 2020 at 7:07 PM Henning Westerholt <[email protected]> wrote: > 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 > > > > *From:* sr-users <[email protected]> *On Behalf Of > *christian > (cx labs) > *Sent:* Monday, May 25, 2020 5:09 PM > *To:* [email protected] > *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. > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
