[SR-Users] IP Address

Bernhard Suttner bernhard.suttner at winet.ch
Fri Jan 14 10:29:30 CET 2011


Thank you - that does make sense, of course :-)

Best regards,
Bernhard

-----Ursprüngliche Nachricht-----
Von: Klaus Darilion [mailto:klaus.mailinglists at pernau.at] 
Gesendet: Freitag, 14. Januar 2011 09:55
An: Bernhard Suttner
Cc: sr-users at lists.sip-router.org
Betreff: Re: [SR-Users] IP Address



Am 14.01.2011 08:54, schrieb Bernhard Suttner:
> Hi,
>
> I have a very short question: Kamailio does listen to many IP Addresses and does forward messages to the peer with t_relay. Which IP address will kamailio use for the outgoing traffic as source-ip, if there are many IP addresses on the interface? Is it possible to specify this somehow?

IIRC Kamailio per default uses the socket on which the request was 
received (as long as there is no protocol change). To force a certain 
socket use force_send_socket:
http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#force_send_socket

klaus





More information about the sr-users mailing list