Discussion:
[SR-Users] chane source IP for REGISTER to provider
Yuriy Gorlichenko
2014-10-07 15:29:31 UTC
Permalink
Hello. We have multiple kamailio behind load balancer. We use UAC to send
REGISTER procedure to provider. Some providers drop wrong ip. So We have
loadbalanser with external IP and have kamailio servers with external IPs
too. So we need to send REGISTER packets to porovide with source IP of our
Load balancer. Now kamailio send REGISTER pakets with its external IP.
Question is how to send REGISTER with ip adress of loadbalanser?
(allias with it dn and ip already exists at config)
(listet already had it ip too)
thanks/
Daniel-Constantin Mierla
2014-10-08 11:39:14 UTC
Permalink
Hello,

I didn't really understand the entire context you are having there, but
if the ip you want to use as source is locally on the server and
kamailio is listening on it, then use event_route[tm:local-request] to
force the specific local socket.

Cheers,
Daniel
Post by Yuriy Gorlichenko
Hello. We have multiple kamailio behind load balancer. We use UAC to
send REGISTER procedure to provider. Some providers drop wrong ip. So
We have loadbalanser with external IP and have kamailio servers with
external IPs too. So we need to send REGISTER packets to porovide with
source IP of our Load balancer. Now kamailio send REGISTER pakets with
its external IP.
Question is how to send REGISTER with ip adress of loadbalanser?
(allias with it dn and ip already exists at config)
(listet already had it ip too)
thanks/
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Loading...