skip to main content
Admin Guide > Appendix J: ICE Gateway Deployment > Running an ICE Telephony Gateway
Running an ICE Telephony Gateway
Prerequisite: Ensure you have completed all steps in Running an ICE Gateway in a Docker Container.
To deploy and run a Telephony Gateway
Use the command below after the replacing the highlighted <code> blocks with the data from the Required Gateway Deployment Data list.
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 are in the working directory specified in the Organizing Directories section.
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>
2. Replace the highlighted sections with the data from the Required Gateway Deployment Data list.
3. Paste and run the command.
4. Save the commands for future use.