<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Chris,</p>
    <p>You can set-up an alias address for Kamailio like this:</p>
    <p>ngcp-network --set-interface=eth0 --advertised-ip=x.y.z.t</p>
    <p>After that just generate the configs again and it should work. <br>
    </p>
    <p>Best regards,</p>
    <p>Henk Plessius</p>
    <p>VoipDigit<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 14-5-2018 23:32, Chris Hoffmann
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN8EJkz_4WvPA_Hv7MVZ21wqYZZogcMCEzXT+8d1Ucmd=D-ejA@mail.gmail.com">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>I have a new VoIP provider on a new pysical interface that
          requres me to do SIP registration. I have configured the
          details on the peer and set the details in reg_agent.conf.tt2.</div>
        <div><br>
        </div>
        <div>When i do a packet capture, i see the registration being
          sent out the correct interface, but from the wrong IP address
          (my primary interface IP is used). Is there any way i can set
          the socket for the registration? </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
        </div>
        <div>Chris. </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>