Zu Hauptinhalt wechseln

Dieser Browser wird nicht mehr unterstützt.

Führen Sie ein Upgrade auf Microsoft Edge durch, um die neuesten Features, Sicherheitsupdates und den technischen Support zu nutzen.

Microsoft Edge herunterladen Weitere Informationen zu Internet Explorer und Microsoft Edge
microsoft-foundry.rest.security.o-auth2-auth

Agent Telephony

Transfer an active agent telephony call

POST /agents/{agent_name}/telephony/calls/{call_id}:transfer

Transfers an active inbound call to a configured target for the voice agent named in the path. Transferring a SIP call requires the VoiceAgents=V1Preview opt-in.

Headerparameter

Foundry-Features enum

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

VoiceAgents=V1Preview

Pfadparameter

agent_name string Erforderlich

The name of the voice agent that owns the active call.

call_id string Erforderlich

The service-generated call identifier.

Abfrageparameter

api-version string Erforderlich

The API version to use for this operation.

Anforderungstext

Content-Type: application/json
target string Erforderlich

The unique name of a telephony transfer target.

Antworten

The request has succeeded.

Text

Content-Type: application/json
id string Erforderlich

A service-generated telephony call identifier.

provider string | enum Erforderlich

A telephony provider supported by an agent binding. Known values are stable; additional values may be added over time.

Eines der folgenden Elemente:
string
enum
teams_phone_extensibilitytwiliosip
provider_call_id string

The provider-assigned call identifier, when available.

caller_number string

The caller's phone number, when supplied by the provider.

provider_number string

The Teams Phone extensibility or Twilio number that received the call.

status string | enum Erforderlich

The lifecycle status of an inbound telephony call.

Eines der folgenden Elemente:
string
enum
in_progresssuccessfailed
phase string | enum Erforderlich

The provider-neutral phase reached by an inbound telephony call.

Eines der folgenden Elemente:
string
enum
receivedvalidatedadmittedansweringansweredmedia_connectedagent_session_readybridgingmanagingcompletedrejectedfailed
started_at integer Erforderlich
answered_at integer
media_connected_at integer
agent_session_ready_at integer
ended_at integer
duration_ms integer

A duration encoded as an integer number of milliseconds.

end_reason string | enum

Known service-generated reasons that one telephony call ended, rather than reasons for an overall outbound call job. Additional string codes may be returned.

Eines der folgenden Elemente:
string
enum
invalid_webhook_payloadwebhook_validation_failedbinding_not_foundbinding_suspendedadmission_rejectedadmission_check_failedroute_agent_mismatchinvalid_binding_configurationcredential_resolution_failedprovider_resource_mismatchendpoint_resolution_failedingress_setup_failedlive_call_conflictlive_call_persistence_failedanswer_failedprovider_disconnectedprovider_busyprovider_no_answerprovider_cancelledprovider_failedprovider_stream_errorprovider_stream_stoppedagent_session_connect_failedmedia_stream_endedbridge_cancelledbridge_failedmanaged_hangupmanaged_transfermanage_hangup_failedmanage_transfer_failed
provider_status_code integer

The provider status code associated with the terminal result.

provider_sub_code integer

The provider subcode associated with the terminal result.

provider_message string

The provider message associated with the terminal result.

timing TelephonyCallTiming Erforderlich

Detailed provider-neutral timing for an inbound telephony call.

received_at integer
validated_at integer
admitted_at integer
answer_requested_at integer
answered_at integer
media_connected_at integer
agent_session_ready_at integer
first_caller_audio_at integer
first_agent_audio_at integer
ended_at integer
duration_basis string | enum

The timestamp used as the basis for call duration.

Eines der folgenden Elemente:
string
enum
answeredreceived
timestamp_source string | enum Erforderlich

The source of a telephony lifecycle timestamp.

Eines der folgenden Elemente:
string
enum
providergatewayderived
trace TelephonyCallTrace

Correlation from a durable telephony call record to its customer-facing Foundry trace.

status string | enum Erforderlich

The availability status of a customer-facing telephony call trace.

Eines der folgenden Elemente:
string
enum
pendingemittingavailablenot_recordednot_applicablefailed
trace_id string

The W3C trace identifier, when a trace was recorded.

root_span_id string

The root span identifier, when a trace was recorded.

conversation_id string

The voice-agent conversation identifier, when a conversation was created.

mode string | enum

The mode used to expose a telephony call as a customer-facing Foundry trace.

Eines der folgenden Elemente:
string
enum
livepost_call
events TelephonyCallLifecycleEvent[] Erforderlich

The lifecycle timeline.

events_truncated boolean Erforderlich

Whether older lifecycle events were omitted from the timeline.

Client error

Text

Content-Type: application/json
error OpenAI.Error Erforderlich
code string | null Erforderlich
message string Erforderlich
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
Eines der folgenden Elemente:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string Erforderlich

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

Server error

Text

Content-Type: application/json
error OpenAI.Error Erforderlich
code string | null Erforderlich
message string Erforderlich
param string | null
type string
misalignment OpenAI.MisalignmentErrorDetailsResource
review_target string | null
error_type string | enum
Eines der folgenden Elemente:
string
enum
potentially_unintended_data_transferpotentially_unintended_data_accesspotentially_unintended_destructive_activityother
detailed_explanation string

The public explanation for this block.

steer OpenAI._MisalignmentSteer
message string Erforderlich

The public continuation instruction.

details OpenAI.Error[]

Additional errors that contributed to this failure.

additionalInfo object

Additional structured information about the failure.

debugInfo object

Diagnostic information supplied by the service for troubleshooting.

Anfordern

POST /agents/{agent_name}/telephony/calls/{call_id}:transfer HTTP/1.1

Antwort

Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
de-de
Ihre Datenschutzoptionen
  • KI-Haftungsausschluss
  • Frühere Versionen
  • Blog
  • Mitwirken
  • Datenschutz
  • Consumer Health Privacy
  • Nutzungsbedingungen
  • Impressum
  • Marken
  • © Microsoft 2026