> ## Documentation Index
> Fetch the complete documentation index at: https://docs-classic.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AudioCodes

![AudioCodes Endpoint logo](https://mintcdn.com/cognigy-docs-legacy/RomCLoWcsmr9N2pz/_assets/ai/deploy/endpoint-reference/audiocodes.png?fit=max\&auto=format\&n=RomCLoWcsmr9N2pz\&q=85\&s=0e7da3987c711c0036fb5a8796af55ba)

> [!WARNING]
>
> As of April 2025, the AudioCodes Endpoint is deprecated. The full removal of the AudioCodes Endpoint is planned for Q4 2026. Migrate to the [Voice Gateway Endpoint](https://docs-classic.cognigy.com/ai/agents/deploy/endpoint-reference/voice-gateway.md) before the removal date.

The AudioCodes Endpoint enables you to connect your AI Agent to your contact center or other phone numbers using the [AudioCodes](https://www.audiocodes.com/) platform. This Endpoint allows your customers to speak with your AI Agents instead of using a chat.

## Prerequisites

* A Flow configured with [AudioCodes](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/voice/audiocodes/overview) or [Voice Generic](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/voice/generic/overview) Nodes.
* To link the AudioCodes Endpoint to a phone number, contact your Cognigy representative to provision and configure a Voice Gateway instance.
* The Cognigy AudioCodes Endpoint is 100% compatible with [AudioCodes VoiceAI Connect](https://voiceaiconnect.audiocodes.com), where you can sign up for free and get a phone number within minutes.

## Generic Endpoint Settings

Learn about the generic Endpoint settings on the following pages:

* [Endpoints Overview](https://docs-classic.cognigy.com/ai/agents/deploy/endpoints/overview)
* [NLU Connectors](https://docs-classic.cognigy.com/ai/platform-features/nlu/external/nlu-connectors/overview)
* [Data Protection & Analytics](https://docs-classic.cognigy.com/ai/agents/deploy/endpoints/data-protection-and-analytics.md)
* [Real-Time Translation Settings](https://docs-classic.cognigy.com/ai/agents/deploy/endpoints/real-time-translation-settings.md)
* [Transformer Functions](https://docs-classic.cognigy.com/ai/for-developers/transformers/overview)

## Specific Endpoint Settings

> [accordion] Voice Gateway Settings
>
> | **Parameter** | **Description** |
> | - | - |
> | Async Mode | When async mode is enabled for the AudioCodes Endpoint, outputs are sent directly as they are processed in a Flow. This mode is useful when the Flow needs to send an HTTP request.  When async mode is off, outputs are sent only after the entire Flow has finished processing the input. The [Inject and Notify](https://docs-classic.cognigy.com/ai/agents/deploy/endpoints/inject-and-notify.md) feature only works when async mode is enabled. |

## How to Set Up

### Configuration on the Cognigy Side

> [accordion] Create an AudioCodes Endpoint
>
> 1. In the left-side menu of the Cognigy Project, go to **Deploy > Endpoints**.
> 2. On the **Endpoints** page, click **+ New Endpoint**.
> 3. In the **New Endpoint** section, do the following:
>    1. Select the **AudioCodes** Endpoint type.
>    2. Add a unique name.
>    3. Select a relevant Flow from the list.
> 4. *(Optional)* Activate the **Async Mode** setting.

## Additional Information

> [accordion] Call Metadata
>
> AudioCodes identifies information about the caller and adds it to the [Input](https://docs-classic.cognigy.com/ai/agents/develop/ai-agent-memory/input.md) object as `input.data.numberMetaData`.
>
> | Parameter | Type | Description | Example |
> | - | - | - | - |
> | `number` | string | The complete phone number of the caller, including the country code. | `+4921154591991` |
> | `country` | string | The 2-letter ISO country code. | `DE` |
> | `countryCallingCode` | string | The country calling code (without the `+` sign). | `49` |
> | `nationalNumber` | string | The national number, excluding the country code and leading zero. | `21154591991` |
> | `valid` | boolean | Indicates whether the phone number is valid. | `true` |
> | `type` | string | The type of phone number. Possible values: `PREMIUM_RATE`, `TOLL_FREE`, `SHARED_COST`, `VOIP`, `PERSONAL_NUMBER`, `PAGER`, `UAN`, `VOICEMAIL`, `FIXED_LINE_OR_MOBILE`, `FIXED_LINE`, `MOBILE`. | `FIXED_LINE` |
> | `uri` | string | The URI representation of the phone number. | `tel:+4921154591991` |

## More Information

* [All Endpoints](https://docs-classic.cognigy.com/ai/agents/deploy/endpoint-reference/overview)
* [Migration to Voice Gateway](https://docs-classic.cognigy.com/voice-gateway/migrate-from-ac-to-vg.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.