Prerequisites
Before you add phone configurations, make sure you have:- Installed and configured the watsonx Orchestrate ADK.
- Created an agent in watsonx Orchestrate.
- Access credentials for phone service providers.
- Agent voice configuration set up for phone integration.
Creating phone configs
You can create phone configs directly using the ADK CLI or by importing a phone configuration file.- Importing from a file
- Using CLI
Create a phone config using a YAML, JSON, or Python file:
BASH
Note:
The import command creates a new phone config or updates an existing one based on the name. If a phone config with the same name exists, the command updates it using the new configuration.
Listing phone configs
Listing supported phone configuration types
To list all currently supported phone configuration types, run the following command:BASH
Listing phone configs
To list all phone configs, run the following command:BASH
Getting phone config details
To retrieve details of a specific phone config, run the following command:BASH
Note:
Sensitive credential fields such as API keys, secrets, and client secrets appear as null or blank values in the output. This protects your credentials from accidental exposure.
Exporting phone configs
To export a phone config to a YAML file, run the following command:BASH
- Back up your phone config definitions
- Migrate phone configs between environments
- Track changes through version control
Note:
Sensitive credential fields such as API keys, secrets, and client secrets appear as null or blank values in the exported file. This protects your credentials from accidental exposure. You need to manually add these values when importing the phone config into a new environment.
Deleting phone configs
To delete a phone config, run the following command:BASH
Phone Configuration Types
Genesys Audio Connector
Connect your agent to Genesys Cloud using the Audio Connector integration.Prerequisites
- Genesys Cloud account
- Genesys Audio Connector integration created in Genesys Cloud
- (Optional) User-generated credentials if you want to provide your own:
- API Key (any string you choose)
- Client Secret (any string you choose, must be base-64 encoded)
Important: Both API Key and Client Secret are user-generated values (not obtained from Genesys Cloud). If you don’t provide them, they will be automatically generated for you and displayed in the command output.If you choose to create your own credentials, you create these values yourself. The same values must be configured in both:
- Your ADK phone configuration
- Your Genesys Audio Connector integration settings (go to the Credentials tab and add these values)
Configuration file formats
Define Genesys phone configs using YAML, JSON, or Python formats. Credentials are optional and will be auto-generated if not provided:Configuration fields
Creating the phone config
Using import command:BASH
BASH
BASH
Important: Auto-generated credentials are only displayed once during creation. Save them immediately to configure in Genesys Cloud.
Managing agent attachments
Genesys Audio Connector uses agent attachments to connect your phone config to specific agents. When you attach an agent, you receive webhook configuration details that you’ll configure in Genesys Cloud.Attaching an agent
After creating the phone config, attach an agent to start receiving calls:BASH
Note:
The agent must have voice configuration set up for phone integration to work properly.
Detaching an agent
To detach an agent/environment from a phone config:BASH
Listing attachments
To list all agent/environment attachments for a phone config:BASH
Configuring Genesys Cloud
Use the webhook configuration values from the attach command in your Genesys Audio Connector settings:- Log into your Genesys Cloud admin portal
- Navigate to Admin → Integrations
- Find your Audio Connector integration
- Go to the Configuration tab:
- Enter the Audio Connect URI in the “Base Connection URI” field
- Go to the Credentials tab:
- Add the
api_keyandclient_secretvalues (either auto-generated from the creation output or your custom values)
- Add the
- In Architect, configure your Inbound Call Flow:
- Add an “Audio Connector” action
- Enter the Connector ID in the connector ID field
Note:
The webhook configuration is displayed when you attach an agent. You can also retrieve it later using
orchestrate phone get --name "Customer Support Phone". However, credentials are only shown during initial creation for security reasons.SIP Trunk
Connect your agent to SIP providers (e.g. Twilio).Prerequisites
- SIP trunk provider account
- (Optional) SIP authentication credentials
- Phone numbers provisioned with your SIP provider
Configuration file formats
Define SIP phone configs using YAML, JSON, or Python formats:Configuration fields
Creating the phone config
You can create a SIP trunk phone config using either theimport command or the CLI create command.
Using import command:
BASH
BASH
BASH
BASH
Getting SIP connection details
After creating a SIP trunk phone config, retrieve the SIP URI that your provider needs:BASH
Note:
The SIP URI format is
sips:FQDN?x-tenant-id=TENANT_ID where:sipsindicates secure SIP (TLS encryption)- The FQDN is environment-specific (e.g.,
public.voip.dl.watson-orchestrate.ibm.com) - The
x-tenant-idparameter identifies your watsonx Orchestrate tenant
Managing phone numbers
SIP trunk configurations support phone number management, allowing you to associate specific phone numbers with your SIP config and optionally route them to specific agents.Adding a phone number
BASH
Listing phone numbers
BASH
Updating a phone number
BASH
Deleting a phone number
BASH

