Put the caller and your AI agent in a Multiparty Call (MPC). Your AI agent joins as a participant with the ai-agent role. When you transfer, the human agent joins as another participant. Use it for two cases:
The transfer doesn’t wait for your AI agent’s WebSocket to close. The caller’s call runs <MultiPartyCall>, not <Stream>, so nothing holds the transfer back.
Warm transfer. Your AI agent stays in the MPC and briefs the human agent while the caller is on hold, then leaves.
The caller joins the MPC, usually through their answer XML.
Your server adds your AI agent to the MPC through the Add a Participant API. Your AI agent connects over WebSocket, the same way it does with <Stream>: it receives start and media events and sends audio back with playAudio (Stream Event Protocol).
Either can join first. You can add your AI agent first, then add the caller with Add a Participant and the customer role, so your AI agent is ready when they answer.
To transfer, your server adds the human agent, at a phone number or a SIP endpoint.
Your server removes your AI agent with the Kick a Participant API. The caller and the human agent stay connected.
When the human agent hangs up, your server ends the MPC with the End a Multiparty Call API.
These steps start with the caller. Return this answer XML for the call. Give each call its own MPC name, because Add a Participant joins any ongoing MPC with the same name.
stayAlone="true" keeps the caller in the MPC while they’re its only participant, before your AI agent joins.
endMpcOnExit="true" ends the MPC when the caller hangs up.
participant-state-changes sends a ParticipantJoin event to statusCallbackUrl each time a participant joins. Save the MemberID from each one. You need the caller’s to hold them and your AI agent’s to remove it. The event parameters are listed in Status Callback Parameters.
1. Add your AI agent. When the caller’s ParticipantJoin arrives, add your AI agent with the ai-agent role. to is required, but Plivo doesn’t dial it for an ai-agent participant: set it to any Plivo number on your account. Set ai_agent_stream_content_type to the audio format your AI agent already uses on <Stream>. The default is audio/x-l16;rate=8000.
4. End the MPC when the human agent hangs up. When the human agent’s ParticipantExit arrives, end the MPC with End a Multiparty Call. Without this, the caller stays alone in the MPC after the human agent hangs up, because stayAlone is true.If the human agent doesn’t answer, no ParticipantJoin arrives for them. Your AI agent is still in the call, so it can tell the caller or try another human agent. To get the result of each dial, add add-participant-api-events to statusCallbackEvents.
Hold the caller. Don’t mute them. A muted participant can’t be heard but still hears everyone in the MPC, so a muted caller hears your AI agent brief the human agent. A held caller hears none of the briefing, and nobody hears them.
To play your own hold music, set customerHoldMusicUrl on <MultiPartyCall>. The URL must return XML with Play, Speak, or Wait elements (Custom Hold Music). A URL that returns an audio file directly leaves the held caller in silence.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Plivo","colors":{"primary":"#323dfe","light":"#5b6bff","dark":"#2830cc"},"logo":{"light":"https://mintcdn.com/plivo/nlRVupwxTfmW2fPy/logo/newlogodark.svg?fit=max\u0026auto=format\u0026n=nlRVupwxTfmW2fPy\u0026q=85\u0026s=60816eb957f6b8962ef15eddde76449a","dark":"https://mintcdn.com/plivo/nlRVupwxTfmW2fPy/logo/newlogolight.svg?fit=max\u0026auto=format\u0026n=nlRVupwxTfmW2fPy\u0026q=85\u0026s=27bd82e8f16bad829a0536c7a8fa9374","href":"https://www.plivo.com/"},"favicon":"https://mintcdn.com/plivo/dmvKeqcj6my-kDvH/favicon.svg?fit=max\u0026auto=format\u0026n=dmvKeqcj6my-kDvH\u0026q=85\u0026s=1416a3d8d3d1f8f94fb88979b6b327e9","background":{"decoration":"grid"},"navbar":{"links":[{"href":"https://support.plivo.com/hc/en-us","label":"Support"},{"href":"https://cx.plivo.com/home","label":"Console"},{"href":"https://cx.plivo.com/signup","label":"Sign Up"}]},"footer":{"socials":{"x":"https://twitter.com/plivo","github":"https://github.com/plivo","linkedin":"https://www.linkedin.com/company/plivo-inc","facebook":"https://fb.com/plivo"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"integrations":{"ga4":{"measurementId":"G-YLW0ZWN2T7"},"posthog":{"apiKey":"phc_5ISIYiMfoaGh9TVGt9ydU6g91tlKvvj1qrDIcC4vKGP","apiHost":"https://f.plivo.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"plivo","hasAudioNarration":false,"actualSubdomain":"plivo","customDomains":["plivo.com"],"gitSource":{"type":"github","owner":"plivo-dev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aed6e02066baa587f3259ee","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Programmable APIs","count":284},{"language":"default","tag":"Voice API","count":91},{"language":"default","tag":"Concepts","count":64},{"language":"default","tag":"Messaging API","count":61},{"language":"default","tag":"Integrations","count":44},{"language":"default","tag":"All integrations","count":43},{"language":"default","tag":"API Reference","count":42},{"language":"default","tag":"SIP Trunking","count":38},{"language":"default","tag":"Audio Streaming","count":30},{"language":"default","tag":"Voice Tutorials","count":28}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Sora';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--plivo-blue: #323dfe;--plivo-blue-text: var(--plivo-blue);--plivo-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;--plivo-font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;--plivo-ink: rgba(0, 0, 0, 0.55)}.dark{--plivo-ink: rgba(255, 255, 255, 0.5);--plivo-blue-text: #6b7cff}.prose *,.card,pre,code,table,th,td,img,input,button,blockquote,[class*=\"rounded\"]{border-radius:2px!important}[class*=\"rounded-full\"],.rounded-full,[style*=\"border-radius: 50%\"],[style*=\"border-radius:50%\"]{border-radius:9999px!important}code,pre,kbd{font-family:var(--plivo-font-mono)!important}h1,h2,h3,h4,h5,h6{font-family:var(--plivo-font-display)!important;letter-spacing:-0.02em!important}main h1,main h2,main h3,main h4{font-weight:600!important}.nav-tabs-item,a[class*=\"nav-tabs\"],.card h2,.card h3,.card [class*=\"title\"]{font-family:var(--plivo-font-display)!important}div:has(>.nav-tabs){height:2.25rem!important}.nav-tabs{gap:1.25rem!important}.nav-tabs-item{font-size:13px!important}.nav-tabs-item>div[class*=\"bg-primary\"]{background-color:var(--plivo-ink)!important}main h1::after{content:'';display:block;width:2.75rem;height:2px;margin-top:0.75rem;background:var(--plivo-blue)}.prose>p:first-of-type+h2,nav[aria-label=\"Breadcrumb\"]{font-family:var(--plivo-font-mono)!important}.card{position:relative;transition:border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease!important}.card::before,.card::after{content:'';position:absolute;width:11px;height:11px;pointer-events:none;transition:border-color 160ms ease;z-index:1}.card::before{top:6px;left:6px;border-left:1px solid var(--plivo-ink);border-top:1px solid var(--plivo-ink)}.card::after{right:6px;bottom:6px;border-right:1px solid var(--plivo-ink);border-bottom:1px solid var(--plivo-ink)}.card:hover{transform:translateY(1px)}.card:hover::before,.card:hover::after{border-color:var(--plivo-blue)}.card .card-icon,.card svg[class*=\"text-primary\"]{color:var(--plivo-blue)!important}.card [data-component-part=\"card-content\"]{font-size:0.8rem!important;line-height:1.5!important;margin-top:0.55rem!important}.prose pre,pre{border:none!important}.mdx-content a[href]:not([class*=\"not-prose\"]):not([class*=\"card\"]){color:inherit!important;text-decoration-line:underline!important;text-decoration-color:currentColor!important;text-decoration-thickness:1px!important;text-underline-offset:2px!important;border-bottom:0!important}.mdx-content a[href]:not([class*=\"not-prose\"]):not([class*=\"card\"]):hover{color:inherit!important;text-decoration-color:currentColor!important;border-bottom:0!important}a.button,a[role=\"button\"],button.button,a[class*=\"bg-primary-\"]:not([class*=\"/\"]):not([class*=\"text-\"]){font-family:var(--plivo-font-mono)!important;letter-spacing:0.06em}#sidebar a[class*=\"bg-primary\"],[class*=\"sidebar\"] a[class*=\"bg-primary\"]{background-color:color-mix(in srgb, var(--plivo-ink) 8%, transparent)!important;color:var(--plivo-blue-text)!important}#sidebar ul li a,#sidebar ul li button,#sidebar a.nav-anchor{padding-top:3px!important;padding-bottom:3px!important;font-size:13px!important;line-height:20px!important}#sidebar a.nav-anchor>div:first-child{padding:2px!important;background:transparent!important;box-shadow:none!important;border:0!important}#sidebar a.nav-anchor>div:first-child,#sidebar a.nav-anchor>div:first-child svg{color:inherit!important}#sidebar a.nav-anchor>div:first-child svg,#sidebar a.nav-anchor:hover>div:first-child svg{background-color:currentColor!important}#sidebar .sidebar-group-header{margin-bottom:0.4rem!important}#sidebar div:has(>.sidebar-group-header){margin-top:1rem!important}#table-of-contents a{padding-top:2px!important;padding-bottom:2px!important;font-size:13px!important;line-height:20px!important}#table-of-contents a[aria-current=\"location\"]{color:rgba(15, 16, 20, 0.95)!important;font-weight:700!important;text-shadow:none!important}.dark #table-of-contents a[aria-current=\"location\"]{color:rgba(255, 255, 255, 0.92)!important}.card:focus-visible,#sidebar a:focus-visible,#sidebar button:focus-visible,#table-of-contents a:focus-visible,.nav-tabs-item:focus-visible,a.button:focus-visible,a[role=\"button\"]:focus-visible,.mdx-content a[href]:focus-visible{outline:2px solid var(--plivo-blue-text)!important;outline-offset:2px!important;border-radius:2px}.dcon-frame::before{content:'';position:absolute;inset:-10px;pointer-events:none;opacity:0.55;background-repeat:no-repeat;background-image:linear-gradient(var(--plivo-ink), var(--plivo-ink)),\n linear-gradient(var(--plivo-ink), var(--plivo-ink)),\n linear-gradient(var(--plivo-ink), var(--plivo-ink)),\n linear-gradient(var(--plivo-ink), var(--plivo-ink)),\n linear-gradient(var(--plivo-ink), var(--plivo-ink)),\n linear-gradient(var(--plivo-ink), var(--plivo-ink)),\n linear-gradient(var(--plivo-ink), var(--plivo-ink)),\n linear-gradient(var(--plivo-ink), var(--plivo-ink));background-size:12px 1px, 1px 12px, 12px 1px, 1px 12px,\n 12px 1px, 1px 12px, 12px 1px, 1px 12px;background-position:left top, left top, right top, right top,\n left bottom, left bottom, right bottom, right bottom}.dcon{--dcon-ph: 64%;position:relative;overflow:hidden;border:1px solid rgba(0, 0, 0, 0.14);border-radius:2px;background:#fff;box-shadow:0 1px 0 rgba(0, 0, 0, 0.02), 0 30px 60px -30px rgba(0, 0, 0, 0.28);font-family:var(--plivo-font-mono)}.dark .dcon{border-color:rgba(255, 255, 255, 0.16);background:#0d0f16;box-shadow:0 1px 0 rgba(0, 0, 0, 0.2), 0 30px 60px -30px rgba(0, 0, 0, 0.6)}.dcon__bar{display:flex;align-items:center;gap:8px;height:30px;padding:0 10px;border-bottom:1px solid rgba(0, 0, 0, 0.1);font-size:10px;letter-spacing:0.08em;color:rgba(0, 0, 0, 0.55)}.dark .dcon__bar{border-color:rgba(255, 255, 255, 0.12);color:rgba(255, 255, 255, 0.6)}.dcon__bar-name{flex:1}.dcon__bar-tag{color:var(--plivo-blue-text)}.dcon__led{position:relative;flex:none;width:6px;height:6px;border-radius:1px;background:var(--plivo-blue);box-shadow:0 0 6px rgba(50, 61, 254, 0.5)}.dcon__led::after{content:'';position:absolute;inset:-1px;border:1px solid var(--plivo-blue);border-radius:1px;animation:dcon-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite}.dcon__scope{position:relative;height:120px;overflow:hidden;border-bottom:1px solid rgba(0, 0, 0, 0.1)}.dark .dcon__scope{border-color:rgba(255, 255, 255, 0.12)}.dcon__scope::before{content:'';position:absolute;left:0;right:0;top:57px;height:1px;background:rgba(0, 0, 0, 0.1)}.dark .dcon__scope::before{background:rgba(255, 255, 255, 0.1)}.dcon__scope::after{content:'';position:absolute;left:0;right:0;bottom:0;height:14px;border-top:1px solid rgba(0, 0, 0, 0.08);background-image:repeating-linear-gradient(to right, rgba(0, 0, 0, 0.35) 0 1px, transparent 1px 28px),\n repeating-linear-gradient(to right, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 7px);background-size:100% 6px, 100% 3px;background-repeat:no-repeat;background-position:0 0, 0 0}.dark .dcon__scope::after{border-color:rgba(255, 255, 255, 0.08);background-image:repeating-linear-gradient(to right, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 28px),\n repeating-linear-gradient(to right, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 7px)}.dcon__trace{position:absolute;left:0;top:8px;bottom:14px;width:calc(100% + 240px);background-image:url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20240%2056'%3E%3Cg%20fill='%23111114'%20fill-opacity='0.32'%3E%3Crect%20x='0'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='3'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='6'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='9'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='12'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='15'%20y='12'%20width='2'%20height='32'/%3E%3Crect%20x='18'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='21'%20y='3'%20width='2'%20height='50'/%3E%3Crect%20x='24'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='27'%20y='23'%20width='2'%20height='10'/%3E%3Crect%20x='30'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='33'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='36'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='39'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='42'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='45'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='48'%20y='21'%20width='2'%20height='14'/%3E%3Crect%20x='51'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='54'%20y='5'%20width='2'%20height='46'/%3E%3Crect%20x='57'%20y='6'%20width='2'%20height='44'/%3E%3Crect%20x='60'%20y='16'%20width='2'%20height='24'/%3E%3Crect%20x='63'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='66'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='69'%20y='10'%20width='2'%20height='36'/%3E%3Crect%20x='72'%20y='13'%20width='2'%20height='30'/%3E%3Crect%20x='75'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='78'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='81'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='84'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='87'%20y='15'%20width='2'%20height='26'/%3E%3Crect%20x='90'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='93'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='96'%20y='24'%20width='2'%20height='8'/%3E%3Crect%20x='99'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='102'%20y='7'%20width='2'%20height='42'/%3E%3Crect%20x='105'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='108'%20y='9'%20width='2'%20height='38'/%3E%3Crect%20x='111'%20y='19'%20width='2'%20height='18'/%3E%3Crect%20x='114'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='117'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='120'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='123'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='126'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='129'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='132'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='135'%20y='12'%20width='2'%20height='32'/%3E%3Crect%20x='138'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='141'%20y='3'%20width='2'%20height='50'/%3E%3Crect%20x='144'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='147'%20y='23'%20width='2'%20height='10'/%3E%3Crect%20x='150'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='153'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='156'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='159'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='162'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='165'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='168'%20y='21'%20width='2'%20height='14'/%3E%3Crect%20x='171'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='174'%20y='5'%20width='2'%20height='46'/%3E%3Crect%20x='177'%20y='6'%20width='2'%20height='44'/%3E%3Crect%20x='180'%20y='16'%20width='2'%20height='24'/%3E%3Crect%20x='183'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='186'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='189'%20y='10'%20width='2'%20height='36'/%3E%3Crect%20x='192'%20y='13'%20width='2'%20height='30'/%3E%3Crect%20x='195'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='198'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='201'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='204'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='207'%20y='15'%20width='2'%20height='26'/%3E%3Crect%20x='210'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='213'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='216'%20y='24'%20width='2'%20height='8'/%3E%3Crect%20x='219'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='222'%20y='7'%20width='2'%20height='42'/%3E%3Crect%20x='225'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='228'%20y='9'%20width='2'%20height='38'/%3E%3Crect%20x='231'%20y='19'%20width='2'%20height='18'/%3E%3Crect%20x='234'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='237'%20y='25'%20width='2'%20height='6'/%3E%3C/g%3E%3C/svg%3E\");background-repeat:repeat-x;background-position:0 50%;background-size:240px 56px;animation:dcon-scroll 16s linear infinite}.dark .dcon__trace{background-image:url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20240%2056'%3E%3Cg%20fill='%23ffffff'%20fill-opacity='0.35'%3E%3Crect%20x='0'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='3'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='6'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='9'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='12'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='15'%20y='12'%20width='2'%20height='32'/%3E%3Crect%20x='18'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='21'%20y='3'%20width='2'%20height='50'/%3E%3Crect%20x='24'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='27'%20y='23'%20width='2'%20height='10'/%3E%3Crect%20x='30'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='33'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='36'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='39'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='42'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='45'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='48'%20y='21'%20width='2'%20height='14'/%3E%3Crect%20x='51'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='54'%20y='5'%20width='2'%20height='46'/%3E%3Crect%20x='57'%20y='6'%20width='2'%20height='44'/%3E%3Crect%20x='60'%20y='16'%20width='2'%20height='24'/%3E%3Crect%20x='63'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='66'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='69'%20y='10'%20width='2'%20height='36'/%3E%3Crect%20x='72'%20y='13'%20width='2'%20height='30'/%3E%3Crect%20x='75'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='78'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='81'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='84'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='87'%20y='15'%20width='2'%20height='26'/%3E%3Crect%20x='90'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='93'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='96'%20y='24'%20width='2'%20height='8'/%3E%3Crect%20x='99'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='102'%20y='7'%20width='2'%20height='42'/%3E%3Crect%20x='105'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='108'%20y='9'%20width='2'%20height='38'/%3E%3Crect%20x='111'%20y='19'%20width='2'%20height='18'/%3E%3Crect%20x='114'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='117'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='120'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='123'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='126'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='129'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='132'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='135'%20y='12'%20width='2'%20height='32'/%3E%3Crect%20x='138'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='141'%20y='3'%20width='2'%20height='50'/%3E%3Crect%20x='144'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='147'%20y='23'%20width='2'%20height='10'/%3E%3Crect%20x='150'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='153'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='156'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='159'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='162'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='165'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='168'%20y='21'%20width='2'%20height='14'/%3E%3Crect%20x='171'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='174'%20y='5'%20width='2'%20height='46'/%3E%3Crect%20x='177'%20y='6'%20width='2'%20height='44'/%3E%3Crect%20x='180'%20y='16'%20width='2'%20height='24'/%3E%3Crect%20x='183'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='186'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='189'%20y='10'%20width='2'%20height='36'/%3E%3Crect%20x='192'%20y='13'%20width='2'%20height='30'/%3E%3Crect%20x='195'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='198'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='201'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='204'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='207'%20y='15'%20width='2'%20height='26'/%3E%3Crect%20x='210'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='213'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='216'%20y='24'%20width='2'%20height='8'/%3E%3Crect%20x='219'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='222'%20y='7'%20width='2'%20height='42'/%3E%3Crect%20x='225'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='228'%20y='9'%20width='2'%20height='38'/%3E%3Crect%20x='231'%20y='19'%20width='2'%20height='18'/%3E%3Crect%20x='234'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='237'%20y='25'%20width='2'%20height='6'/%3E%3C/g%3E%3C/svg%3E\")}.dcon__litmask{position:absolute;left:0;top:8px;bottom:14px;width:var(--dcon-ph);overflow:hidden}.dcon__litmask .dcon__trace{top:0;bottom:0}.dcon__trace.dcon__trace--lit{background-image:url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20240%2056'%3E%3Cg%20fill='%23323dfe'%20fill-opacity='0.95'%3E%3Crect%20x='0'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='3'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='6'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='9'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='12'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='15'%20y='12'%20width='2'%20height='32'/%3E%3Crect%20x='18'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='21'%20y='3'%20width='2'%20height='50'/%3E%3Crect%20x='24'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='27'%20y='23'%20width='2'%20height='10'/%3E%3Crect%20x='30'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='33'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='36'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='39'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='42'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='45'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='48'%20y='21'%20width='2'%20height='14'/%3E%3Crect%20x='51'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='54'%20y='5'%20width='2'%20height='46'/%3E%3Crect%20x='57'%20y='6'%20width='2'%20height='44'/%3E%3Crect%20x='60'%20y='16'%20width='2'%20height='24'/%3E%3Crect%20x='63'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='66'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='69'%20y='10'%20width='2'%20height='36'/%3E%3Crect%20x='72'%20y='13'%20width='2'%20height='30'/%3E%3Crect%20x='75'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='78'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='81'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='84'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='87'%20y='15'%20width='2'%20height='26'/%3E%3Crect%20x='90'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='93'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='96'%20y='24'%20width='2'%20height='8'/%3E%3Crect%20x='99'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='102'%20y='7'%20width='2'%20height='42'/%3E%3Crect%20x='105'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='108'%20y='9'%20width='2'%20height='38'/%3E%3Crect%20x='111'%20y='19'%20width='2'%20height='18'/%3E%3Crect%20x='114'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='117'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='120'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='123'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='126'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='129'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='132'%20y='25'%20width='2'%20height='6'/%3E%3Crect%20x='135'%20y='12'%20width='2'%20height='32'/%3E%3Crect%20x='138'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='141'%20y='3'%20width='2'%20height='50'/%3E%3Crect%20x='144'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='147'%20y='23'%20width='2'%20height='10'/%3E%3Crect%20x='150'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='153'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='156'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='159'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='162'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='165'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='168'%20y='21'%20width='2'%20height='14'/%3E%3Crect%20x='171'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='174'%20y='5'%20width='2'%20height='46'/%3E%3Crect%20x='177'%20y='6'%20width='2'%20height='44'/%3E%3Crect%20x='180'%20y='16'%20width='2'%20height='24'/%3E%3Crect%20x='183'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='186'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='189'%20y='10'%20width='2'%20height='36'/%3E%3Crect%20x='192'%20y='13'%20width='2'%20height='30'/%3E%3Crect%20x='195'%20y='20'%20width='2'%20height='16'/%3E%3Crect%20x='198'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='201'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='204'%20y='22'%20width='2'%20height='12'/%3E%3Crect%20x='207'%20y='15'%20width='2'%20height='26'/%3E%3Crect%20x='210'%20y='11'%20width='2'%20height='34'/%3E%3Crect%20x='213'%20y='14'%20width='2'%20height='28'/%3E%3Crect%20x='216'%20y='24'%20width='2'%20height='8'/%3E%3Crect%20x='219'%20y='18'%20width='2'%20height='20'/%3E%3Crect%20x='222'%20y='7'%20width='2'%20height='42'/%3E%3Crect%20x='225'%20y='4'%20width='2'%20height='48'/%3E%3Crect%20x='228'%20y='9'%20width='2'%20height='38'/%3E%3Crect%20x='231'%20y='19'%20width='2'%20height='18'/%3E%3Crect%20x='234'%20y='26'%20width='2'%20height='4'/%3E%3Crect%20x='237'%20y='25'%20width='2'%20height='6'/%3E%3C/g%3E%3C/svg%3E\")}.dcon__playhead{position:absolute;left:var(--dcon-ph);top:4px;bottom:14px;width:1px;background:var(--plivo-blue)}.dcon__playhead::before{content:'';position:absolute;top:-2px;left:-2px;width:5px;height:5px;border-radius:1px;background:inherit}.dcon__foot{display:flex;justify-content:space-between;align-items:center;height:24px;padding:0 10px;border-top:1px solid rgba(0, 0, 0, 0.1);font-size:10px;letter-spacing:0.08em;color:rgba(0, 0, 0, 0.55);font-variant-numeric:tabular-nums}.dark .dcon__foot{border-color:rgba(255, 255, 255, 0.12);color:rgba(255, 255, 255, 0.6)}.dcon__foot-v{color:rgba(0, 0, 0, 0.6)}.dark .dcon__foot-v{color:rgba(255, 255, 255, 0.65)}@keyframes dcon-scroll{to{transform:translateX(-240px)}}@keyframes dcon-ping{0%{opacity:0.8;transform:scale(1)}75%,100%{opacity:0;transform:scale(2.2)}}@media (prefers-reduced-motion: reduce){.dcon__trace{animation:none}.dcon__led::after{display:none}}#content-container>span[class*=\"h-[64rem]\"]{display:none!important}*{scrollbar-width:thin;scrollbar-color:rgba(120, 124, 140, 0.35) transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:rgba(120, 124, 140, 0.32);border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:rgba(120, 124, 140, 0.55)}::-webkit-scrollbar-corner{background:transparent}.dark *{scrollbar-color:rgba(180, 186, 204, 0.24) transparent}.dark ::-webkit-scrollbar-thumb{background:rgba(180, 186, 204, 0.22)}.dark ::-webkit-scrollbar-thumb:hover{background:rgba(180, 186, 204, 0.4)}#integrately-widget{width:40rem!important;margin:2rem auto!important;max-width:100%!important}:root{--sipflow-surface: #f8f8fa;--sipflow-node: #ffffff;--sipflow-border: #e3e4e8;--sipflow-border-strong: #c8cace;--sipflow-text: #09090b;--sipflow-muted: #67676f;--sipflow-accent-text: var(--plivo-blue-text)}.dark{--sipflow-surface: #111317;--sipflow-node: #0a0c0f;--sipflow-border: #272b38;--sipflow-border-strong: #40444f;--sipflow-text: #f4f4f5;--sipflow-muted: #a0a0a7}.sipflow{margin:1.75rem 0;border:1px solid var(--sipflow-border);background:var(--sipflow-surface);overflow:hidden;container-type:inline-size}.sipflow__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0.5rem 0.75rem;border-bottom:1px solid var(--sipflow-border);font-family:var(--plivo-font-mono);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:0.12em;color:var(--sipflow-muted)}.sipflow__head-right{display:inline-flex;align-items:center;gap:0.4rem}.sipflow__led{width:5px;height:5px;flex:none;background:var(--plivo-blue);border-radius:1px!important}.sipflow__body{list-style:none!important;margin:0!important;padding:1.25rem 0.75rem!important;display:flex;flex-direction:column}.sipflow .sipflow__body>li{display:contents;margin:0!important;padding:0!important;list-style:none!important}.sipflow__body>li::marker{content:''}.sipflow__node{flex:none;width:100%;max-width:26rem;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:0.75rem;min-width:0;padding:0.85rem 1rem;background:var(--sipflow-node);border:1px solid var(--sipflow-border-strong)}.sipflow__node-body{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0.2rem;min-width:0}.sipflow__title{font-family:var(--plivo-font-mono);font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:0.08em;color:var(--sipflow-text)}.sipflow__sub{font-size:12px;line-height:1.5;color:var(--sipflow-muted)}.sipflow__chips{display:flex;flex-wrap:wrap;justify-content:center;gap:0.3rem;margin-top:0.4rem}.sipflow__chip{padding:0.15rem 0.4rem;font-family:var(--plivo-font-mono);font-size:10px;letter-spacing:0.06em;color:var(--sipflow-muted);border:1px solid var(--sipflow-border)}.sipflow__link{flex:none;position:relative;display:flex;flex-direction:column;align-items:center;padding:0.4rem 0}.sipflow__rail{flex:none;width:1px;height:2.25rem;background:var(--sipflow-border-strong)}.sipflow__arrow{flex:none;width:6px;height:6px;margin:-5px 0 0 0;border-right:1px solid var(--sipflow-border-strong);border-bottom:1px solid var(--sipflow-border-strong);border-radius:0!important;transform:rotate(45deg)}.sipflow__arrow--back{margin:0 0 -5px 0;transform:rotate(225deg)}.sipflow__edge-label{position:absolute;top:50%;left:50%;margin-left:0.6rem;transform:translateY(-50%);white-space:nowrap;font-family:var(--plivo-font-mono);font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:0.1em;color:var(--sipflow-accent-text)}.sipflow__link--bi .sipflow__rail{height:3rem}.sipflow__link--bi .sipflow__edge-label{transform:translateY(-150%)}.sipflow__edge-label--return{color:var(--sipflow-muted)}.sipflow__link--bi .sipflow__edge-label--return{transform:translateY(50%)}@container (min-width: 38rem){.sipflow:not(.sipflow--vertical) .sipflow__body{flex-direction:row;align-items:stretch;padding:1.5rem 1rem!important}.sipflow:not(.sipflow--vertical) .sipflow__node{flex:1 1 0;width:auto;max-width:none;margin:0}.sipflow:not(.sipflow--vertical) .sipflow__link{flex:0 0 5.5rem;flex-direction:row;align-items:center;padding:0 0.35rem}.sipflow:not(.sipflow--vertical) .sipflow__rail,.sipflow:not(.sipflow--vertical) .sipflow__link--bi .sipflow__rail{flex:1;width:auto;height:1px}.sipflow:not(.sipflow--vertical) .sipflow__arrow{margin:0 0 0 -5px;transform:rotate(-45deg)}.sipflow:not(.sipflow--vertical) .sipflow__arrow--back{margin:0 -5px 0 0;transform:rotate(135deg)}.sipflow:not(.sipflow--vertical) .sipflow__edge-label,.sipflow:not(.sipflow--vertical) .sipflow__link--bi .sipflow__edge-label{top:auto;bottom:calc(50% + 0.5rem);left:50%;margin-left:0;transform:translateX(-50%)}.sipflow:not(.sipflow--vertical) .sipflow__edge-label--return,.sipflow:not(.sipflow--vertical) .sipflow__link--bi .sipflow__edge-label--return{top:calc(50% + 0.5rem);bottom:auto;transform:translateX(-50%)}}.notice-box,.alert{margin:1.25rem 0;padding:0.75rem 1rem;border:1px solid color-mix(in srgb, var(--plivo-ink) 28%, transparent);border-left:2px solid var(--plivo-blue);background:color-mix(in srgb, var(--plivo-ink) 4%, transparent);font-size:0.875rem;line-height:1.6}.notice-box strong:first-child,.alert strong:first-child{color:var(--plivo-blue-text)}#sidebar a.nav-anchor{margin-bottom:1px!important}.mdx-content hr{margin-top:1.75rem!important;margin-bottom:1.75rem!important}.mdx-content h2{margin-top:2rem!important;margin-bottom:0.75rem!important}.mdx-content h3{margin-top:1.75rem!important;margin-bottom:0.625rem!important}.mdx-content .code-block{margin-top:1rem!important;margin-bottom:1.25rem!important}.mdx-content li{margin-top:0.25rem!important;margin-bottom:0.25rem!important}.mdx-content ol,.mdx-content ul{margin-bottom:1rem!important}"}],"page":{"pagePath":"voice/use-cases/transfer-to-human-agent/multiparty-call","slug":"/voice/use-cases/transfer-to-human-agent/multiparty-call","pageMetadata":{"title":"Transfer to a Human Agent with a Multiparty Call","sidebarTitle":"Option 3: Multiparty Call","description":"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.","href":"/voice/use-cases/transfer-to-human-agent/multiparty-call"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{title:`TL;DR`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What:`}),` Put the caller, your AI agent, and the human agent in one Multiparty Call (MPC), for a cold or warm transfer.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Watch out:`}),` In a warm transfer, `,_jsx(_components.a,{href:`#warm-transfer-with-a-multiparty-call`,children:`hold the caller, don’t mute them`}),`.`]}),`\n`]})}),`\n`,_jsxs(_components.p,{children:[`Put the caller and your AI agent in a `,_jsx(_components.a,{href:`/voice/xml/multiparty-call/`,children:`Multiparty Call`}),` (MPC). Your AI agent joins as a participant with the `,_jsx(_components.code,{children:`ai-agent`}),` role. When you transfer, the human agent joins as another participant. Use it for two cases:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The transfer doesn’t wait for your AI agent’s WebSocket to close.`}),` The caller’s call runs `,_jsx(_components.code,{children:`\u003cMultiPartyCall>`}),`, not `,_jsx(_components.code,{children:`\u003cStream>`}),`, so nothing holds the transfer back.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Warm transfer.`}),` Your AI agent stays in the MPC and briefs the human agent while the caller is on hold, then leaves.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-a-multiparty-call-transfer-works`,children:`How a Multiparty Call Transfer Works`}),`\n`,_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-light.svg?fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=5a31a7ba6828c056fd95b526b1635758`,alt:`Cold transfer in three steps. 1: the AI agent answers the caller. 2: the human agent joins the Multiparty Call. 3: the AI agent is removed and the caller talks to the human agent.`,\"data-og-width\":`720`,width:`720`,\"data-og-height\":`262`,height:`262`,\"data-path\":`images/transfer-to-human-agent/mpc-cold-transfer-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-light.svg?w=280\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=c90329362eb5258d4f708cfacc1865f8 280w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-light.svg?w=560\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=a334b777e4ffd244bca40e0e57a4afbf 560w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-light.svg?w=840\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=8c4b416e92db27198584d68e1c7c9467 840w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-light.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=6270d3b8e01a4e9aa876655fbd444ad5 1100w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-light.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=5b1168a9c10b0135686526aa9b02f4e5 1650w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-light.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=13157d7fc72b44067a4642642df142fd 2500w`}),`\n`,_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-dark.svg?fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=ef137a0f066e609e783fd2695e4df454`,alt:`Cold transfer in three steps. 1: the AI agent answers the caller. 2: the human agent joins the Multiparty Call. 3: the AI agent is removed and the caller talks to the human agent.`,\"data-og-width\":`720`,width:`720`,\"data-og-height\":`262`,height:`262`,\"data-path\":`images/transfer-to-human-agent/mpc-cold-transfer-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-dark.svg?w=280\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=7f07181e3cd1b2e4f8b829aa59475b83 280w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-dark.svg?w=560\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=2d0f2e7865df56a2638cdcb0c864b207 560w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-dark.svg?w=840\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=24490b7c929335c999d6f8fbcf48e51f 840w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-dark.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=566ecca02c914471a525a9d0b8c83785 1100w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-dark.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=ff5e2d44b2c9adad93d245593a684d53 1650w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-cold-transfer-dark.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=837c14b066ed3d0f1629f5ad15d92f56 2500w`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The caller joins the MPC, usually through their answer XML.`}),`\n`,_jsxs(_components.li,{children:[`Your server adds your AI agent to the MPC through the `,_jsx(_components.a,{href:`/voice/api/multiparty-calls/#add-a-participant`,children:`Add a Participant`}),` API. Your AI agent connects over WebSocket, the same way it does with `,_jsx(_components.code,{children:`\u003cStream>`}),`: it receives `,_jsx(_components.code,{children:`start`}),` and `,_jsx(_components.code,{children:`media`}),` events and sends audio back with `,_jsx(_components.code,{children:`playAudio`}),` (`,_jsx(_components.a,{href:`/voice-agents/audio-streaming/concepts/audio-streaming-reference/`,children:`Stream Event Protocol`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Either can join first. You can add your AI agent first, then add the caller with Add a Participant and the `,_jsx(_components.code,{children:`customer`}),` role, so your AI agent is ready when they answer.`]}),`\n`,_jsx(_components.li,{children:`To transfer, your server adds the human agent, at a phone number or a SIP endpoint.`}),`\n`,_jsxs(_components.li,{children:[`Your server removes your AI agent with the `,_jsx(_components.a,{href:`/voice/api/multiparty-calls/#kick-a-participant`,children:`Kick a Participant`}),` API. The caller and the human agent stay connected.`]}),`\n`,_jsxs(_components.li,{children:[`When the human agent hangs up, your server ends the MPC with the `,_jsx(_components.a,{href:`/voice/api/multiparty-calls/#end-a-multiparty-call`,children:`End a Multiparty Call`}),` API.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`trade-offs-of-a-multiparty-call`,children:`Trade-offs of a Multiparty Call`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Pros`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No wait on your WebSocket`}),` - the human agent joins while your AI agent’s WebSocket is still open`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Warm transfer`}),` - your AI agent can brief the human agent before the caller is connected`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Same AI agent code`}),` - an AI agent built for `,_jsx(_components.code,{children:`\u003cStream>`}),` connects with the same events`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Cons`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`More work on your server`}),` - it tracks each participant’s `,_jsx(_components.code,{children:`MemberID`}),` and makes an API call for each step of the transfer`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your server must control the call`}),` - it puts the caller in the MPC, so it doesn’t fit an AI platform that serves the answer URL for you`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`set-up-a-multiparty-call-transfer`,children:`Set Up a Multiparty Call Transfer`}),`\n`,_jsxs(_components.p,{children:[`These steps start with the caller. Return this answer XML for the call. Give each call its own MPC name, because `,_jsx(_components.a,{href:`/voice/api/multiparty-calls/#add-a-participant`,children:`Add a Participant`}),` joins any ongoing MPC with the same name.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`MultiPartyCall`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` role`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customer\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` stayAlone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` endMpcOnExit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` statusCallbackUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/mpc-events\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` statusCallbackEvents`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"participant-state-changes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` call-1234`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`MultiPartyCall`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`stayAlone=\"true\"`}),` keeps the caller in the MPC while they’re its only participant, before your AI agent joins.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`endMpcOnExit=\"true\"`}),` ends the MPC when the caller hangs up.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`participant-state-changes`}),` sends a `,_jsx(_components.code,{children:`ParticipantJoin`}),` event to `,_jsx(_components.code,{children:`statusCallbackUrl`}),` each time a participant joins. Save the `,_jsx(_components.code,{children:`MemberID`}),` from each one. You need the caller’s to hold them and your AI agent’s to remove it. The event parameters are listed in `,_jsx(_components.a,{href:`/voice/xml/multiparty-call/#status-callback-parameters`,children:`Status Callback Parameters`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`1. Add your AI agent.`}),` When the caller’s `,_jsx(_components.code,{children:`ParticipantJoin`}),` arrives, add your AI agent with the `,_jsx(_components.code,{children:`ai-agent`}),` role. `,_jsx(_components.code,{children:`to`}),` is required, but Plivo doesn’t dial it for an `,_jsx(_components.code,{children:`ai-agent`}),` participant: set it to any Plivo number on your account. Set `,_jsx(_components.code,{children:`ai_agent_stream_content_type`}),` to the audio format your AI agent already uses on `,_jsx(_components.code,{children:`\u003cStream>`}),`. The default is `,_jsx(_components.code,{children:`audio/x-l16;rate=8000`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/name_call-1234/Participant/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003cauth_id>:\u003cauth_token>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"ai-agent\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from\": \"+14151234567\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to\": \"\u003cany_plivo_number_on_your_account>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ai_agent_stream_service_url\": \"wss://your-ai-agent.example.com/stream\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ai_agent_stream_content_type\": \"audio/x-l16;rate=8000\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`2. Add the human agent.`}),` When your AI agent decides to transfer, add the human agent with the `,_jsx(_components.code,{children:`agent`}),` role. Set `,_jsx(_components.code,{children:`to`}),` to a phone number or a SIP endpoint.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/name_call-1234/Participant/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003cauth_id>:\u003cauth_token>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"agent\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from\": \"+14151234567\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to\": \"+14155551234\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`3. Remove your AI agent.`}),` When the human agent’s `,_jsx(_components.code,{children:`ParticipantJoin`}),` arrives, kick your AI agent. This is a cold transfer.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/name_call-1234/Participant/\u003cai_agent_member_id>/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003cauth_id>:\u003cauth_token>'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`4. End the MPC when the human agent hangs up.`}),` When the human agent’s `,_jsx(_components.code,{children:`ParticipantExit`}),` arrives, end the MPC with `,_jsx(_components.a,{href:`/voice/api/multiparty-calls/#end-a-multiparty-call`,children:`End a Multiparty Call`}),`. Without this, the caller stays alone in the MPC after the human agent hangs up, because `,_jsx(_components.code,{children:`stayAlone`}),` is `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`If the human agent doesn’t answer, no `,_jsx(_components.code,{children:`ParticipantJoin`}),` arrives for them. Your AI agent is still in the call, so it can tell the caller or try another human agent. To get the result of each dial, add `,_jsx(_components.code,{children:`add-participant-api-events`}),` to `,_jsx(_components.code,{children:`statusCallbackEvents`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`warm-transfer-with-a-multiparty-call`,children:`Warm Transfer with a Multiparty Call`}),`\n`,_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-light.svg?fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=aebade69736d8c5d73bfb49bf19903ba`,alt:`Warm transfer in three steps. 1: the AI agent answers the caller. 2: the caller waits on hold while the AI agent briefs the human agent. 3: the caller is taken off hold, the AI agent is removed, and the caller talks to the human agent.`,\"data-og-width\":`720`,width:`720`,\"data-og-height\":`262`,height:`262`,\"data-path\":`images/transfer-to-human-agent/mpc-warm-transfer-light.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-light.svg?w=280\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=a6f7eaa4e21f23733fe89283a7153078 280w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-light.svg?w=560\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=f2f1e136b2a65c928bc43283f049b27f 560w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-light.svg?w=840\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=3ff0a650f2587235b2f8cb7ebfab0c5e 840w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-light.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=3cb9784a2f0990a4a22e08cf17ae0dea 1100w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-light.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=1bad253c21c4b7c5b10ea7ef79a60a7b 1650w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-light.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=c2bfaabb87e424d21bb87706ee2fc0a3 2500w`}),`\n`,_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-dark.svg?fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=bc61bd67ed407b94855ad0b157ec4b19`,alt:`Warm transfer in three steps. 1: the AI agent answers the caller. 2: the caller waits on hold while the AI agent briefs the human agent. 3: the caller is taken off hold, the AI agent is removed, and the caller talks to the human agent.`,\"data-og-width\":`720`,width:`720`,\"data-og-height\":`262`,height:`262`,\"data-path\":`images/transfer-to-human-agent/mpc-warm-transfer-dark.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-dark.svg?w=280\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=8a5b7d284ec78acb715c52380c8446b7 280w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-dark.svg?w=560\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=e7be087d60ad498b8af511333ce1fce3 560w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-dark.svg?w=840\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=4696d827c2d1e021dedce30a2a025693 840w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-dark.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=38302cebe9a762d5129886d5781ee6f5 1100w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-dark.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=3962522ebb227e806cfea931b0430c95 1650w, https://mintcdn.com/plivo/9zIRdvx4doyoicBb/images/transfer-to-human-agent/mpc-warm-transfer-dark.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=9zIRdvx4doyoicBb\u0026q=85\u0026s=47cf4fa0e303d3b0b67177af7f717127 2500w`}),`\n`,_jsx(_components.p,{children:`In a warm transfer, your AI agent briefs the human agent before the caller is connected. Use the setup above and hold the caller around step 2:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Hold the caller: update the caller’s participant with `,_jsx(_components.code,{children:`hold`}),` set to `,_jsx(_components.code,{children:`true`}),`.`]}),`\n`,_jsx(_components.li,{children:`Add the human agent (step 2 above).`}),`\n`,_jsx(_components.li,{children:`Your AI agent briefs the human agent. They hear each other, and the caller hears neither.`}),`\n`,_jsxs(_components.li,{children:[`Unhold the caller: update the caller’s participant with `,_jsx(_components.code,{children:`hold`}),` set to `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(_components.li,{children:`Remove your AI agent (step 3 above). The caller and the human agent are now connected.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.plivo.com/v1/Account/{auth_id}/MultiPartyCall/name_call-1234/Participant/\u003ccaller_member_id>/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003cauth_id>:\u003cauth_token>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"hold\": true}'`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Hold the caller. Don’t mute them. A muted participant can’t be heard but still hears everyone in the MPC, so a muted caller hears your AI agent brief the human agent. A held caller hears none of the briefing, and nobody hears them.`})}),`\n`,_jsxs(_components.p,{children:[`To play your own hold music, set `,_jsx(_components.code,{children:`customerHoldMusicUrl`}),` on `,_jsx(_components.code,{children:`\u003cMultiPartyCall>`}),`. The URL must return XML with `,_jsx(_components.code,{children:`Play`}),`, `,_jsx(_components.code,{children:`Speak`}),`, or `,_jsx(_components.code,{children:`Wait`}),` elements (`,_jsx(_components.a,{href:`/voice/xml/multiparty-call/#custom-hold-music`,children:`Custom Hold Music`}),`). A URL that returns an audio file directly leaves the held caller in silence.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/voice/use-cases/transfer-to-human-agent/`,children:`Transfer to Human Agent`}),` — When to transfer, and how to choose an option`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/voice/use-cases/transfer-to-human-agent/did-forward/`,children:`Option 1: DID Forward`}),` — Transfer to a phone number`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/voice/use-cases/transfer-to-human-agent/sip-auth-forward/`,children:`Option 2: SIP Auth Forward`}),` — Transfer to a SIP endpoint with credentials`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/voice/use-cases/transfer-to-human-agent/troubleshooting/`,children:`Troubleshoot Transfer to Human Agent`}),` — Test a transfer and fix failed ones`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/voice/xml/multiparty-call/`,children:`Multiparty Call XML`}),` — `,_jsx(_components.code,{children:`\u003cMultiPartyCall>`}),` and its participant roles`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/voice/api/multiparty-calls/`,children:`Multiparty Call API`}),` — Add, update, kick participants, and end the MPC`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Transfer to a Human Agent with a Multiparty Call","sidebarTitle":"Option 3: Multiparty Call","description":"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.","href":"/voice/use-cases/transfer-to-human-agent/multiparty-call"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How a Multiparty Call Transfer Works","slug":"how-a-multiparty-call-transfer-works","depth":2,"children":[]},{"title":"Trade-offs of a Multiparty Call","slug":"trade-offs-of-a-multiparty-call","depth":2,"children":[]},{"title":"Set Up a Multiparty Call Transfer","slug":"set-up-a-multiparty-call-transfer","depth":2,"children":[]},{"title":"Warm Transfer with a Multiparty Call","slug":"warm-transfer-with-a-multiparty-call","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/plivo/65a712f3b49f9843/hubspot.js"],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"plivo","siteName":"Plivo","title":"Transfer to a Human Agent with a Multiparty Call - Plivo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T18:11:40.456Z","originalFileLocation":"voice/use-cases/transfer-to-human-agent/multiparty-call.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Plivo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Transfer to a Human Agent with a Multiparty Call - Plivo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Plivo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://plivo.mintlify.site/docs/_mintlify/api/og/v2?division=Transfer+to+Human+Agent\u0026amp;title=Transfer+to+a+Human+Agent+with+a+Multiparty+Call\u0026amp;description=Hand+an+AI-handled+call+to+a+human+agent+inside+a+Multiparty+Call%2C+as+a+cold+transfer+or+a+warm+transfer+where+the+AI+agent+briefs+the+human+agent.\u0026amp;theme=0904848171be9743c76b0ea8\u0026amp;signature=af597f39eb1db77dfabc0d68ca6eb0980c2e68df301a3e9348e8a449060d6af2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Transfer to a Human Agent with a Multiparty Call - Plivo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://plivo.mintlify.site/docs/_mintlify/api/og/v2?division=Transfer+to+Human+Agent\u0026amp;title=Transfer+to+a+Human+Agent+with+a+Multiparty+Call\u0026amp;description=Hand+an+AI-handled+call+to+a+human+agent+inside+a+Multiparty+Call%2C+as+a+cold+transfer+or+a+warm+transfer+where+the+AI+agent+briefs+the+human+agent.\u0026amp;theme=0904848171be9743c76b0ea8\u0026amp;signature=af597f39eb1db77dfabc0d68ca6eb0980c2e68df301a3e9348e8a449060d6af2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/plivo/jE_tEXMmXghIL4xh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Plivo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#323dfe\">\u003clink data-mint-head rel=\"canonical\" href=\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/voice/use-cases/transfer-to-human-agent/multiparty-call.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://plivo.com/#organization\",\"name\":\"Plivo\",\"url\":\"https://plivo.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/plivo/nlRVupwxTfmW2fPy/logo/newlogodark.svg?fit=max\u0026auto=format\u0026n=nlRVupwxTfmW2fPy\u0026q=85\u0026s=60816eb957f6b8962ef15eddde76449a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://plivo.com/docs#website\",\"name\":\"Plivo\",\"url\":\"https://plivo.com/docs\",\"publisher\":{\"@id\":\"https://plivo.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call#webpage\",\"url\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call\",\"name\":\"Transfer to a Human Agent with a Multiparty Call\",\"description\":\"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.\",\"dateModified\":\"2026-10-21T18:11:40.456Z\",\"isPartOf\":{\"@id\":\"https://plivo.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflows\",\"item\":\"https://plivo.com/docs/voice/use-cases/connect-external-numbers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transfer to Human Agent\",\"item\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Transfer to a Human Agent with a Multiparty Call\",\"item\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call#article\",\"headline\":\"Transfer to a Human Agent with a Multiparty Call\",\"name\":\"Transfer to a Human Agent with a Multiparty Call\",\"description\":\"Hand an AI-handled call to a human agent inside a Multiparty Call, as a cold transfer or a warm transfer where the AI agent briefs the human agent.\",\"url\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call\",\"mainEntityOfPage\":{\"@id\":\"https://plivo.com/docs/voice/use-cases/transfer-to-human-agent/multiparty-call#webpage\"},\"dateModified\":\"2026-10-21T18:11:40.456Z\",\"publisher\":{\"@id\":\"https://plivo.com/#organization\"},\"isPartOf\":{\"@id\":\"https://plivo.com/docs#website\"}}]}\u003c/script>","siteName":"Plivo","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home"}]},{"tab":"SIP Trunking","pages":[{"title":"SIP Trunking","href":"/voice-agents/sip-trunking/overview"}]},{"tab":"Audio Streaming","groups":[{"group":"Concepts","pages":[{"title":"Building AI Voice Agents with Audio Streaming","sidebarTitle":"Overview","href":"/voice-agents/audio-streaming/overview"},{"title":"Audio Streaming Guide","sidebarTitle":"Getting Started","href":"/voice-agents/audio-streaming/concepts/audio-streaming-guide"},{"title":"Audio Streaming Protocol Reference","sidebarTitle":"Protocol Reference","href":"/voice-agents/audio-streaming/concepts/audio-streaming-reference"},{"title":"Audio Streaming Best Practices","sidebarTitle":"Best Practices","href":"/voice-agents/audio-streaming/concepts/best-practices"}]},{"group":"Integration Guides","pages":[{"group":"Pipecat","pages":[{"title":"Pipecat Overview","sidebarTitle":"Overview","href":"/voice-agents/audio-streaming/integration-guides/pipecat/overview"},{"group":"Deepgram + LLM + TTS","pages":[{"title":"Deepgram + OpenAI + Cartesia","sidebarTitle":"OpenAI + Cartesia","href":"/voice-agents/audio-streaming/integration-guides/pipecat/openai-cartesia"},{"title":"Deepgram + OpenAI + ElevenLabs","sidebarTitle":"OpenAI + ElevenLabs","href":"/voice-agents/audio-streaming/integration-guides/pipecat/openai-elevenlabs"},{"title":"Deepgram + OpenAI + Rime","sidebarTitle":"OpenAI + Rime","href":"/voice-agents/audio-streaming/integration-guides/pipecat/openai-rime"},{"title":"Deepgram + Gemini + Cartesia","sidebarTitle":"Gemini + Cartesia","href":"/voice-agents/audio-streaming/integration-guides/pipecat/gemini-cartesia"},{"title":"Deepgram + Gemini + ElevenLabs","sidebarTitle":"Gemini + ElevenLabs","href":"/voice-agents/audio-streaming/integration-guides/pipecat/gemini-elevenlabs"}]},{"group":"Sarvam + LLM + TTS","pages":[{"title":"Sarvam + OpenAI + Sarvam","sidebarTitle":"Sarvam + OpenAI (Indian)","href":"/voice-agents/audio-streaming/integration-guides/pipecat/sarvam-openai"}]},{"group":"Speech-to-Speech","pages":[{"title":"OpenAI Realtime (Speech-to-Speech)","sidebarTitle":"OpenAI Realtime","href":"/voice-agents/audio-streaming/integration-guides/pipecat/openai-realtime"},{"title":"Gemini Live (Speech-to-Speech)","sidebarTitle":"Gemini Live","href":"/voice-agents/audio-streaming/integration-guides/pipecat/gemini-live"}]},{"title":"Advanced Features for Audio Streaming","sidebarTitle":"Advanced Features","href":"/voice-agents/audio-streaming/integration-guides/pipecat/advanced-features"}]},{"group":"Other Pipelines","pages":[{"title":"Bolna Integration","sidebarTitle":"Bolna","href":"/audio-streaming/integration-guides/bolna"},{"title":"Cloudflare Agents","sidebarTitle":"Cloudflare Agents","href":"/audio-streaming/integration-guides/cloudflare"},{"title":"Deepgram Voice Agent Integration","sidebarTitle":"Deepgram Voice Agent","href":"/audio-streaming/integration-guides/deepgram-voice-agent"},{"title":"Dograh Integration","sidebarTitle":"Dograh","href":"/audio-streaming/integration-guides/dograh"}]},{"title":"Build with an AI coding agent","sidebarTitle":"Build with an AI coding agent","href":"/audio-streaming/integration-guides/ai-coding-agent"}]},{"group":"Workflows","pages":[{"title":"Connect External Phone Numbers to Plivo","sidebarTitle":"Connect External Numbers","href":"/voice/use-cases/connect-external-numbers"},{"group":"Transfer to Human Agent","pages":[{"title":"Transfer to Human Agent","sidebarTitle":"Overview","href":"/voice/use-cases/transfer-to-human-agent"},{"title":"Transfer to a Human Agent by DID Forward","sidebarTitle":"Option 1: DID Forward","href":"/voice/use-cases/transfer-to-human-agent/did-forward"},{"title":"Transfer to a Human Agent by SIP Auth Forward","sidebarTitle":"Option 2: SIP Auth Forward","description":"Transfer an AI-handled call to a SIP contact center, softphone, or PBX with credentials, including the firewall setup the contact center needs.","href":"/voice/use-cases/transfer-to-human-agent/sip-auth-forward"},{"title":"Transfer to a Human Agent with a Multiparty Call","sidebarTitle":"Option 3: Multiparty Call","href":"/voice/use-cases/transfer-to-human-agent/multiparty-call"},{"title":"Troubleshoot Transfer to Human Agent","sidebarTitle":"Troubleshooting","description":"Test an AI-to-human transfer, read its hangup causes and Dial status, and fix failed, silent, or stuck transfers.","href":"/voice/use-cases/transfer-to-human-agent/troubleshooting"}]}]},{"group":"Deploy","pages":[{"title":"Outbound Call Quality and CPS in the US","sidebarTitle":"Calling in the US","href":"/voice-agents/audio-streaming/deploy/us-call-quality-and-cps"}]},{"group":"Reference","pages":[{"title":"API Reference","sidebarTitle":"API Reference","href":"/voice-agents/audio-streaming/api/audio-streams"},{"group":"XML Reference","pages":[{"title":"Call Control XML","sidebarTitle":"Call Control","href":"/voice-agents/audio-streaming/xml/call-control"},{"title":"Audio Streaming","sidebarTitle":"Audio Streaming","href":"/voice-agents/audio-streaming/xml/stream"}]},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/voice-agents/audio-streaming/troubleshooting/troubleshooting"}]}]},{"tab":"Programmable APIs","pages":[{"title":"Programmable APIs","href":"/voice/quickstart/quickstart"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/faq/messaging/messaging-api"}]}]},"basePath":"","title":"Transfer to a Human Agent with a Multiparty Call - Plivo","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-B_-GSaTf.js","lightbox-handle-r17bVUz3.js"]}