JSON Configuration Elements
JSON Configuration Elements

JSON Configuration Elements

The Worker Duress feature is configured using the
WFCPTTProDefault.json
file. The following elements are added to the JSON file to configure the Worker Duress feature behavior:
{ "drop_detection_feature_enable":"1", "drop_detection_auto_alert_title": "Free Fall Detected" "drop_detection_manual_alert_title": "Duress Initiated", "drop_detection_default_text_message": "Help me! I am in duress", "drop_detection_recipient_type": "1", "drop_detection_recipient_name": "Duress.Group", "drop_detection_alarm_duration": "30", "drop_detection_skip_first_screen": "0" }
JSON Parameters for Worker Duress
JSON Parameter
Description
drop_detection_feature_enable
Enables or disables Worker Duress.
Value of 0 (disabled) or 1 (enabled).
Default value is 1.
drop_detection_auto_alert_title
Specifies the title on the first screen when Worker Duress is initiated by Drop Detect.
When the value is not set or is empty, the title is Drop Detected.
If the specified title length exceeds what can be displayed on a single line, the title is cropped to fit with an ellipsis.
drop_detection_manual_alert_title
Specifies the title on the first screen when Worker Duress is initiated by the designated key press.
When the value is not set or is empty, the title is Duress Detected.
If the specified title length exceeds what can be displayed on a single line, the title is cropped to fit with an ellipsis.
drop_detection_default_text_message
Specifies the emergency PTT text message sent after the alert time elapses.
Empty by default.
drop_detection_recipient_type
Specifies whether the alert recipient is a group or a user.
A value 1 indicates a group and a value of 0 indicates a user.
This value is required when the feature is enabled.
drop_detection_recipient_name
Recipient of the alert message. The value can be a single group or a comma separated list of users.
The group name or user name(s) are case-sensitive and must match the names defined in the PTT Pro Management Portal.
A group or user name is required when the feature is enabled.
drop_detection_alarm_duration
Specifies the duration, in seconds, of the alarm on the initiator’s device when an alert is triggered.
The value must be 30 seconds or more.
Default value is 30 seconds.
drop_detection_skip_first_screen
Enables or disables the countdown screen on the initiator’s device. A value of 1 skips the countdown screen and a value of 0 enables the countdown screen.
Default value is 0.