CallCenter defines Salesforce's integration with a third-party computer-telephony integration (CTI) system, a partner telephony system, or a partner Contact Center as a Service (CCaaS) system. It stores adapter configuration and custom setup items. It can also associate messaging channels with a contact center and hold voicemail and callback routing configuration.
The metadata definition is not the same as a user's operational setup for the integration. Component identity, setup-page labels, and user assignment serve different purposes. Channel associations and routing details are nested entries within the CallCenter component, not separate deployable components.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The metadata component's identity, inherited from Metadata. This is distinct from its display name and setup-page field labels. |
adapterUrl |
An optional URL pointing to the adapter. This is a separate location from a custom setup item named reqAdapterUrl. |
displayName |
Required. The user-facing name of the call center. |
displayNameLabel, internalNameLabel
|
Required. The labels of the Display Name and Internal Name fields on the Call Center setup page. internalNameLabel is not the component's internal name. |
sections |
Custom setup sections, represented by nested CallCenterSection structures. Each section requires a name and label. |
items |
Custom setup items within a section, represented by nested CallCenterItem structures. Each item requires a name, label, and string value. |
version |
The call center's stored version. It is not the Metadata API transport version. |
contactCenterChannels |
An array of nested ContactCenterChannel entries. Entries represent messaging-channel associations, voicemail routing details, or callback routing details, depending on the configuration. |
channel |
Within a channel entry, the required unique ID of the associated MessagingChannel for Bring Your Own Channel for CCaaS. It is not a developer name. |
contactCenter |
Within a channel entry, the required unique ID of the associated CallCenter for Bring Your Own Channel for CCaaS. It is not a developer name. |
voiceMailHandler |
The unique ID of the Flow used to route voicemails when voicemail routing is configured. Configure it in Lightning Experience rather than editing this value directly. |
voiceMailFallbackQueue |
The unique ID of the fallback queue used if voicemail routing fails. Configure it in Lightning Experience. |
omniCallbackHandler |
The unique ID of the flow or queue used to route contact requests when callbacks are configured and the contact center uses Omni-Channel Unified Routing. Configure it in Lightning Experience. |
omniCallbackFallbackQueue |
The unique ID of the fallback queue used if contact request routing through an Omni-Channel flow fails, under the same callback and routing conditions. Configure it in Lightning Experience. |
Behavior and Constraints
The meaning of a contactCenterChannels entry depends on the integration and enabled routing features. For Bring Your Own Channel for CCaaS, channel and contactCenter identify the messaging channel and contact center. Voicemail fields apply when voicemail routing is configured. Callback fields apply when callbacks are configured and the contact center uses Omni-Channel Unified Routing.
Configure voicemail and callback routing in Lightning Experience. Do not directly change voiceMailHandler, voiceMailFallbackQueue, omniCallbackHandler, or omniCallbackFallbackQueue. Their presence in retrieved metadata does not make direct editing the supported configuration workflow.
Integration settings can appear as named items inside sections, rather than as dedicated top-level elements. Examples include reqAdapterUrl, reqOutsidePrefix, reqLongDistPrefix, and reqInternationalPrefix. These are item names, not top-level CallCenter fields.
A definition can contain both adapterUrl and an item named reqAdapterUrl. These are distinct storage locations; their coexistence does not establish an override or synchronization rule.
There are no additional Metadata API access requirements specific to CallCenter. This does not establish that an individual user can operate the configured integration. For a nonfunctional Open CTI-dependent component, call-center assignment and Open CTI enablement are relevant runtime checks.
Deployment and Retrieval
In a Metadata API deployment or retrieval archive, CallCenter components use the .callCenter suffix and reside in the callCenters directory. The inherited fullName identifies the component; displayName is its user-facing name, and internalNameLabel only labels a setup-page field.
ContactCenterChannel, CallCenterSection, and CallCenterItem are nested structures in the parent definition. Do not treat channel entries, sections, or items as independently deployable metadata components.
Cross-org planning must account for the destination org's records because channel associations and routing fields contain unique IDs. Do not interpret those values as portable component developer names or assume that a source-org ID identifies the intended destination record. The populated entries determine which messaging channels, flows, and queues are relevant.
For routing changes in the destination org, use Lightning Experience rather than manually rewriting the voicemail or callback routing fields. A retrieved definition can record those settings without making XML editing their supported configuration method.
See Call Center Definition Files for the definition-file structure.
Relationships
The outgoing references below occur inside contactCenterChannels. They describe possible connections; actual dependencies depend on the populated entries. Callback queue relationships are recognized through Group, while the voicemail fallback queue has recognized targets of both Group and Queue. The incoming CallCenterRoutingMap.callCenter reference is separate from the contactCenter reference inside a call center's own channel entries.
References
-
MessagingChannel:channel. -
CallCenter:contactCenter. -
Flow:omniCallbackHandler,voiceMailHandler. -
Group:omniCallbackFallbackQueue,omniCallbackHandler,voiceMailFallbackQueue. -
Queue:voiceMailFallbackQueue.
Referenced By
-
CallCenter:contactCenter. -
CallCenterRoutingMap:callCenter.
Reported Issues
- An Open CTI-dependent component may be nonfunctional for an individual user without the corresponding user setup, according to a 2019 report. The report associated Open CTI enablement and call-center assignment with clickable phone fields that could initiate calls. This is reported runtime behavior, not a guarantee about metadata deployment. See the Open CTI user-setup discussion.
Common Questions
Where are CallCenter metadata files stored?
In a Metadata API archive, they are stored in the callCenters directory with the .callCenter suffix. Nested channel entries, sections, and items remain part of the parent definition.
Are CallCenter channel and routing references developer names or IDs?
They are documented as unique IDs. For Bring Your Own Channel for CCaaS, channel identifies the messaging channel and contactCenter identifies the call center. Routing fields identify flows or queues. Account for the destination org's records when moving the definition across orgs.
Can I change voicemail or callback routing directly in CallCenter XML?
Configure those settings in Lightning Experience instead. Direct editing of voiceMailHandler, voiceMailFallbackQueue, omniCallbackHandler, and omniCallbackFallbackQueue is not the supported configuration workflow.
Does adapterUrl override reqAdapterUrl?
No override or synchronization rule is established. adapterUrl is a top-level element, while reqAdapterUrl can be the name of an item within sections. A definition can contain both.
Why does an Open CTI component not work for a user after deployment?
Metadata access does not establish the user's operational setup. Check call-center assignment and Open CTI enablement. A 2019 community report associated missing user setup with nonfunctional Open CTI-dependent components and associated enabled, assigned users with clickable phone fields.