Configure external IP address

How to configure external IP address.

You must configure the external IP address of the SIP server if the server has to interact with SIP services or clients outside the LAN.

1. Probably need to configure port forwarding in the router and add an exception in the firewall.

2. Add to SIP server's XML configuration portForwardings entry, see example below.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="sipServer" type="Sip.Server.Configuration.SipServerConfigurationSection, OfficeSIP Server"/>
  </configSections>
  <!-- Do NOT edit outside sipServer element -->
  <sipServer>
    <portForwardings>
      <clear />
      <add protocol="Tcp" localEndpoint="192.168.1.15:5060" externalEndpoint="1.2.3.4:5060" />
      <add protocol="Udp" localEndpoint="192.168.1.15:5060" externalEndpoint="1.2.3.4:5060" />
    </portForwardings>
  </sipServer>
</configuration>