Configure the Subscribe Feature

Configure the Subscribe Feature

The following intent can be used to subscribe or unsubscribe the departments when used along with Extension Manager and Asterisk PBX.

Prerequisites

  • Zebra Voice Client is loaded on the device.
  • Zebra Voice Client version 9.0.21410 and above.
    • Asterisk PBX
    • Extension Manager

Intent Definition

Name
Description
Action
wfc.voice.SUBSCRIBE
Intent Type
startActivity
Extra 0
This parameter defines the names of the subscriptions which are  subscribed or unsubscribed. 
              Type
Array
              Name
subscriptions
              Value
Subscription strings
Extra 1
This optional parameter defines whether the subscriptions are subscribed (true) or unsubscribed (false). If this parameter is not present, it sets to 
true
by default..
              Type
Boolean
              Name
clear
              Value
true or false

ADB Examples

Subscribe to departments. If any departments were previously selected, the new departments are added to the existing list. Multiple departments can be separated by a comma without space.
$ adb shell am start -a wfc.voice.SUBSCRIBE --esa subscriptions "Food,Toys"
Unsubscribe from all departments and subscribe to new departments. Only the new departments are selected:
$ adb shell am start -a wfc.voice.SUBSCRIBE --esa subscriptions "Food" --ez clear true
Unsubscribe from all departments:
$ adb shell am start -a wfc.voice.SUBSCRIBE --ez clear true