Provider-specific settings
The following table lists parameters that are concerned with provider settings and configurable only by the VoiceAI Connect Administrator:
Parameter |
Type |
Description |
---|---|---|
Boolean |
Enables only connections to the bot server that use a self-signed certificate; otherwise, connection attempts are rejected.
|
|
Boolean |
Enables connection to the speech-to-text provider even if it uses a self-signed certificate.
Note: Setting this parameter to |
|
Boolean |
Enables connection to the text-to-speech provider even if it uses a self-signed certificate.
Note: Setting this parameter to |
|
String |
Defines the URL of the OAuth 2.0 authorization server that provides the access token for OAuth authorization. Configuring the parameter implies that OAuth 2.0 authentication is enabled. This is Note:
|
|
String |
Defines the OAuth scope (permissions) that is sent in the request to the OAuth 2.0 authorization server that provides the access token for OAuth authorization when the AC Bot API is used. For more information, see . The parameter can be configured with multiple scopes. Note:
|
|
Object |
Contains the credentials to access the bot framework, speech-to-text, or text-to-speech. The parameter has the following optional fields:
Note:
|
|
Boolean |
By default, the bot secret is passed to Direct Line, which generates access token in the backend. If This is mostly needed for bots that use Direct Line App Service Extensions.
Note: This parameter is only applicable to Microsoft Azure. This parameter is applicable only to VoiceAI Connect Enterprise Version 3.14 and later.
|
|
Boolean |
Uses Streaming extension for Direct Line, which posts messages to the bot via WebSocket.
Note: This parameter is only applicable to Microsoft Azure. This parameter is applicable only to VoiceAI Connect Enterprise Version 3.14 and later.
|
|
String |
Defines an optional base URL for retrieving the token. If it is not set, the default URL is: https://directline.botframework.com/v3/directline. The full URL used for getting the token is Token refresh does not use this configured URL. Refresh URL depends on This parameter is applicable only to VoiceAI Connect Enterprise Version 3.10 and later.
|
|
Object |
The parameter is used as an alternative to the The following is an example for the { "name": "my_azure", "type": "azure", "region": "westeurope", "credentialsAzureSecrets": { "key": "https://keyvault-name.vault.azure.net/secrets/MY-SECRET/VERSION" } } You need to add the plain-text credential to Azure's Key Vault. Once added, you need to generate a URL (HTTPS) for the credential, and then use this URL ('Secret Identifier' field) as the value for the Note: Azure's Key Vault can be used to store secrets for any bot provider (e.g., Google or Yandex). You can mix { "name": "my_google", "type": "google", "projectId": "my-project", "credentialsAzureSecrets": { "privateKey": "https://keyvault- name.vault.azure.net/secrets/MY-SECRET/VERSION" }, "credentials": { "clientEmail": "service@my- project.iam.gserviceaccount.com" } } |
|
String |
Defines a unique name identifier of the specific provider. This name is used by the Note: This parameter is mandatory. |
|
String |
Defines the name of the bot framework provider.
Note:
|
|
String |
Defines the region where the bot framework is geographical located (e.g., "us-west-2"). The default value is Note:
For VoiceAI Connect Enterprise, region definition for Dialogflow ES is supported only from Version 2.4.006 and later. |
|
String |
Defines the Google region (Region ID) in which this agent is deployed. The default value is For VoiceAI Connect Enterprise, region definition for Dialogflow ES is supported only from Version 2.4.006 and later. Note: This string is obtained from the bot framework provider by the Customer and supplied to AudioCodes. This parameter was deprecated in Version 2.4.006. Please use the |
|
String |
Defines the specific Direct Line endpoint where traffic is routed. The default value is undefined. This parameter is only applicable for Azure bots and can be configured with one of the following Direct Line endpoints listed here. This parameter is applicable only to VoiceAI Connect Enterprise Version 2.6 and later.
|
|
|
Defines the Google Dialogflow agent version and environment of the bot. For more information, refer to the Google documentation for Dialogflow ES and Dialogflow CX bots. The default is Note: The parameter is applicable only to Google Dialogflow (CX and ES). This string is obtained from the bot framework provider by the Customer and must be provided to AudioCodes. For VoiceAI Connect Enterprise, this parameter is supported only from Version 2.4.006 and later. |
|
String |
Defines the Project ID of the bot. This is needed for connecting to Google Dialogflow. Note:
|
|
Number |
Defines the Google Dialogflow CX agent to integrate with. Each Dialogflow CX project can have multiple agents. Note:
|
|
String |
Defines the Folder ID for Yandex and AmiVoice bots. Note:
|
|
String |
Defines the IP address and port of the speech-to-text service provider. This overrides the speech-to-text hostname when, for example, an HTTP proxy is used between the VoiceAI Connector and speech-to-text provider. |
|
String |
Defines the IP address and port of the text-to-speech service provider. This overrides the text-to-speech hostname when, for example, an HTTP proxy is used between the VoiceAI Connector and text-to-speech provider. |
|
String |
Defines the URL of the text-to-speech service provider. This overrides the text-to-speech URL when, for example, an HTTP proxy is used between the VoiceAI Connector and text-to-speech provider. The following example uses AudioCodes API ( { "name": "my_ac_api", "type": "ac-api", "ttsUrl": "https://localhost:8043/cognitiveservices/v1", "credentials": { "key": "AQVNy2mt2NAD8WZm91IEwtGa1g8o3fepJIAZQuDz" } } Note: This parameter has precedence over the |
|
String |
Defines the URL of the speech-to-text service provider. This parameter can be used to override the default URL used by the speech-to-text service. The following example uses AudioCodes API (ac-api) for integration with a third-party, speech-to-text provider: { "name": "my_ac_api", "type": "ac-api", "sttUrl": "wss://localhost:8043/mySttServiceUrl", "credentials": { "key": "AQVNy2mt2NAD8WZm91IEwtGa1g8o3fepJIAZQuDz" } } Note:
|
|
Integer |
Defines the maximum time (in milliseconds) that the VoiceAI Connector waits for a response from the text-to-speech provider. The valid value is 10 to 600,000. The default is 5,000. If no response is received when this timeout expires, the VoiceAI Connector tries one more time to communicate with the text-to-speech. If still no response, the VoiceAI Connector disconnects the call with the SBC. If the call is disconnected, the SIP BYE message sent by the SBC to the user indicates this failure, by prefixing the value in the Reason header with "TTS Err:". Note: In this scenario (disconnect), you can also configure the VoiceAI Connector to perform specific activities, for example, playing a prompt to the user or transferring the call (see the The default changed from 10,000 to 5,000 in Version 3.12.7. |
|
Integer |
Defines the maximum time (in milliseconds) that the VoiceAI Connector waits for a response from the speech-to-text provider. The valid value is 10 to 600,000. The default is 10,000. If no response is received when this timeout expires, VoiceAI Connect disconnects the call with the SBC. If the call is disconnected, the SIP BYE message sent by the SBC to the user indicates this failure by prefixing the value in the Reason header with "STT Err:". Note:
|
|
Object |
Overrides parameters that are used when activating the speech-to-text request. The value is a JSON object comprising key-value pairs denoting the parameters and their desired value. Google example: {"sampleRateHertz": 16384 } Azure example: The following example uses AudioCodes API (sttOverrideConfig) for integration with Azure speech-to-text provider: "sttOverrideConfig": { "setServiceProperty": { "postprocessing": { "value": "<STT Model ID>", "channel": "UriQueryParameter" } } } Notes:
|
|
Object |
Overrides parameters that are used when activating the text-to-speech request. The value is a JSON object comprising key-value pairs denoting the parameters and their desired value. Notes:
|
|
Object |
Overrides streaming-configuration parameters that are used when activating the speech-to-text request. The value is a JSON object comprising key-value pairs denoting the parameters and their desired value. For example: {"singleUtterance": false } Note:
|
|
Integer |
Defines the number of times the VoiceAI Connector attempts to send a message to an Azure bot before failing due to a timeout. The valid range is 0 to 5. The default is 0. Note: The parameter is applicable only to Azure. |
|
Integer |
Defines the maximum size of the Azure bot's ordered work queue. The valid value is 0 to 10. The default is 2. Note: The parameter is applicable only to Azure. |
|
Integer |
Defines the timeout for Azure bot actions. The valid value is 10 to 10,000 milliseconds. The default is 300. Note: The parameter is applicable only to Azure. |
|
Number |
Defines the timeout (in milliseconds) that is triggered when sending DTMF digits, entered by the user, to the bot. The VoiceAI Connector sends each collected digit consecutively (in sequence) to the bot using the For example, assume that the user enters digits "158#" and the timeout is configured to 600. The VoiceAI Connector first sends a The valid value range is 0 (i.e., disabled) to 10,000. The default is 800 (i.e., feature is enabled by default). Note:
|
|
String |
(Optional) Defines the text that appears in the deviceDescription field for this provider's alarms (alarms for which the alarm source was this provider). If this parameter is not configured, deviceDescription is taken from the alarms generalConfig parameters |
|
String |
(Optional) Defines the name of the HTTP header for the unique message ID value in each sent HTTP request for AC Bot API. This may be useful, for example, for tracing API requests. This parameter is applicable only to VoiceAI Connect Enterprise Version 3.12 and later. |