All operations will be executed on VM1, unless an alternative is explicitly designated.
To deploy VGW, follow these steps:
-
To prepare the configuration files for VGW, run the script:
Bash
./configure-vgw.sh
-
Adjust parameters in the
values.yamlfile (see architecture diagram):
Bash
vim ../vgw/values.yaml
Bash
KAM_EXT_IP: "127.0.0.1" # External socket IP address (from the Internet)
KAM_INT_IP: "127.0.0.1" # Internal socket IP address (from the local network)
KAM_NAT_EXT_IP: "127.0.0.1" # NAT-translated external IP address
KAM_NAT_INT_IP: "127.0.0.1" # NAT-translated internal IP address
KAM_EXT_PORT: 5969 # External socket UDP port (from the Internet)
KAM_INT_PORT1: 5060 # Internal socket UDP port for outbound connections to IMS and WebRTC gateway
KAM_INT_PORT2: 5070 # Internal socket UDP port for inbound connections from the WebRTC gateway
KAM_WEBRTC_PORT: 7443 # External socket TCP port for WebRTC connections from mobile applications
KAM_API_PORT: 9090 # Port for Prometheus metrics. Optional.
KAM_SITE_NAME: "vgw1.company.com" # VGW domain name
KAM_EXT_SBC: "192.168.5.29" # SBC IP address. Optional.
KAM_NUM_RANGE: "1.{11}" # Calling number pattern. Used to protect against malicious requests.
KAM_CONTROLL: "http://backend/api/v1/intercom-module/"
KAM_RTP_ENGINE: "udp:127.0.0.1:2223"
KAM_RPC_PASSWORD: "default_rpc_password"
-
Obtain a valid TLS certificate for VGW.
Put the certificate and private key to the corresponding files:./vgw/tls.crtand./vgw/tls.key. -
Run the script to install VGW and wait for completion.
Bash
./update-vgw.sh