WFC Voice Sign-out Action
WFC Voice Sign-out Action

WFC Voice Sign-out Action

 The
wfc.voice.SIGN_OUT
action achieves different goals depending on the presence and value of the change parameter. It can be used to invoke the following behavior in the WFC Voice Client:
  • Reload
    (formerly called Sign out/Reload): Use with Extension Manager to sign out and reload the configuration based on the configuration parameters or use it to simply force WFC Voice Client  to re-register when configured without Extension Manager.
  • Change Department
    : Use with Extension Manager to sign out and reload the configuration with a list of all available departments. Users can select new departments to register with multiple extensions. In legacy  configurations, this is the same as reload.
  • Add Department
    : Use with Extension Manager to sign out and reload the configuration with a list of all available departments, where the originally configured department is auto-selected. Users can add or change departments to register with multiple extensions. In legacy configurations, this is the same as reload.
  • Sign Out
    : Use to sign out and de-register from the PBX. The app remains signed-out until the user manually restarts the app or the app receives an external intent to reload. Sign Out functions the same with or without Extension Manager.

Prerequisites

  • WFC Voice Client is loaded on the device and the user is signed in.
  • All versions of WFC Voice Client 9.0 support these intents.

Intent Definition

Name
Description
Action
wfc.voice.SIGN_OUT
Intent Type
broadcast
Extra 0
This extra parameter specifies the requested behavior when using the voice client alone or in combination with the Extension Manager.
           Type
String
           Name
change
           Value
Reload: 
change
parameter is not present or
change
=2
Change Department:
change
=1
Add Department:
change
=3
Sign Out:
change
=0

ADB Examples

Reload:
$ adb shell am broadcast -a wfc.voice.SIGN_OUT
Change Department:
$ adb shell am broadcast -a wfc.voice.SIGN_OUT --es change 1
Add Department:
$ adb shell am broadcast -a wfc.voice.SIGN_OUT --es change 3
Sign Out:
$ adb shell am broadcast -a wfc.voice.SIGN_OUT --es change 0