[SR-Users] multi-IP Kamailio

Sergey Safarov s.safarov at gmail.com
Mon May 25 20:13:41 CEST 2020


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 <hw at skalatan.de> 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 <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.
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200525/0a66f5f1/attachment.html>


More information about the sr-users mailing list