Breadcrumbs

Install Vоice Gateway (VGW)

All operations will be executed on VM1, unless an alternative is explicitly designated.

To deploy VGW, follow these steps:

  1. To prepare the configuration files for VGW, run the script:

Bash
./configure-vgw.sh
  1. Adjust parameters in the values.yaml file (see architecture diagram):

Bash
vim ../vgw/values.yaml
Bash
KAM_EXT_IP: "127.0.0.1"           # external socket's IP address (from internet)
KAM_INT_IP: "127.0.0.1"           # internal socket's IP address (from local net)
KAM_NAT_EXT_IP: "127.0.0.1"       # NATed external IP address
KAM_NAT_INT_IP: "127.0.0.1"       # NATed internal IP address
KAM_EXT_PORT: 5969                # external socket's UDP-port (from internet)
KAM_INT_PORT1: 5060               # internal socket's UDP-port for outbound connections to IMS and to webrtc-gw
KAM_INT_PORT2: 5070               # internal socket's UDP-port for webrtc-gw inbound connections
KAM_WEBRTC_PORT: 7443             # external socket's TCP-port webRTC port for mobile applications
KAM_PROM_PORT: 9090               # port for prometeus metrics. Optional.
KAM_SITE_NAME: "vgw1.company.com" # vgw domain name
KAM_COMMON_NUMBER: "1234"         # Common number for substitude to IMS.Optional
KAM_EXT_SBC: "192.168.5.29"       # SBC IP address.Optional
KAM_NUM_RANGE: "1.{11}"    # pattern for calling numbers. Used to protect from malicious requests
KAM_CONTROLL: "http://backend/api/v1/intercom-module/"
KAM_RTP_ENGINE: "udp:127.0.0.1:2223" 
  1. Obtain a valid TLS certificate for VGW.
    Put the certificate and private key to the corresponding files: ./vgw/tls.crt and ./vgw/tls.key.

  2. Run the script to install VGW and wait for completion.

Bash
./update-vgw.sh