Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 7 Current »

The document describes how to configure Push-to-talk feature for x-hoppers broadcast on mobile.

Download mobile app:

Created: June 2024

Updated: December 2024

Permalink: https://x-hoppers.atlassian.net/wiki/x/AYAx

Introduction

The feature allows you to send Push-to-talk messages to x-hoppers broadcast from a group conversation on mobile. With this option, users can send voice messages to x-hoppers broadcast via mobile and receive broadcast messages to conversations on mobile, having them played automatically in Speaker mode. 

Requirements

Configuration

  1. Add the parameter  -cr to the /etc/systemd/system/pbx-data-engine.service.d/override.conf file

    Example: 

    vi  /etc/systemd/system/pbx-data-engine.service.d/override.conf
    
    [Service]
    ExecStart=
    ExecStart=/usr/sbin/pbx_data_engine.py --daemon -cr
  2. Restart the service to apply the changes: 

    systemctl daemon-reload 
    systemctl restart pbx-data-engine
  3. For the feature to work on mobile, make sure there is an included procedure pbxservices (Services codes dialplan) set in Dialplan:

  1. Create a conversation in x-bees, adding all members of x-hoppers broadcast, including all W-AIR headset users and all users of x-bees mobile app, that are going to use the Push-to-talk feature. The transcription and audio files of what was pronounced in x-hoppers broadcast will be added to this conversation

  2. Add the following lines to the /rw2/etc/pbx/x-hoppers.json file: 

    [
        {
            "audio_conf_id": 0,
            "xbees_channel_id": "a1b88b80-a287-4848-8d1a-9fb8721f"
        }
    ]

    Where:

    1. “0” is the ID number of x-hopper broadcast

    2. "a1b88b80-a287-4848-8d1a-9fb8721f" is the ID of x-bees conversation

Note: The conversation ID is available in the conversation URL: 

  1. Restart the service to apply the changes: 

    systemctl daemon-reload 
    systemctl restart pbx-data-engine

Usage 

To start using this feature:

  1. Go to mobile app Settings -> Integrations -> enable the toggle next to Allow Push-to-talk option:

Note: The Push-to-Talk button under Allow Push-to-Talk can currently be used to connect Jabra Perform 45 headset. 

Important: On Android, it is necessary to allow "Nearby Devices" permission for the mobile app for the Push-to-talk feature to work. 

  1. Find x-hoppers conversation on the Inbox tab -> press and hold the relevant conversation -> on the pop-up screen that appears below, press the option Enter x-hoppers group:

  1. To send a voice message to x-hoppers broadcast via mobile, press and hold the Push-to-talk button next to the message field:

Current limitation: PTT messages should not be longer than 3 minutes in case of x-hoppers broadcast with transcription of in-store conversations enabled.

The message is played to users in x-hoppers broadcast. Also, once mobile user enters the x-hoppers conversation, the group messages are automatically played on mobile in Speaker mode. What is pronounced in x-hoppers broadcast is added as a message from the relevant user with a transcription and audio file:

  1. To exit the broadcast, go to the Inbox tab -> press and hold the relevant conversation -> on the pop-up screen that appears below, press the option Exit x-hoppers group:

  • No labels