SecondaryTelephonyProvider defines the Session Initiation Protocol (SIP) configuration for a secondary telephony provider in Agentforce Contact Center BYOC. It includes inbound authentication settings, an inbound IP allowlist, and an association with a telephony provider.
The metadata component name, secondary provider ID, and associated telephony provider are distinct: fullName names the component, id identifies the secondary provider, and telephonyProvider identifies its associated telephony provider. Do not assume these fields contain the same value.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
Required. The unique metadata component name, inherited from the Metadata base type. |
id |
The secondary telephony provider's ID. This is separate from the metadata component name. |
inboundAuthEnabled |
Whether inbound authentication is enabled. true enables it; false disables it. |
inboundIpAllowlist |
A string specifying the secondary provider's inbound IP allowlist. Its presence does not establish that inbound authentication is enabled. |
masterLabel |
Required. The label for the component. |
telephonyProvider |
The telephony provider associated with the secondary provider. It does not identify the secondary provider itself. |
Behavior and Constraints
Access to SecondaryTelephonyProvider requires the Agentforce Contact Center Admin (Salesforce Voice) permission set to be assigned to the user.
Review inboundAuthEnabled and inboundIpAllowlist together. The authentication flag explicitly controls whether inbound authentication is enabled. A populated allowlist alone is not evidence that authentication is enabled.
Deployment and Retrieval
Components use the .secondaryTelephonyProvider file suffix and are stored in the secondaryTelephonyProviders folder.
In a package.xml manifest, use SecondaryTelephonyProvider as the metadata type name. The type supports the wildcard * in the members element for retrieval. See Deploying and Retrieving Metadata with the Zip File for manifest-based operations.
When interpreting deployment or retrieval differences, keep the identity fields separate. fullName is the required, unique component name, while id is the secondary provider's ID. Neither id nor telephonyProvider should be assumed to match fullName. The required masterLabel supplies the label rather than the component's metadata identity.
Common Questions
What permission is required to access SecondaryTelephonyProvider?
The user must have the Agentforce Contact Center Admin (Salesforce Voice) permission set assigned.
Can I retrieve all SecondaryTelephonyProvider components with a wildcard?
Yes. Use SecondaryTelephonyProvider as the type name and * as the member in package.xml.
Does an inbound IP allowlist mean authentication is enabled?
No. Check inboundAuthEnabled: true enables inbound authentication, and false disables it. The presence of inboundIpAllowlist does not establish that authentication is enabled.
Is the provider ID the same as the metadata component name?
Do not assume so. fullName is the metadata component name, id specifies the secondary provider's ID, and telephonyProvider specifies the associated telephony provider.