OpenVPN

This article describes a configuration of a roadwarrior scenario, where a d-200 phone connects to a COMmander 6000 via a OpenVPN VPN Server.

In our example, the d-200 is located in the 192.168.1.0/24 subnet. The pbx is located in the 192.168.21.0/24 subnet.

openvpn.xml
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <network>
        <vpn>
            <active>true</active>
            <vpnType>OpenVPN</vpnType>
            <name>VPN name</name>
            <!-- Optional - depends on the OpenVPN Config parameters -->
            <server>192.168.1.239</server>
            <!-- Optional - depends on the OpenVPN Config parameters -->
            <username>theUserName</username>
            <!-- Optional - depends on the OpenVPN Config parameters -->
            <password>secretVPNCredential</password>
            <openvpnConfig> .. here we need the content of an ovpn config .. </openvpnConfig>
        </vpn>
      </network>
        <identities>
          <identity>
            <active>true</active>
            <displayname>COMmander 6000</displayname> 
            <username>70</username>
            <host>192.168.21.100</host>
            <password>AccountPassword</password>
            <frameSize>20</frameSize>
            <audiocodecs>
              <audiocodec>G.722</audiocodec>
              <audiocodec>G.711</audiocodec>
            </audiocodecs>
            <clir>displayAnonymous</clir>
            <localmoh>false</localmoh>
            <secureConnection>false</secureConnection>
            <srtp>disabled</srtp>
            <ipVersion>IpV4</ipVersion>
            <checkHostname>true</checkHostname>
            <pickupCode>##06</pickupCode>
            <interfaceType>vpn</interfaceType>
         </identity>
         <identity>
           <active>false</active>
         </identity>
         <identity>
           <active>false</active>
         </identity>
         <identity>
           <active>false</active>
         </identity>
         <identity>
           <active>false</active>
         </identity>
         <identity>
           <active>false</active>
         </identity>
       </identities>
    </configuration>