Running an ICE Telephony Gateway
To deploy and run a Telephony Gateway
Note: The GATEWAY_TLS_CERT_FILE_PATH is only required in support of TLS/SRTP. If you are setting -e GATEWAY_TLS_ENABLED= to N, then you may omit both of the GATEWAY_TLS_KEY_FILE_PATH lines as there is no cert file path needed.
Ensure you replace the angle brackets <> as well as the text.
To run the Gateway
1. Copy and paste the following code into a text editor:
docker run --detach --restart always \
--net=host \
--name <gateway_type> \
-e ICEGW_PREFERRED_INTERFACE='<nic>' \
-e INGRESS_IP='<nic_ip>' \
-e SERVER_BRIDGE_ADDRESS='https://<server_address>/server-bridge' \
-e ICE_AGENT_SERVER_BRIDGE='https://<server_address>/server-bridge' \
-e ICE_AGENT_CLIENT_BRIDGE='https://<server_address>' \
-e ICE_AGENT_SERVER_GROUP='<group>' \
-e ICE_AGENT_API_KEY='<api_key>' \
-e ICE_GATEWAY='<gateway_type>' \
-e GATEWAY_TLS_ENABLED='<tls_enabled>' \
-e GATEWAY_TLS_CERT_FILE_PATH='<tls_cert_file_path>' \
-e GATEWAY_TLS_KEY_FILE_PATH='<tls_private_key_file_path>' \
--volume $(pwd):/home/gateway/ice/logs \
--volume $(pwd):/home/gateway/ice/agent/log \
--volume $(pwd):/home/gateway/ice/agent/conf \
instantconnect/gateway-<version>
3. Paste and run the command.
4. Save the commands for future use.