Using Your BlueVia Voice Numbers

Inbound Calls

The easiest way to experiment with your BlueVia Numbers is to call them and see what happens. If you then look at your BlueVia Dashboard to see the configuration of your number you can see what happens. Initially associated with all BlueVia Numbers is a default configuration of:

{
    "commands": [
        {
            "speak": {
                "text": "Welcome to TuBlue, please configure your Application to change this default behavior",
                "voice": "Male"
            }
        },
        {
            "wait": {
                "length": 5
            }
        },
        {
            "speak": {
                "text": "Bye bye",
                "voice": "Male"
            }
        },
        {
            "hangup": {}
        }
    ]
}

When you call your number, you will hear the Text To Speech engine speaking the text listed within the Speak Command in a male voice. As you can then see the call will hangup due to the Hangup command

The easiest way to modify this configuration is to have a look at our BlueVia Voice quick start guide. If you have your own server to play with, you can host your own BlueVia Voice Control Commands to alter the behaviour of an inbound call. If you don’t have immediate access to a server, simply try hosting some static XML of JSON call control commands in a file hosted in a cloud file sharing service. Have a look at the first Quick Start Guide to connect an inbound call without any code. This uses a static file hosted on Amazon S3 to manage a call connection.

Outbound Calls

To make outbound calls via the the BlueVia VOICE RESTful API you will need access to your application server to be able to make HTTP REST API requests. The easiest way to get up and running is to have a look at the quick start guide to create conference calls using the BlueVia Voice RESTful API