Standard Operating Procedure (SOP) for VOICE Streaming

✅ Prerequisites

Before you begin, please make sure the following are ready:

  • Channels Hub access is enabled on your account
  • You have:
    • Bot Name
    • Bot Description (optional but helpful)
    • wss URL of your VOICE Bot (for two-way audio streaming)

🧩 Step-by-Step Configuration

1️⃣ Set Up the VOICE Bot (Common for Inbound & Outbound)

This is the first required step for both inbound and outbound VOICE Streaming.

Steps:

  1. Go to Channels Hub → VOICE Bot
  2. Click “Add VOICE Bot”
  3. Enter:
    • Bot Name
    • Description (optional)
    • wss URL (Acefone will send and receive audio through this endpoint)
  4. Save the bot
  5. Your bot will now appear in the list and be available for further configuration

2️⃣ Configuration for Inbound VOICE Streaming

This setup enables VOICE Streaming for incoming calls received on your DIDs.

Steps:

  1. Go to My Numbers
  2. Find the relevant DID (phone number)
  3. Click “Configure Destination”
  4. Select the VOICE Bot created earlier
  5. Save the configuration

✔️ Result: All inbound calls to this DID will automatically start VOICE Streaming to your bot.


3️⃣ Configuration for Outbound VOICE Streaming (Click to Call)

This setup enables streaming on outgoing calls triggered via the Click to Call Support API.

Steps:

  1. Go to API Connect → Click to Call Support API
  2. Click “Generate New API Key”
  3. Fill in the required fields
  4. Under Destinations, select the VOICE Bot configured earlier
  5. Save the token

✔️ Result: All outgoing calls made using this API key will initiate VOICE Streaming to your bot.

Tip:
Use async=1 in your API request for faster responses.
(You won’t receive the call_id immediately, but you can still track the call using up to 3 custom fields and webhook events.)


💡 After Setup

  • Make inbound and outbound test calls to ensure your bot is receiving and responding to audio
  • Check your Call Logs (CDRs + VOICE Streaming logs) to confirm everything works
  • If something isn’t working:
    • Ensure the correct VOICE Bot is selected
    • Verify the wss URL is correct
    • If the issue continues, reach out to support and it can be escalated to the VOICE Cohort

📌 Additional Information

  • VOICE Streaming currently supports:
    • Inbound calls via UIX
    • Outbound calls via Click to Call Support API
  • Broadcast/Outreach Campaigns are not supported yet (planned for future)