Getting Started with Voice Gateway¶

How to Set Up Voice Gateway?¶
To set up Voice Gateway, do the following steps:
- Create a Voice Gateway flow
- Create a Voice Gateway Endpoint
- Route your Contact Center or Phone Number to Voice Gateway
- Set up Voice Gateway for your Organization
Create a Voice Gateway flow¶
Start your Voice Gateway project by creating a voice-enabled flow. With a voice conversation, the AI Agent must respond with a text-based message for every user input. Voice conversations happen on a turn-by-turn basis, meaning that all dialogue outputs that are triggered by the flow will be bundled into one message and delivered across the phone line.
Every Cognigy.AI node that offers text-based messages can be used in a voice flow. If you have rich media in your flow, the fallback text field will be used as voice output.
If there is a Voice Gateway channel-specific configuration, this configuration will be used instead of the one in the default section. In the Voice Gateway channel, you can find pre-defined SSML tags and activity parameters.
For voice-specific actions, you can use the Voice Gateway Flow Nodes.
Note
With the native Cognigy Voice Gateway integration to Cognigy.AI, the AudioCodes implementation will be rebranded from Voice Gateway to AudioCodes.

Create a Voice Gateway Endpoint¶
To do voice-based experiences with your AI Agent, create your Voice Gateway Endpoint in Cognigy.AI. To do that:
- In the left-side menu of the Cognigy.AI interface, select a Project where you want to create a voice Flow.
- In the left-side menu of the Project, go to Deploy > Endpoints.
- On the Endpoints page, click + New Endpoint.
- In the New Endpoint section, do the following:
- Select the voice-gateway Endpoint type.
- Add a unique name.
- Select a relevant Flow from the list.
- Select the voice-gateway Endpoint type.
- Click Save.

Route your Contact Center or Phone Number to Voice Gateway¶
To route your Contact Center or Phone Number to your Voice Gateway Endpoint, your SIP Trunk needs to be set up. Get in touch with Cognigy technical support to configure your SIP Trunk and route your number to the right Endpoint.
Set up Voice Gateway for your Organization¶
This setting allows users with the Account role to log in to the Voice Gateway Self-Service Portal using their Cognigy.AI user credentials. To enable this option, you need to follow these steps:
To set up the Voice Gateway for your organization, follow these steps:
- In the left-side menu of the Voice Gateway Self-Service Portal, select Accounts.
- On the Accounts page, select an account from the list.
- In the Account SID field, copy the SID and save it for later use.
- In the Cognigy.AI interface, In the upper-right corner of the Main page, select User Menu
> Admin Center.
- In the Admin Center interface, select Dashboard from the left-side menu.
- Click Set up Voice Gateway. The Voice Gateway Setup window opens.
- In the Voice Gateway Account ID field, enter the SID you copied and saved earlier. Note that your SID can only be associated with one organization in the Cognigy.AI.
- In the left-side menu, select Access Control and assign the
voice-gatewayUser
role to the users who need access to the Voice Gateway Self-Service Portal with the Account role. When thevoice-gatewayUser
role is assigned to a user, they can log in to the Voice Gateway Self-Service Portal using the Sign in with a Cognigy.AI account option. This option is available to users with the Account role linked to a Cognigy.AI organization or tovoicegatewayUser
role users without a Voice Gateway Self-Service Portal account — accounts are automatically created upon first login.