The invention discloses a freeswitch cluster capacity expansion
system and device based on NAT (
Network Address Translation) equipment, and relates to the technical field of cluster capacity expansion. The
system comprises a virtual private cloud, an NAT (
Network Address Translation) device, a freeswitch cluster and a port mapping configuration module, wherein the virtual private cloud is used for carrying out network planning and security configuration on the virtual private cloud according to actual requirements; the NAT equipment is deployed at a boundary position of the virtual private cloud and an external network, and a
voice communication request sent by the external network to a specific
public network IP and a port is converted into a
private IP and a corresponding port of an internal freeswitch
cluster node by configuring a DNAT rule of the NAT equipment; the freeswitch cluster consists of a plurality of freeswitch nodes, is uniformly distributed in a second subnet in the virtual private cloud, and is used for realizing call request
processing of cluster load balance based on internal communication; and the port mapping configuration module is used for carrying out corresponding port mapping setting on the NAT equipment according to a service port provided by the freeswitch
cluster node.