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_NUMBERwhatsapp:+14155238886From number of Whatsapp

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

SSL_TRUST_STORE_PASSWORD
Expertflow464

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

AMQ_PRIMARYactivemq:61617
AMQ_SECONDARYactivemq:61617
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
VIBER_AUTHENTICATION_TOKEN
4a184c055da7d719-e1bc5010e187ce7c-88172364e7db4a39
Viber Bot accoun token
VIBER_USERNAME
ExpertflowUsername which will be shown to user with each message sent from connector
VIBER_OUTBOUND_API_URL
https://chatapi.viber.com/pa/send_message
Viber api to send message to customer
FACEBOOK_GRAPH_API_URL
https://graph.facebook.com/v4.0
Facebook api to send message from connector
FACEBOOK_VERIFY_TOKEN
EAANcrLpzXnoBAJtpuzzPzVtP97cYH2O7SrbdMZBCZCQT7v4UKDIICvaWZBKg8Cuh79yF6Vo
43jMJZAlU18G9VY1oWScmltaaI0XeGGERyBZxQmSqBitWJq09zdooIHrg9aLXh6vAzXk7EEN
9MCzNB4gmRbOXYwzZAYanGpZCEWCZCfZA3ZAxapZAd
Facebook account token
FACEBOOK_USERNAME
Expertflow
Username shown with messages from channel to customer
FILE_ENGINE_URL
https://file-engine:8443
File engine url to upload files to
FILE_ENGINE_PUBLIC_URLhttps://qa.ef.com/file-engine
ERROR_MESSAGE_RESPONSE
Error: Message not delivered
Error message sent to customer in case of any error while processing inbound message 
SMPP_REMOTE_IP_ADDRESS
192.168.1.159SMPP server path
SMPP_REMOTE_PORT
2775SMPP server port
SMPP_FROM_NUMBER
1122Number on which SMPP server listens for inbound message
SMPP_SYSTEM_ID
smppclient1
SMPP server system ID. SMPP connection will not establish when set to 0 or -1.
SMPP_PASSWORD
passwordSMPP server password for above mentioned systemID