SMS Connector Environment Variables

Following are the environment variables used in the sms-connector service.

Config Parameter

Expected Value

Notes

ECM_DB_DRIVER

com.mysql.jdbc.Driver


ECM_DB_URL

jdbc:mysql://mysql:3306/ecm?user=root&password=root


CHAT_SOLUTION_URL

https://chat:8443

TWILIO_OUTBOUND_API_URL

https://api.twilio.com/2010-04-01/Accounts/AC496763443da6c75e0f1b5f27ddb3f515/Messages.json


TWILIO_API_TOKEN

cfee95cb34b55a524e206ca24a9e2fdd


TWILIO_API_ACCOUNT

ACe8e908f2710486b962c9037ceaf8d86e

TWILIO_FROM_NUMBER

+19092199558
TWILIO_WHATSAPP_FROM_NUMBER+14155238886

TWILIO_STATUS_CALLBACK

http://sms-connector-expertflow.e4ff.pro-eu-west-1.openshiftapps.com/sms-client/


IS_CRM_UPDATE_DISABLED

true

CRM_API_URL


http://192.168.1.29:9096/smsDeliveryNotification

CRM_API_USERNAME

admin

CRM_API_PASSWORD

admin


SSL_TRUST_STORE_PATH


/app/trustStore.jks

ENABLE_SSL

true

Enables SSL over APIs in sms connector

SSL_KEY_STORE_TYPE

JKS

Type of key store(only if SSL_ENABLE=true)

SSL_KEY_STORE

keystore.jks

Keystore name which holds ssl certificate. Key store file should be placed on in some directory where compose file is going to be run. That directory should be mounted to “/app/ssl” is sms-connector server.
Example:
   volumes:

     - "/root/ssl/:/app/ssl"

SSL_KEY_ALIAS

localhost

Key alias

SSL_KEY_PASS

Expertflow464

Key password

TWILIO_WHATSAPP_FROM_NUMBERwhatsapp:+<number>From number of Whatsapp
AMQ_HOSTactivemq
AMQ_PORT61617
AMQ_SSL_ENABLEDtrue
AMQ_TRUST_STORE_PATH/app/client.ts
AMQ_TRUST_STORE_PASS_PHRASEpassword
AMQ_KEY_STORE_PATH/app/client.ts
AMQ_KEY_STORE_PASSpassword
AMQ_OUTBOUND_QUEUEoutbound-sms
SERVER_PORT8080