How to configure the Stringee integration in Viindoo

To make real calls, Viindoo needs the keys of your Stringee project, the hotline numbers and the agents of that project, and one agent for each user who calls. Open Stringee ‣ Configuration ‣ Settings, enter the keys and click Save; then, in Stringee ‣ Configuration ‣ Numbers and Agents, click Fetch Data to load what exists in Stringee and link each agent to a Viindoo user. Until you have a Stringee account, keep the Stringee Environment on Demo: every screen works and the calls are simulated.

Who

Users with the VoIP ‣ Administrator access right. The Settings menu also needs the Administration ‣ Settings access right.

App

Stringee VoIP

Before you start

  • Install the Stringee VoIP app and give the access rights, see Overview of Stringee VoIP in Viindoo.

  • In your Stringee project, get the SID Key, the Secret Key and the Signing Secret Key, buy at least one hotline number and create the agents (or create them later in Viindoo).

  • The Viindoo server must reach icc-api.stringee.com and api.stringee.com. The browser of every agent must reach cdn.stringee.com and the WebSocket servers entered in the settings.

  • The screenshots of this page use fake keys. Never publish or share the real keys of your project.

How do I connect Viindoo to my Stringee project?

  1. Go to Stringee ‣ Configuration ‣ Settings.

    The Settings menu of the Stringee application
  2. Fill in the fields of the Stringee block and click Save.

    The Stringee settings with the WebSocket server, the three keys and the environment

    Field

    What it does

    If it is wrong or empty

    Stringee WebSocket Server

    The addresses of the Stringee servers the browser connects to, separated by commas. It is filled with the two standard Stringee servers.

    The softphone shows Please configure websocket servers.

    Stringee SID Key

    Identifies your Stringee project in the access tokens Viindoo creates.

    Calls and agent updates fail with Cannot connect to Stringee.

    Stringee Secret Key

    The secret used with the SID Key to sign the access tokens of the server and of the agents.

    Same as above.

    Stringee Signing Secret Key

    The key that checks the signature of the notifications Stringee sends to Viindoo (see the recordings section).

    Viindoo rejects every notification, so recordings never arrive.

    Stringee Environment

    Demo is for testing: the softphone is always connected, no Stringee account is needed and calls are simulated. Production is for real calls.

    In Production the four fields above are required.

How do I load the hotline numbers?

  1. Go to Stringee ‣ Configuration ‣ Numbers and click Fetch Data.

    The Numbers list with the Fetch Data button

Viindoo reads every hotline number of your Stringee project and lists it. A number is read only: buy or release numbers in Stringee, then click Fetch Data again.

How does Viindoo receive the call recordings?

Stringee sends a notification to the address https://<your Viindoo address>/stringee/event when the recording of a call is ready. Viindoo checks the signature of the notification with the Stringee Signing Secret Key, finds the call, and stores the recording in its Recorded File field. Enter this address as the event address of your Stringee project in Stringee, and use the same signing key in both places. A notification with a wrong signature is ignored without any message.

If a recording does not arrive, open the call in Call History and click Update Recording File.

How do I check that the connection works?

  1. Sign in as an agent. The phone icon appears in the top bar and the softphone title is VoIP. Click the icon: in Production the title shows Connecting… and then VoIP when the connection is made.

  2. Make a test call. See How to make calls and manage the call history with Stringee in Viindoo.

Common errors

Problem

What to do

The phone icon is missing in Production.

The user has no agent, or the agent has no Stringee Phone Number. Fix it in Agents.

The softphone shows Disconnected or Please configure ….

Check the WebSocket servers, the keys, the Stringee User ID and the Stringee Phone Number of the agent.

Cannot connect to Stringee when you save an agent or click Fetch Data.

The SID Key or the Secret Key is wrong, or the Viindoo server cannot reach Stringee.

Could not create Stringee Agent or Could not update Stringee Agent, followed by a message.

Stringee refused the agent. Read the message, for example an unknown phone number.

The number must be unique.

The number already exists. Use Fetch Data instead of creating it by hand.

The recording of a call does not arrive.

Check the Stringee Signing Secret Key and the event address in Stringee, or click Update Recording File on the call.

You do not see Configuration ‣ Settings.

The menu needs the VoIP ‣ Administrator and the Administration ‣ Settings access rights.

Next steps