Install Vоice Gateway
All commands must be run from the root directory of the repository on VM1.
Add the Helm repository:
CODE
helm repo add aipix https://download.aipix.ai/repository/charts/ --username aipix --password aipix
helm repo update
helm search repo -l vgw
Create the
values.yaml
file and adjust the parameters (see the architectural scheme):
CODE
helm show values aipix/vgw >> ./vgw/values.yaml
CODE
vim ./vgw/values.yaml
CODE
KAM_EXT_IP: "127.0.0.1" # vgw external interface IP address
KAM_INT_IP: "127.0.0.1" # vgw internal interface IP address
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 # SIP-port for external connections (from internet)
KAM_INT_PORT1: 5060 # SIP-port for sip-gw outbound connections to IMS and to webrtc-gw
KAM_INT_PORT2: 5070 # SIP-port for webrtc-gw inbound connections
KAM_WEBRTC_PORT: 7443 # webRTC port for mobile applications
KAM_PROM_PORT: 9090 # port for prometeus metrics
KAM_SITE_NAME: "vgw1.company.com" # vgw domain name
KAM_EXT_SBC: "192.168.5.29" # SBC IP address
KAM_LOCAL_NETW: "192.168" # Regex pattern for local networks. Used to distinct internal and external clients
KAM_NUM_RANGE: "1............" # 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"
Obtain a valid TLS certificate for VGW.
Put the certificate and private key to the corresponding files:./vgw/tls.crt
and./vgw/tls.key
.Install the Helm chart:
CODE
cd ./kubernetes
./update-vgw.sh