Skip to content

Push Notification Server configuration #2476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -76,7 +76,15 @@ configOutboundProxy(){
-e "s|<outbound-proxy-password>.*<\/outbound-proxy-password>|<outbound-proxy-password>$OUTBOUND_PROXY_PASSWORD<\/outbound-proxy-password>|" $FILE > $FILE.bak;
mv $FILE.bak $FILE
}

## Description: Push notification server configuration.
configPushNotificationServer() {
echo "Configure push-notification-server"
FILE=$RESTCOMM_DEPLOY/WEB-INF/conf/restcomm.xml
sed -e "s|<push-notification-server-enabled>.*<\/push-notification-server-enabled>|<push-notification-server-enabled>$PUSH_NOTIFICATION_SERVER_ENABLED<\/push-notification-server-enabled>|" \
-e "s|<push-notification-server-url>.*<\/push-notification-server-url>|<push-notification-server-url>$PUSH_NOTIFICATION_SERVER_URL<\/push-notification-server-url>|" \
-e "s|<push-notification-server-delay>.*<\/push-notification-server-delay>|<push-notification-server-delay>$PUSH_NOTIFICATION_SERVER_DELAY<\/push-notification-server-delay>|" $FILE > $FILE.bak;
mv $FILE.bak $FILE
}
## Description: Configures Voip Innovations Credentials
## Parameters : 1.Login
## 2.Password
@@ -661,6 +669,7 @@ configRestCommURIs
updateRecordingsPath
configHypertextPort
configOutboundProxy
configPushNotificationServer
otherRestCommConf
confRcmlserver
confRVD
Original file line number Diff line number Diff line change
@@ -37,6 +37,11 @@ OUTBOUND_PROXY='' #Provide port if different than 5060
OUTBOUND_PROXY_USERNAME=''
OUTBOUND_PROXY_PASSWORD=''

# Push notification server
PUSH_NOTIFICATION_SERVER_ENABLED=false
PUSH_NOTIFICATION_SERVER_URL=''
PUSH_NOTIFICATION_SERVER_DELAY=''

# Outbound proxy for SMS
SMS_PREFIX='#' #For VoipInnovation you will need the '#' character for SMS Prefix
SMS_OUTBOUND_PROXY='' #Please provide port if different than 5060