<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 8/2/11 11:19 PM, Roc&iacute;o Ruz wrote:
    <blockquote
cite="mid:CALursqb1wbEgzeNC=JV1eK06xcaaTvzR8+kQm=Q1J0C8HPPAhg@mail.gmail.com"
      type="cite">Hello,
      <div><br>
      </div>
      <div>My server has two different network cards with different
        IPs.&nbsp;</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 class="Apple-style-span" style="border-collapse:
          collapse; font-family: arial, sans-serif; font-size: 13px; ">listen=109.239.50.67&nbsp;</span></div>
      <div><span class="Apple-style-span" style="border-collapse:
          collapse; font-family: arial, sans-serif; font-size: 13px; "><br>
        </span></div>
      <div><font class="Apple-style-span" face="arial, sans-serif"><span
            class="Apple-style-span" style="border-collapse: collapse;">Will
            Kamailio listen only to packets sent to this IP?</span></font></div>
    </blockquote>
    if you have just one listen parameter, then it will listen only on
    that respective IP.<br>
    <br>
    <blockquote
cite="mid:CALursqb1wbEgzeNC=JV1eK06xcaaTvzR8+kQm=Q1J0C8HPPAhg@mail.gmail.com"
      type="cite">
      <div><span class="Apple-style-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>
    You can add as many listen parameter as you need, for example:<br>
    <br>
    <span class="Apple-style-span" style="border-collapse: collapse;
      font-family: arial,sans-serif; font-size: 13px;">listen=109.239.50.67
      <br>
    </span><span class="Apple-style-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>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>