[SR-Users] IP Address

Klaus Darilion klaus.mailinglists at pernau.at
Fri Jan 14 09:55:24 CET 2011



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