Re: [SR-Users] chane source IP for REGISTER to provider

2014-10-08 Thread Daniel-Constantin Mierla

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

On 07/10/14 17:29, Yuriy Gorlichenko wrote:
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
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] chane source IP for REGISTER to provider

2014-10-07 Thread 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
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users