Initiate a PTT Call
Initiate a PTT Call

Initiate a PTT Call

Use this intent to initiate a PTT call to a group or to one or more users. When multiple users are included, an ad hoc group call is initiated. You can also use this intent to initiate a one-to-one call in
PTT Lite
.

Prerequisites

  • When initiating a call to a group, the group must be defined in the
    PTT Pro server
    and the user who initiates the PTT call (i.e., the target of the intent) must be a member of the group.
  • When initiating a call to one or more users, the usernames(s) must be defined in the
    PTT Pro server
    .
  • The minimum required PTT Pro Android version is 3.3.10134.

Intent Definition

Name
Description
Action
com.symbol.wfc.pttpro.ACTION_PTT_PRO_CALL
Intent Type
broadcast
Extra 0
This extra defines whether the call is targeted to a group or users. This is a mandatory parameter.
          Type
Integer
          Name
recipientType
          Value
1 to target the call to a group.
0 to target the call to 1 or more users.
Extra 1
This extra defines the recipient(s) of the call. This is a mandatory parameter.
          Type
String
          Name
recipientName
          Value
Use the group name or the user name(s) exactly as they appear in the
PTT Pro Server
.

ADB Examples

Call a group:
adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_PTT_PRO_CALL --ei recipientType 1 --es recipientName 'staff_admin'
Call a user:
adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_PTT_PRO_CALL --ei recipientType 0 --es recipientName 'george.shaw'
Call multiple users:
adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_PTT_PRO_CALL --ei recipientType 0 --es recipientName 'george.shaw,ira.gershwin,cole.porter'