pushnotification_keepupperreg: keep upper server registrations and don’t unregister. 0: no, 1: keep register auto, 2: keep register always.
Default is 1.
pushnotification_removeon_regfail: remove push binding if upper server registrations fails (this is applied for gateways only). 0: no, 1: yes, 2:
remove also on timeout or no answer. Default is 1.
pushnotification_removeon_subscallfail: remove binding bind on subsequent call failure. 0: no, 1: yes. Default is -1 which means 0 for gateways
and 1 for servers.
pushnotification_removeon_pushfail: remove push binding if fails to send push notification. 0: no, 1: yes. Default is 1.
pushnotification_removeon_noanswer: remove push binding if endpoint doesn’t respond for requests. 0: no, 1: yes. Default is -1 which means 0
for gateways and 1 for servers.
pushnotification_removeon_reject: remove push binding if caller user is rejected for any reason such as banned. 0: no, 1: yes. Default is 1.
pushnotification_upperexpire: upper server expire interval. -1 means no change. others: specify. Default is 3600 which means one hour (you
might change it to 86400 if your server has support for one day expire).
rebuildregclients: specify the interval in seconds to verify upper registrations and relaunch if needed. Default is 3600 (one hour)
pushnotification_ttl: time to live for the push notifications. 0: now or never, 1+: other value in seconds. Default is 0.
pushnotification_teamid: remote teamid from packagename (first part of the pushkit apns pn-param): -1: auto, 0: no, 1: yes. Default is -1.
pushnotification_teamidstr: the team id string is usually “.voip”. If yours differs, you can set it with this setting
pushnotification_apnspushtype: the apns-push-type is set the “voip” for calls and “alert” for other notifications by default. In case if you wish to
force something different, then you can set it with this setting
pushnotification_topic: specify the apns-topic to be set. It might be set to "null" (to not send any apns-topic; this is the default value), "set" (to
be set automatically) or any other string which match your certificate, such as "voip" or "alert" or your packagename. A specific topic might not
be accepted by Apple APNS if we send the message to device ID / token
pushnotification_sound_call: to replace the SOUND keyword in the message with this string for calls. Sound files must reside in /res/raw/.
pushnotification_sound_chat: to replace the SOUND keyword in the message with this string for chat messages.
pushnotification_sound_other: to replace the SOUND keyword in the message with this string for other requests
fcm_protocol: specify the firebase cloud message sending protocol. -1: auto, 0: legacy (deprecated by Google since 2024 June), 1: HTTP v1 API
fcm_serverurl: the FCM cloud service URL. Default is https://fcm.googleapis.com/v1/projects/PROJECTID/messages:send for the FCM HTTP v1
API (configurable also with the fcm_serverurl_v1 settings. The PROJECTID will be replaced at runtime) or https://fcm.googleapis.com/fcm/send
for the legacy protocol (configurable also with fcm_serverurl_legacy setting)
fcm_removenotification: auto remove the "notification" section. -1: auto, 0: don't remove/always keep, 1: automatically remove for calls (keep
only for chat and for custom messages), 2: always remove
fcm_maxfail: maximum subsequent failures before to disable FCM. Useful to protect you on account banning on case of a wrong configuration.
Disabled at first successful FCM request. Default is 10000.
pushkit_protocol: PushKit/Apple APNS protocol. -1: auto, 0: binary protocol 0, 1: binary protocol 1, 2: HTTP/2. Default is -1 which means binary 1
until November 2020 and HTTP/2 after.
pushkit_serverurl_legacy: the Apple PushKit cloud service URL for the legacy binary protocol. Default is: gateway.push.apple.com:2195 (For
testing/development you might set to: gateway.sandbox.push.apple.com:2195)
pushkit_serverurl_http2: the Apple PushKit cloud service URL for the new HTTP/2 protocol. Default is: api.push.apple.com (For
testing/development you might set to: api.development.push.apple.com)
pushkit_serverurl_http2_prod: used only if p/production flag is sent from the client app. Should be the same as the above
pushkit_serverurl_http2 setting
pushkit_serverurl_http2_dev: used only if s/testflight flag is sent from the client app for development/test. Default api.sandbox.push.apple.com.
pushkit_port: internal udp listen port in the pushkit process. Default is: 61111
pushkit_localport: internal udp bind port in the mserver toward pushkit. Default is: 61110
pushkit_sslcertpassword: pushkit voip certificate password if required (for example if you supply a password protected pkcs12 certificate)
prefermd5xauth: Set to 1 if the server should prefer to answer the auth request itself from the X-PIID received from client (if any). Set to 0 if the
server should prefer to forward the auth requests to the client
fcm_app: default FCM app package name
fcm_key: default service key file path for the FCM HTTP v1 API (or the legacy FCM server API key if you are still using the old protocol)
additional fcm_appX/ fcm_keyX pairs if you have multiple apps as described here.
Note: some of the above options might appear only after you have set the pushnotification config to 1, 2 or 3 and restart the service (or reload the
settings). You can also insert them manually with the + (plus sign) button on the Configurations form.
After you make any changes in the global config, one of the followings are required to load the new settings:
Restart the service (from OS Services control panel or from MManage -> Control menu -> Restart service)
Recommended if there is no any ongoing calls on the service
Send the “reload,rst” command from the MManage Server Console form
Recommended if there are active calls to avoid forced disconnects