Quantcast
Channel: Telestax Docs Online
Viewing all articles
Browse latest Browse all 94

Restcomm – Docker Environment Variables

$
0
0

Environment variables

RestComm docker container provides the option to use a file to configure environment variables. These variable are used with the Restcomm Docker  RUN command.

  • ENVCONFURL Set the URL for environment variables configuration file location/repository.
  • REPOUSR Set Username for environment variables configuration file Authentication if needed.
  • REPOPWRD Set Password for environment variables configuration file Authenitcation if needed.
  • MEDIASERVER_LOGS_LOCATION Set the location were to store Mediaserver logs.

The RestComm docker image supports a set of environment variables to configure the application.

  • STATIC_ADDRESS Set the public ip address that RestComm should use
  • USE_STANDARD_PORTS Use Default ports such as 80, 443, 5060, …
  • OUTBOUND_PROXY Set the SIP Outbound proxy
  • OUTBOUND_PROXY_USERNAME Set the SIP Outbound proxy username
  • OUTBOUND_PROXY_PASSWORD Set the SIP Outbound proxy password
  • MEDIASERVER_LOWEST_PORT Set the Media Server lowest RTP port
  • MEDIASERVER_HIGHEST_PORT Set the Media Server highest RTP port
  • PROVISION_PROVIDER Set the Provision Provider, choose one of the following: VI (VoipInnovation), BW (Bandwidth), NX (Nexmo), VB (Voxbone)
  • DID_LOGIN Set the DID Provider username
  • DID_PASSWORD Set the DID Provider password
  • DID_ENDPOINT Set the Endpoint ID for VoipInnovation Provision Provider
  • DID_SITEID Set the Site Id for Bandwidth Provision Provider
  • DID_ACCOUNTID Set the Account Id for Bandwidth Provision Provider
  • INTERFAX_USER Set the Interfax username
  • INTERFAX_PASSWORD Set the Interfax password
  • ISPEECH_KEY Set the iSpeech speech recognition key
  • VOICERSS_KEY Set the VoiceRss Text-To-Speech key
  • ACAPELA_APPLICATION Set the Acapela Text-To-Speech application key
  • ACAPELA_LOGIN Set the Acapela Text-To-Speech username
  • ACAPELA_PASSWORD Set the Acapela Text-To-Speech password
  • SMPP_TYPE Set the SMPP Type ie the unique name for the SMPP Connection and sets the SMPP to be enabled for the SMS API and RVD Tag
  • S3_BUCKET_NAME Set the S3 Bucket Name so that Restcomm stores the Recording in Amazon Web Services S3 Service
  • S3_ACCESS_KEY Set the S3 Access Key so that Restcomm stores the Recording in Amazon Web Services S3 Service
  • S3_SECURITY_KEY Set the S3 Security Key so that Restcomm stores the Recording in Amazon Web Services S3 Service
  • HSQL_PERSIST Path to use for persist date using HSQL.
  • SMTP_USER Set the SMTP User so that Restcomm configures the SMTP Service for the Email API and RVD Tag
  • SMTP_PASSWORD Set the SMTP Password so that Restcomm configures the SMTP Service for the Email API and RVD Tag
  • SMTP_HOST Set the SMTP Host so that Restcomm configures the SMTP Service for the Email API and RVD Tag
  • MYSQL_USER Set the MySQL User so that Restcomm configures RestComm to use a MySQL DB instead of In memory DB
  • MYSQL_PASSWORD Set the MySQL Password so that Restcomm configures RestComm to use a MySQL DB instead of In memory DB
  • MYSQL_HOST Set the MySQL Host so that Restcomm configures RestComm to use a MySQL DB instead of In memory DB
  • MYSQL_SCHEMA Set the MySQL Schema so that Restcomm configures RestComm to use a MySQL DB instead of In memory DB
  • SSL_MODE Set the SSL Mode for Restcomm and RVD to query External Service over HTTPS. Values : allowall, strict
  • RVD_LOCATION Set the Location for Restcomm Visual Designer to store the workspaces in a shared filesystem
  • LOG_LEVEL Set the Log Level for Restcomm and MMS
  • CORE_LOGS_LOCATION Set the location were to store Restcomm logs
  • MEDIASERVER_LOGS_LOCATION Set the location were to store Mediaserver logs
  • RESTCOMM_TRACE_LOG Set the location were to store network trace logs (pcap files)
  • RESTCOMMHOST Set the hostname for this machine for RestComm to recognize it and use it for relative URL requests

HTTPS related configuration

  • SECURESSL Configure RestComm to be used in secure mode ie only on HTTPS not HTTP and SIP Over Secure WebSockets + TLS (Values: AUTH – need to provide JKS file & DER file. SELF – self sighned certificate generation)
  • TRUSTSTORE_PASSWORD Set the password to use for RestComm to configure the certificate for HTTPS and SIP TLS
  • TRUSTSTORE_ALIAS Set the Alias to use for RestComm to configure the certificate for HTTPS and SIP TLS

SECURESSL=AUTH

  • CERTCONFURL JKS file URL location
  • CERTREPOUSR Username for authentication if needed.
  • CERTREPOPWRD Password for authentications if needed
  • DERCONFURL DER file URL location
  • DERREPOUSR Username for authentication if needed
  • DERREPOPWRD Password for authentication if needed

SMPP related configuration

  • GENERIC_SMPP_TYPE The SMPP type
  • GENERIC_SMPP_ID The SMPP id
  • GENERIC_SMPP_PASSWORD The SMPP password
  • GENERIC_SMPP_PEER_IP The SMPP peer IP Address
  • GENERIC_SMPP_PEER_PORT The SMPP peer port
  • GENERIC_SMPP_SOURCE_MAP The SMPP source map
  • GENERIC_SMPP_DEST_MAP The SMPP destination map

The post Restcomm – Docker Environment Variables appeared first on Telestax Docs Online.


Viewing all articles
Browse latest Browse all 94

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>