Thank you!<br><br>And isn't there an impact on the line <br><br>modparam("pcscf","ipv4_for_signaling","192.168.106.162")<br><br>las well?How do I add my second IP?<br><br>Thank you.<br><br>
RR<br><br><div class="gmail_quote">El 3 de agosto de 2011 00:23, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Hello,<div class="im"><br>
<br>
On 8/2/11 11:19 PM, Rocío Ruz wrote:
<blockquote type="cite">Hello,
<div><br>
</div>
<div>My server has two different network cards with different
IPs. </div>
<div>I want kamailio to use both; the network card to be used
depends on the destination.</div>
<div>My problem is that I have to add an IP in the configuration
file kamailio.cfg:</div>
<div><br>
</div>
<div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">listen=109.239.50.67 </span></div>
<div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><br>
</span></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse">Will
Kamailio listen only to packets sent to this IP?</span></font></div>
</blockquote></div>
if you have just one listen parameter, then it will listen only on
that respective IP.<div class="im"><br>
<br>
<blockquote type="cite">
<div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Can
I add the two IPs corresponding to my two network cards here?</span></div>
</blockquote>
<br></div>
You can add as many listen parameter as you need, for example:<div class="im"><br>
<br>
<span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">listen=109.239.50.67
<br>
</span></div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">listen=109.239.50.68<br>
<br>
</span>and kamailio will listen on the two IP addresses.<br>
<br>
Cheers,<br>
Daniel<br><font color="#888888">
<pre cols="72">--
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
</font></div>
</blockquote></div><br>