Additional MOTD Parameters
Additional MOTD Parameters

Additional MOTD Parameters

The JSON parameters provide configure various aspects of MOTD functionality.

Enable Video

Video files are larger and introduce more network overhead. The standard MOTD configuration supports sending both audio and video files. Use this parameter to disable video.
allowVideo Parameters
Parameter
Description
Type
Default Value
Configurable Values
allowVideo
When true, enables video attachments in MOTD messages.
Boolean
false
true or false

Enable MOTD Configuration Settings

Determines whether the MOTD configuration settings are displayed in the Settings for the PTT Pro client.
showServerConfig Parameters
Parameter
Description
Type
Default Value
Configurable Values
showServerConfig
When true, the device user can view and modify the MOTD configuration.
Boolean
false
true or false

HTTP Upload Methods

Audio and video files can be uploaded to the NAS server using POST or PUT methods.
serverUploadHTTPMethod Parameters
Parameter
Description
Type
Default Value
Configurable Values
serverUploadHTTPMethod
Defines the MOTD HTTP transfer method.
String
POST
PUT or POST
In the JSON configuration file:
"serverUploadHTTPMethod":"PUT"

File Repository URL

This parameter defines the repository destination for audio and video files.
serverURL Parameters
Parameter
Description
Type
Default Value
Configurable Values
serverURL
Defines the MOTD file repository URL.
String
empty
See below
In the JSON configuration file:
"serverURL": "http://nas1.customer.com/web"
Similar to the
allowRecordingGroup
parameter,
serverURL
supports the use of wildcards. For example, if the Department name is 123456 and the
serverURL
is
http://server.{$pttDepartment}.customer.com/motd
, then the URL used will be
http://server.123456.customer.com/motd
.

Show MOTD Link

This parameter provides the ability to turn off the URL to the media file sent with the MOTD. This parameter does not change the experience of the sender but changes the what the recipient sees. This parameter does not affect the recipients ability to view or hear the media file.
showMotdLink Parameters
Parameter
Description
Type
Default Value
Configurable Values
showMotdLink
When false, the link to the media file in the MOTD message is not shown.
Boolean
true
true or false

MOTD Link Indication String

This parameter provides the ability to prepend a text message to the MOTD message. This helps the recipient to understand the message is an MOTD. The maximum string length allowed is 64 characters.
MOTDLinkIndicationString
Parameter
Description
Type
Default Value
Configurable Values
MOTDLinkIndicationString
The string is automatically prepended to the MOTD text message. The maximum length of the string is 64 characters.
String
empty
N/A

Hiding Contacts

Service users are created to support MOTD in the PTT Pro Management Portal. These service users are not useful for PTT Pro so an administrator can hide these service accounts to avoid confusion. Enabling this parameter affects the Contacts, Favorites, and Group Member List views, including group members in the Recent view.
hideDisplayStringList Parameters
Parameter
Description
Type
Default Value
Configurable Values
hideDisplayStringList
Hides usernames or groups that match the specified string.
String
empty
See example below
The string is not case sensitive, for example iwg, IWG, and iWg match the same set of users or groups.
Consider the following example.
"hideDisplayStringList":["Proxy","IWG", "dispatch"]
The string
"Proxy","IWG", "dispatch"
hides the following usernames:
Customer.IWG.1234 Customer.456.IWG Customer1234.Proxy CustomerProxyAbcd Dispatch.User
To show all contacts and disable hiding, configure an empty array:
"hideDisplayStringList": [],

Select the Audio Recorder

This parameter selects the audio recorder that is used to record an audio message. By default, this parameter selects the integrated PTT Pro audio recorder.
usePTTProAudioRecorder Parameters
Config String
Description
Type
Default
Configurable Values
usePTTProAudioRecorder
Selects the audio recorder to be used by MOTD recording. When enabled, the integrated PTT Pro recorder will be used. When false, the Android Sound Capture App will be used.
Boolean
true
true or false