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?
Thanks in advance.
Best regards, Bernhard
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_soc...
klaus
Thank you - that does make sense, of course :-)
Best regards, Bernhard
-----Ursprüngliche Nachricht----- Von: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Gesendet: Freitag, 14. Januar 2011 09:55 An: Bernhard Suttner Cc: sr-users@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_soc...
klaus