Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.
Was this page helpful?
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Vobiz","colors":{"primary":"#E83C00","light":"#E86A00","dark":"#c93400"},"logo":{"light":"https://mintcdn.com/vobizai/cPP2drhQ7lKsmogc/logo/light.svg?fit=max\u0026auto=format\u0026n=cPP2drhQ7lKsmogc\u0026q=85\u0026s=8e1f6273f626f638f46d6df526d4775c","dark":"https://mintcdn.com/vobizai/cPP2drhQ7lKsmogc/logo/dark.svg?fit=max\u0026auto=format\u0026n=cPP2drhQ7lKsmogc\u0026q=85\u0026s=57b37e5694f01e6933c9ec02a871250a","href":"https://www.vobiz.ai/docs/introduction"},"favicon":"https://mintcdn.com/vobizai/BDRzOqCvIsC8CJvN/favicon.svg?fit=max\u0026auto=format\u0026n=BDRzOqCvIsC8CJvN\u0026q=85\u0026s=b38182f12bc6b0e3a5df2a8ae1474f83","api":{"openapi":["openapi.yaml","openapi-sms.yaml","openapi-whatsapp.yaml"],"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript"],"prefill":true},"mdx":{"auth":{"method":"key","name":"X-Auth-Token"},"server":"https://api.vobiz.ai"}},"appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:support@vobiz.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://console.vobiz.ai"}},"footer":{"socials":{"x":"https://x.com/Vobiz_Ai","github":"https://github.com/vobiz-ai","linkedin":"https://linkedin.com/company/vobizai"}},"seo":{"metatags":{"canonical":"https://www.vobiz.ai/docs","og:site_name":"Vobiz Docs","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@Vobiz_Ai","twitter:creator":"@Vobiz_Ai","theme-color":"#E83C00","color-scheme":"dark light","author":"Vobiz","publisher":"Vobiz","copyright":"Copyright 2025 Vobiz","reply-to":"support@vobiz.ai","robots":"index, follow","format-detection":"telephone=no","referrer":"origin-when-cross-origin","rating":"general","language":"en","category":"Technology","coverage":"Worldwide","distribution":"global","target":"all"},"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-YD6M3FF3P4"}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","mcp","add-mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark"},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"API Status","icon":"signal","href":"https://status.vobiz.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vobizai","hasAudioNarration":false,"actualSubdomain":"vobizai","customDomains":["www.vobiz.ai"],"gitSource":{"type":"github","owner":"vobiz-ai","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae8948acb9fa025302af88e"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b032c1a76d46e4caec39fa0","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":443},{"language":"default","tag":"Voice \u0026 XML","count":142},{"language":"default","tag":"Documentation","count":103},{"language":"default","tag":"SMS \u0026 RCS","count":102},{"language":"default","tag":"Integrations","count":83},{"language":"default","tag":"Blogs","count":82},{"language":"default","tag":"Articles","count":80},{"language":"default","tag":"Examples \u0026 Tutorials","count":60},{"language":"default","tag":"Regular APIs","count":45},{"language":"default","tag":"SIP Trunking","count":36}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@vobiz.ai","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","href":"/docs/_mintlify/custom/vobizai/c4c76a1b5bc930af/custom.css"}]}
{"page":{"pagePath":"resources/gather-visualizer","slug":"/resources/gather-visualizer","pageMetadata":{"title":"Gather XML Input Visualizer","sidebarTitle":"Gather Input Visualizer","description":"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.","keywords":["Gather XML visualizer","DTMF input flow","numDigits finishOnKey","digitEndTimeout","executionTimeout Gather","speechEndTimeout","inputType dtmf speech","IVR keypad visualizer","Gather action URL","interimSpeechResultsCallback","SpeechConfidenceScore","Vobiz Gather element","collect digits XML","IVR menu XML","speech recognition Gather","voice XML input","Gather timeout behaviour","gather digits webhook","Vobiz IVR tool","DTMF flow map"],"mode":"wide","href":"/resources/gather-visualizer"},"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: \"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const GV_CALL=`6f1d4a92-3b77-4d0e-9f2a-1c8b5e7d0431`;const GV_XML={gather:`\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\u003cResponse>\n \u003cGather action=\"https://you.example/gather\" method=\"POST\"\n inputType=\"dtmf speech\"\n numDigits=\"4\"\n finishOnKey=\"#\"\n digitEndTimeout=\"3\"\n speechEndTimeout=\"auto\"\n executionTimeout=\"15\">\n \u003cSpeak>Enter your four digit PIN, or say your account name.\u003c/Speak>\n \u003c/Gather>\n \u003c!-- runs only if Gather fell through -->\n \u003cSpeak>We did not get that. Goodbye.\u003c/Speak>\n \u003cHangup/>\n\u003c/Response>`,redirect_true:`\u003c!-- redirect=\"true\" (the default): the XML you\n return from the action URL drives the call. -->\n\u003cResponse>\n \u003cSpeak>Thank you. One moment.\u003c/Speak>\n \u003cRedirect>https://you.example/menu\u003c/Redirect>\n\u003c/Response>`,redirect_false:`\u003c!-- redirect=\"false\": Vobiz still POSTs the\n action URL, ignores what you return, and runs the\n elements that followed \u003cGather>. -->\n\u003cSpeak>We did not get that. Goodbye.\u003c/Speak>\n\u003cHangup/>`,none:null};const GV_HOOK={num:{url:`POST /gather`,body:{CallUUID:GV_CALL,From:`+14155550111`,To:`+14155550100`,InputType:`dtmf`,Digits:`4821`,Speech:``}},finish:{url:`POST /gather`,body:{CallUUID:GV_CALL,From:`+14155550111`,To:`+14155550100`,InputType:`dtmf`,Digits:`482`,Speech:``}},gap:{url:`POST /gather`,body:{CallUUID:GV_CALL,From:`+14155550111`,To:`+14155550100`,InputType:`dtmf`,Digits:`48`,Speech:``}},exec:{url:`POST /gather`,body:{CallUUID:GV_CALL,From:`+14155550111`,To:`+14155550100`,InputType:``,Digits:``,Speech:``}},speech:{url:`POST /gather`,body:{CallUUID:GV_CALL,From:`+14155550111`,To:`+14155550100`,InputType:`speech`,Digits:``,Speech:`my account is northwind`,SpeechConfidenceScore:`0.92`,BilledAmount:`0.0050`}},interim:{url:`POST /interim`,body:{StableSpeech:`my account is`,UnstableSpeech:` northwind`,Stability:`0.65`,SequenceNumber:`3`}},none:null};const GV_NODES={\"1\":{type:`prompt`,title:`The prompt plays`,tag:`Speak`,screen:`Enter your four digit PIN, or say your account name.`,desc:`Nested **Speak** and **Play** elements run first. **executionTimeout has not started yet** - the clock only begins once the prompt finishes, which is the single most misread part of Gather.`,xml:`gather`,hook:`none`,to:`2`},\"2\":{type:`collect`,title:`Waiting for input`,tag:`Gather`,screen:``,desc:`The window is open and **executionTimeout** is now running. Press a digit on the pad, or take one of the branches to see what happens when nobody does.`,xml:`gather`,hook:`none`,live:true,branches:[{label:`🎤 The caller speaks instead`,to:`s1`,cls:`ok`},{label:`⏱ Nobody presses anything → executionTimeout`,to:`t_exec`,cls:`bad`}]},\"3\":{type:`collect`,title:`Digits are accumulating`,tag:`Gather`,screen:``,desc:`Every press appends to **Digits** and resets **digitEndTimeout** - that timer measures the gap *between* presses, not the total. The overall window keeps draining underneath it.`,xml:`gather`,hook:`none`,live:true,branches:[{label:`⏱ Caller pauses too long → digitEndTimeout`,to:`t_gap`,cls:`bad`},{label:`⏱ Whole window expires → executionTimeout`,to:`t_exec`,cls:`bad`}]},\"s1\":{type:`speech`,title:`Speech is being recognised`,tag:`interim`,screen:`“my account is northwind”`,desc:`With **inputType** including speech, whichever modality arrives first wins and the other is abandoned. While the caller talks, partial transcripts stream to **interimSpeechResultsCallback** with a rising Stability.`,xml:`none`,hook:`interim`,branches:[{label:`🔇 The caller stops talking → speechEndTimeout`,to:`t_speech`,cls:`ok`}]},\"t_num\":{type:`win`,title:`numDigits filled`,tag:`terminator`,screen:`4821`,desc:`The 4th digit landed and Vobiz submitted **immediately** - neither timer got a vote. For single-key menus, numDigits=\"1\" gives the snappiest response.`,xml:`none`,hook:`num`,to:`act`},\"t_finish\":{type:`win`,title:`finishOnKey pressed`,tag:`terminator`,screen:`482 #`,desc:`The caller signalled they were done. The terminating key **is not included in Digits** - here they typed 482 then #, and you receive 482.`,xml:`none`,hook:`finish`,to:`act`},\"t_gap\":{type:`warn`,title:`digitEndTimeout elapsed`,tag:`terminator`,screen:`48`,desc:`No new digit arrived within the gap window, so Vobiz submitted whatever had been collected so far - a **partial** entry. Validate length server-side; do not assume you got all of it.`,xml:`none`,hook:`gap`,to:`act`},\"t_exec\":{type:`bad`,title:`executionTimeout elapsed`,tag:`terminator`,screen:``,desc:`The whole window closed. Vobiz **still POSTs the action URL**, with empty Digits and Speech, and then moves to the next element. This is the case most flows ship broken - check for empty values.`,xml:`none`,hook:`exec`,to:`act`},\"t_speech\":{type:`win`,title:`speechEndTimeout elapsed`,tag:`terminator`,screen:`“my account is northwind”`,desc:`Silence held long enough, so recognition stopped and the final transcript went out with a **SpeechConfidenceScore**. Threshold that score before acting on it - and note speech input is billed.`,xml:`none`,hook:`speech`,to:`act`},\"act\":{type:`decision`,title:`The action URL is called`,tag:`action`,screen:``,desc:`One request, whatever ended the Gather. Read **InputType** to see which modality won, then branch on Digits or Speech. What happens next depends on **redirect**.`,xml:`none`,hook:`num`,branches:[{label:`redirect=\"true\" → your XML drives the call`,to:`r_true`},{label:`redirect=\"false\" → elements after Gather run`,to:`r_false`}]},\"r_true\":{type:`xml`,title:`Your XML takes over`,tag:`Response`,screen:``,desc:`The document you return replaces the rest of the flow. This is how an IVR menu moves to the next level.`,xml:`redirect_true`,hook:`none`,terminal:true},\"r_false\":{type:`xml`,title:`Vobiz runs what followed Gather`,tag:`Response`,screen:``,desc:`The request was still sent - your response is simply ignored. The elements after **Gather** run blind, unable to tell a successful entry from a timeout.`,xml:`redirect_false`,hook:`none`,terminal:true}};const GV_EX={\"1\":{type:`greeting`,title:`Greeting \u0026 language`,tag:`Gather`,xml:`lang`,screen:`Thank you for calling Meridian Telecom. For English press 1. हिन्दी के लिए 2 दबाएं.`,keys:[{k:`1`,label:`English`,to:`2`,act:`en`},{k:`2`,label:`हिन्दी`,to:`2`,act:`hi`}],timeout:{to:`end_noinput`}},\"2\":{type:`auth`,title:`Enter customer ID`,tag:`Gather`,xml:`id`,screen:`Please enter your six digit customer ID, then press hash.`,input:`id`,to:`2.1`},\"3\":{type:`menu`,title:`Main menu`,tag:`Gather`,xml:`menu`,screen:`Thanks A. Rao. Main menu. Press 1 for billing and payments. Press 2 for technical support. Press 3 for account changes. Press 9 for an advisor at any time. Press 0 to repeat.`,keys:[{k:`1`,label:`Billing`,to:`4`},{k:`2`,label:`Technical`,to:`5`},{k:`3`,label:`Account`,to:`6`},{k:`9`,label:`Advisor`,to:`7`},{k:`0`,label:`Repeat`,to:`3`,sec:true}],timeout:{to:`end_noinput`}},\"4\":{type:`menu`,title:`Billing menu`,tag:`Gather`,xml:`menu`,screen:`Billing. Press 1 to hear your balance. Press 2 to make a payment. Press 3 to dispute a charge. Press 0 for the main menu.`,keys:[{k:`1`,label:`Balance`,to:`4.1`},{k:`2`,label:`Pay`,to:`4.2`},{k:`3`,label:`Dispute`,to:`4.3`},{k:`9`,label:`Advisor`,to:`7`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"5\":{type:`speech`,title:`Describe the fault`,tag:`Gather`,xml:`speech`,screen:`In a few words, tell me what is not working. For example, say no internet, slow speed, or cannot make calls.`,to:`5.1`},\"6\":{type:`menu`,title:`Account changes`,tag:`Gather`,xml:`menu`,screen:`Account changes. Press 1 to update your mobile number. Press 2 to close your account. Press 0 for the main menu.`,keys:[{k:`1`,label:`Update mobile`,to:`6.1`},{k:`2`,label:`Close account`,to:`6.2`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"7\":{type:`auto`,title:`Advisor hours check`,tag:`your server`,xml:`server`,screen:`(Your server) Checking advisor hours - 9 AM to 8 PM, Monday to Saturday, in IST. Every path that asked for a human converges here.`,branches:[{label:`🕘 Open → check the queue`,to:`7.1`},{label:`🌙 Closed → take a message`,to:`8`}]},\"8\":{type:`action`,title:`Voicemail`,tag:`Record`,xml:`record`,screen:`Our advisors have finished for the day. Leave a message after the tone and press hash. We will call you back tomorrow.`,to:`end_vm`},\"9\":{type:`menu`,title:`Post-call survey`,tag:`Gather`,xml:`menu`,screen:`Before you go — how did we do? Press 1 for poor, up to 5 for excellent.`,keys:[{k:`1`,label:`1 poor`,to:`end_survey`},{k:`2`,label:`2`,to:`end_survey`},{k:`3`,label:`3`,to:`end_survey`},{k:`4`,label:`4`,to:`end_survey`},{k:`5`,label:`5 great`,to:`end_survey`}]},\"2.1\":{type:`auto`,title:`Look the ID up`,tag:`your server`,xml:`server`,screen:`(Your server) Looking the ID up against the CRM. The digits arrive on the action URL without the hash - finishOnKey is never part of Digits.`,branches:[{label:`✔ ID matches an account`,to:`3`,cls:`ok`,act:`authed`},{label:`✗ No match — count the attempt`,to:`2.2`,cls:`bad`,act:`try`}]},\"2.2\":{type:`auto`,title:`Retry or stop?`,tag:`your server`,xml:`server`,screen:`(Your server) The ID did not match. Your application counts the attempt and decides: prompt again, or stop asking. Vobiz has no retry counter of its own - this loop is yours.`,branches:[{label:`↩ Attempts left → ask again`,to:`2`,cls:``,sec:true},{label:`✗ Third failure → stop asking`,to:`2.3`,cls:`bad`}]},\"2.3\":{type:`menu`,title:`Could not identify`,tag:`Gather`,xml:`menu`,screen:`We could not identify you. Press 1 to speak to an advisor, or press 0 to start again.`,keys:[{k:`1`,label:`Advisor`,to:`7`},{k:`0`,label:`Start again`,to:`1`,sec:true}]},\"4.1\":{type:`auto`,title:`Read the balance`,tag:`your server`,xml:`server`,screen:`(Your server) Reading the live balance. The branch you take here is your code, not Vobiz.`,branches:[{label:`₹0 outstanding`,to:`end_nodues`,cls:`ok`},{label:`₹4,820 outstanding`,to:`4.1.1`}]},\"4.1.1\":{type:`menu`,title:`Balance \u0026 due date`,tag:`Gather`,xml:`menu`,screen:`Your balance is 4,820 rupees, due in four days. Press 1 to pay now. Press 2 to hear that again. Press 0 for the main menu.`,keys:[{k:`1`,label:`Pay now`,to:`4.2`},{k:`2`,label:`Repeat`,to:`4.1.1`,sec:true},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"4.2\":{type:`menu`,title:`Payment options`,tag:`Gather`,xml:`menu`,screen:`Payment. Press 1 to pay the full 4,820 rupees. Press 2 to enter a part amount. Press 0 to go back.`,keys:[{k:`1`,label:`Pay in full`,to:`4.2.1`},{k:`2`,label:`Part amount`,to:`4.2.2`},{k:`0`,label:`Back to billing`,to:`4`,sec:true}]},\"4.2.1\":{type:`menu`,title:`Confirm full payment`,tag:`Gather`,xml:`menu`,screen:`You are about to pay 4,820 rupees. Press 1 to confirm, or 2 to change the amount.`,keys:[{k:`1`,label:`Confirm`,to:`4.2.3`},{k:`2`,label:`Change amount`,to:`4.2`,sec:true}]},\"4.2.2\":{type:`entry`,title:`Enter part amount`,tag:`Gather`,xml:`amount`,screen:`Enter the amount in rupees, then press hash.`,input:`amount`,to:`4.2.3`},\"4.2.3\":{type:`auto`,title:`Charge the card`,tag:`your server`,xml:`server`,screen:`(Your server) Charging the saved card through the payment gateway. This is the one node where a failure is genuinely out of your hands.`,branches:[{label:`✔ Gateway approved`,to:`4.2.5`,cls:`ok`,act:`paid`},{label:`✗ Declined by the bank`,to:`4.2.4`,cls:`bad`}]},\"4.2.5\":{type:`menu`,title:`Payment confirmed`,tag:`Gather`,xml:`menu`,screen:`Payment received, 4,820 rupees. A receipt has been sent by SMS. Thank you for calling Meridian.`,keys:[{k:`1`,label:`Rate the call`,to:`9`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"4.2.4\":{type:`menu`,title:`Payment declined`,tag:`Gather`,xml:`menu`,screen:`The payment was declined by your bank. Press 1 to try a different amount. Press 9 for an advisor. Press 0 for the main menu.`,keys:[{k:`1`,label:`Try again`,to:`4.2`,sec:true},{k:`9`,label:`Advisor`,to:`7`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"4.3\":{type:`menu`,title:`Charge dispute`,tag:`Gather`,xml:`menu`,screen:`Charge dispute. Press 1 to raise a ticket now. Press 9 to explain it to an advisor. Press 0 for the main menu.`,keys:[{k:`1`,label:`Raise ticket`,to:`end_ticket`},{k:`9`,label:`Advisor`,to:`7`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"5.1\":{type:`auto`,title:`Match the transcript`,tag:`your server`,xml:`server`,screen:`(Your server) Matching the transcript against known faults. Speech and SpeechConfidenceScore both arrive on the action URL - threshold the score instead of trusting the text.`,branches:[{label:`✔ Known fault, confidence 0.91`,to:`5.2`,cls:`ok`},{label:`✗ Confidence 0.42 → ask again`,to:`5`,cls:``,sec:true},{label:`✗ Nothing said → advisor`,to:`7`,cls:`bad`}]},\"5.2\":{type:`menu`,title:`Known fault`,tag:`Gather`,xml:`menu`,screen:`That is a known fault in your area. Press 1 to get the fix steps by SMS. Press 2 if you have already tried that. Press 0 for the main menu.`,keys:[{k:`1`,label:`SMS the steps`,to:`end_sms`},{k:`2`,label:`Already tried`,to:`5.3`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"5.3\":{type:`auto`,title:`Run a line test`,tag:`your server`,xml:`server`,screen:`(Your server) Running a line test on the account. Nothing is spoken to the caller while this happens - keep it under a second or play a Wait.`,branches:[{label:`✔ Line fault found → engineer`,to:`end_engineer`,cls:`ok`},{label:`✗ Line is clean → advisor`,to:`7`}]},\"6.1\":{type:`entry`,title:`New mobile number`,tag:`Gather`,xml:`id`,screen:`Enter the new ten digit mobile number, then press hash.`,input:`mobile`,to:`6.1.1`},\"6.1.1\":{type:`entry`,title:`Enter the SMS code`,tag:`Gather`,xml:`id`,screen:`We sent a code to +9198•••••21. Enter the four digit code, then press hash.`,input:`otp`,to:`6.1.2`},\"6.1.2\":{type:`auto`,title:`Verify the code`,tag:`your server`,xml:`server`,screen:`(Your server) Verifying the code. A wrong code loops back to the number entry - another retry loop you own.`,branches:[{label:`✔ Code correct`,to:`end_mobile`,cls:`ok`},{label:`✗ Wrong code → re-enter the number`,to:`6.1`,cls:`bad`,sec:true}]},\"6.2\":{type:`menu`,title:`Close the account`,tag:`Gather`,xml:`menu`,screen:`Closing an account has to be done with an advisor. Press 1 to be connected, or 0 to return to the main menu.`,keys:[{k:`1`,label:`Speak to advisor`,to:`7`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"7.1\":{type:`auto`,title:`Queue depth`,tag:`your server`,xml:`server`,screen:`(Your server) Reading the live queue depth from your ACD. Position 11 today.`,branches:[{label:`Short queue → connect now`,to:`7.2`,cls:`ok`},{label:`11 ahead → offer a callback`,to:`7.3`}]},\"7.2\":{type:`action`,title:`Dial the advisor group`,tag:`Dial`,xml:`dial`,screen:`Connecting you now. Dial rings the advisor group; the first phone to answer is bridged and the others are dropped with LOSE_RACE.`,terminal:true},\"7.3\":{type:`menu`,title:`Callback or hold`,tag:`Gather`,xml:`menu`,screen:`There are 11 callers ahead of you, about twelve minutes. Press 1 for a callback when it is your turn. Press 2 to hold anyway. Press 0 for the main menu.`,keys:[{k:`1`,label:`Callback`,to:`end_cb`},{k:`2`,label:`Hold anyway`,to:`7.2`},{k:`0`,label:`Main menu`,to:`3`,sec:true}]},\"end_nodues\":{type:`end`,title:`END · Nothing due`,tag:`Hangup`,xml:`end`,screen:`Your account is fully paid, nothing is due. Thank you for calling Meridian.`,terminal:true},\"end_ticket\":{type:`end`,title:`END · Dispute raised`,tag:`Hangup`,xml:`end`,screen:`Dispute raised, ticket 51204. An advisor will review it within two working days. Thank you.`,terminal:true},\"end_sms\":{type:`end`,title:`END · Steps sent`,tag:`Hangup`,xml:`end`,screen:`The fix steps are on their way by SMS. Thank you for calling Meridian.`,terminal:true},\"end_engineer\":{type:`end`,title:`END · Engineer booked`,tag:`Hangup`,xml:`end`,screen:`A line fault is confirmed and an engineer is booked for tomorrow morning. Ticket 51204. Thank you.`,terminal:true},\"end_mobile\":{type:`end`,title:`END · Mobile updated`,tag:`Hangup`,xml:`end`,screen:`Your mobile number has been updated. Thank you for calling Meridian.`,terminal:true},\"end_cb\":{type:`end`,title:`END · Callback booked`,tag:`Hangup`,xml:`end`,screen:`A callback is booked. We will ring you on your registered number. Thank you.`,terminal:true},\"end_vm\":{type:`end`,title:`END · Message saved`,tag:`Hangup`,xml:`end`,screen:`Your message is saved, reference 51204. Thank you for calling Meridian.`,terminal:true},\"end_survey\":{type:`end`,title:`END · Survey done`,tag:`Hangup`,xml:`end`,screen:`Thank you for the feedback. Goodbye.`,terminal:true},\"end_noinput\":{type:`end`,title:`END · No input`,tag:`Hangup`,xml:`end`,screen:`We did not receive any input. Goodbye.`,terminal:true}};const GV_EX_XML={lang:`\u003cGather action=\"https://tel.example/lang\" inputType=\"dtmf\"\n numDigits=\"1\" executionTimeout=\"8\">\n \u003cSpeak>For English press 1. Hindi ke liye 2 dabayein.\u003c/Speak>\n\u003c/Gather>\n\u003cRedirect>https://tel.example/no-input\u003c/Redirect>`,id:`\u003cGather action=\"https://tel.example/identify\" inputType=\"dtmf\"\n numDigits=\"6\" finishOnKey=\"#\"\n digitEndTimeout=\"4\" executionTimeout=\"20\">\n \u003cSpeak>Enter your six digit customer ID, then hash.\u003c/Speak>\n\u003c/Gather>`,menu:`\u003cGather action=\"https://tel.example/menu\" inputType=\"dtmf\"\n numDigits=\"1\" executionTimeout=\"10\">\n \u003cSpeak>Press 1 for billing, 2 for support, 3 for account…\u003c/Speak>\n\u003c/Gather>\n\u003cRedirect>https://tel.example/no-input\u003c/Redirect>`,speech:`\u003cGather action=\"https://tel.example/fault\" inputType=\"speech\"\n language=\"en-IN\" speechModel=\"phone_call\"\n speechEndTimeout=\"auto\"\n hints=\"no internet, slow speed, cannot make calls\">\n \u003cSpeak>Tell me what is not working.\u003c/Speak>\n\u003c/Gather>`,amount:`\u003cGather action=\"https://tel.example/amount\" inputType=\"dtmf\"\n numDigits=\"6\" finishOnKey=\"#\" executionTimeout=\"25\">\n \u003cSpeak>Enter the amount in rupees, then hash.\u003c/Speak>\n\u003c/Gather>`,server:`\u003c!-- No XML runs here. Your action URL received the input,\n made the decision, and returns the next document.\n Retry counters, queue depth and business hours all\n live in your code - Vobiz has none of them. -->`,dial:`\u003cDial callerId=\"+912240000000\" timeout=\"25\" timeLimit=\"3600\"\n dialMusic=\"https://tel.example/queue-music\"\n callbackUrl=\"https://tel.example/dial-events\"\n action=\"https://tel.example/dial-result\">\n \u003cNumber>+912249000001\u003c/Number>\n \u003cNumber>+912249000002\u003c/Number>\n \u003cUser>sip:advisor7@tel.example\u003c/User>\n\u003c/Dial>`,record:`\u003cRecord action=\"https://tel.example/voicemail\"\n maxLength=\"180\" finishOnKey=\"#\"\n playBeep=\"true\" fileFormat=\"mp3\"\n recordSession=\"false\"/>`,end:`\u003cSpeak>Thank you for calling Meridian.\u003c/Speak>\n\u003cHangup/>`};const gvLayout=N=>{const primary=id=>{const n=N[id],out=[];if(n.keys)n.keys.forEach(k=>{if(!k.sec\u0026\u0026k.to!==id)out.push(k.to)});if(n.branches)n.branches.forEach(b=>{if(!b.sec\u0026\u0026b.to!==id)out.push(b.to)});if(n.to)out.push(n.to);if(n.live)[`3`,`t_num`,`t_finish`].forEach(t=>{if(t!==id\u0026\u0026N[t])out.push(t)});return out};const rank={\"1\":0};const count=Object.keys(N).length;for(let pass=0;pass\u003ccount;pass++){let changed=false;for(const id in N){const r=rank[id];if(r===undefined)continue;primary(id).forEach(t=>{if(N[t]\u0026\u0026(rank[t]===undefined||rank[t]\u003cr+1)){rank[t]=r+1;changed=true}})}if(!changed)break}for(const id in N)if(rank[id]===undefined)rank[id]=1;const COLW=248,ROWH=84,PADX=40,PADY=28,NW=194,NH=52;const byRank={};for(const id in N)(byRank[rank[id]]=byRank[rank[id]]||[]).push(id);const pos={};Object.keys(byRank).map(Number).sort((a,b)=>a-b).forEach(r=>{byRank[r].forEach((id,i)=>{pos[id]={x:PADX+r*COLW,y:PADY+i*ROWH}})});const edges=[];const add=(from,to,sec)=>{const a=pos[from],b=pos[to];if(!a||!b)return;const back=b.x\u003c=a.x;const x1=a.x+NW,y1=a.y+NH/2;const x2=back?b.x+NW:b.x,y2=b.y+NH/2;const mx=(x1+x2)/2;edges.push({key:from+`->`+to+(sec?`s`:``),sec:Boolean(sec),d:back?`M${x1},${y1} C${x1+60},${y1-42} ${x2+60},${y2-42} ${x2},${y2}`:`M${x1},${y1} C${mx},${y1} ${mx},${y2} ${x2},${y2}`})};for(const id in N){const n=N[id];if(n.keys)n.keys.forEach(k=>add(id,k.to,k.sec));if(n.branches)n.branches.forEach(b=>add(id,b.to,b.sec));if(n.to)add(id,n.to,false);if(n.timeout)add(id,n.timeout.to,true);if(n.live)[`3`,`t_num`,`t_finish`].forEach(t=>{if(t!==id\u0026\u0026N[t])add(id,t,false)})}let w=0,h=0;for(const id in pos){w=Math.max(w,pos[id].x+NW);h=Math.max(h,pos[id].y+NH)}return{pos,edges,w:w+36,h:h+36,NW,NH}};const GV_LAYOUT=gvLayout(GV_NODES);const GV_EX_LAYOUT=gvLayout(GV_EX);const GV_FLOWS={element:{label:`The Gather element`,nodes:GV_NODES,layout:GV_LAYOUT,xml:GV_XML,live:true},example:{label:`Example · a full IVR`,nodes:GV_EX,layout:GV_EX_LAYOUT,xml:GV_EX_XML,live:false}};const GvRich=({text})=>_jsx(`span`,{children:String(text).split(/\\*\\*(.+?)\\*\\*/g).map((part,i)=>i%2?_jsx(`strong`,{children:part},i):_jsx(`span`,{children:part},i))});const GV_DRAG={at:null};const gvCanvasEl=()=>document.getElementById(`gvCanvas`);const GvXml=({text})=>_jsx(`pre`,{children:_jsx(`code`,{children:text.split(`\n`).map((line,i)=>{if(line.trim().startsWith(`\u003c!--`)||line.trim().startsWith(`--`)||/-->$/.test(line.trim()))return _jsx(`div`,{className:`gv-cm`,children:line},i);const parts=line.split(/([\\w:.-]+=\"[^\"]*\"|\u003c\\/?[A-Za-z][\\w:.-]*|\\/>|>)/g).filter(p=>p);return _jsx(`div`,{children:parts.map((p,j)=>{if(/^[\\w:.-]+=\"/.test(p)){const eq=p.indexOf(`=`);return _jsxs(`span`,{children:[_jsx(`span`,{className:`gv-attr`,children:p.slice(0,eq)}),`=`,_jsx(`span`,{className:`gv-val`,children:p.slice(eq+1)})]},j)}if(/^\u003c\\/?[A-Za-z]/.test(p)||p===`>`||p===`/>`)return _jsx(`span`,{className:`gv-tag`,children:p},j);return _jsx(`span`,{children:p},j)})},i)})})});const GvBody=({body})=>_jsx(`pre`,{children:_jsx(`code`,{children:Object.entries(body).map(([k,v])=>_jsxs(`div`,{children:[` `,_jsx(`span`,{className:`gv-key`,children:k}),`=`,v===``?_jsx(`span`,{className:`gv-empty`,children:`(empty)`}):_jsx(`span`,{className:`gv-str`,children:v})]},k))})});const GatherFlow=()=>{const _components={a:`a`,..._provideComponents()};const NUM_DIGITS=4;const FINISH=`#`;const[flowId,setFlowId]=React.useState(`element`);const[tries,setTries]=React.useState(0);const[authed,setAuthed]=React.useState(false);const[paid,setPaid]=React.useState(false);const[cur,setCur]=React.useState(`1`);const[digits,setDigits]=React.useState(``);const[path,setPath]=React.useState([`1`]);const[visited,setVisited]=React.useState(()=>new Set([`1`]));const[view,setView]=React.useState({s:1,x:0,y:0});const F=GV_FLOWS[flowId];const NODES=F.nodes;const L=F.layout;const n=NODES[cur]||NODES[`1`];const isExample=flowId===`example`;const applyAct=act=>{if(act===`authed`){setAuthed(true);setTries(0)}if(act===`try`)setTries(t=>Math.min(3,t+1));if(act===`paid`)setPaid(true)};const go=(id,fromMap,act)=>{if(!NODES[id])return;if(act)applyAct(act);if(NODES[id].input)setDigits(``);setCur(id);if(fromMap){setPath([id]);setVisited(new Set([id]));setDigits(``)}else{setPath(p=>p.concat(id));setVisited(v=>new Set(v).add(id))}};const restart=()=>{setCur(`1`);setDigits(``);setPath([`1`]);setVisited(new Set([`1`]));setTries(0);setAuthed(false);setPaid(false)};const pickFlow=id=>{setFlowId(id);setCur(`1`);setDigits(``);setPath([`1`]);setVisited(new Set([`1`]));setTries(0);setAuthed(false);setPaid(false)};const press=k=>{if(!collecting)return;if(k!==FINISH\u0026\u0026!/^[0-9]$/.test(k))return;if(k===FINISH){if(isExample\u0026\u0026n.input){go(n.to);return}setDigits(d=>d);go(`t_finish`);return}const next=digits+k;setDigits(next);if(isExample\u0026\u0026n.input)return;if(next.length>=NUM_DIGITS){go(`t_num`);return}if(cur!==`3`)go(`3`)};const fit=()=>{const el=gvCanvasEl();if(!el)return;const r=el.getBoundingClientRect();const s=Math.min((r.width-28)/L.w,(r.height-28)/L.h,1.05);setView({s:Math.max(.2,s),x:14,y:14})};React.useEffect(()=>{fit()},[]);React.useEffect(()=>{const el=gvCanvasEl();if(!el)return undefined;const onWheel=e=>{if(!e.ctrlKey\u0026\u0026!e.metaKey)return;e.preventDefault();const r=el.getBoundingClientRect(),mx=e.clientX-r.left,my=e.clientY-r.top;setView(v=>{const f=e.deltaY\u003c0?1.12:1/1.12;const ns=Math.min(2.2,Math.max(.2,v.s*f));return{s:ns,x:mx-(mx-v.x)*(ns/v.s),y:my-(my-v.y)*(ns/v.s)}})};el.addEventListener(`wheel`,onWheel,{passive:false});return()=>el.removeEventListener(`wheel`,onWheel)},[]);React.useEffect(()=>{const onKey=e=>{if(!collecting)return;if(/^[0-9#]$/.test(e.key)){e.preventDefault();press(e.key)}};window.addEventListener(`keydown`,onKey);return()=>window.removeEventListener(`keydown`,onKey)});const onDown=e=>{if(e.target.closest\u0026\u0026e.target.closest(`.gv-node`))return;GV_DRAG.at={x:e.clientX-view.x,y:e.clientY-view.y}};const onMove=e=>{if(!GV_DRAG.at)return;const d=GV_DRAG.at;setView(v=>({...v,x:e.clientX-d.x,y:e.clientY-d.y}))};const onUp=()=>{GV_DRAG.at=null};const zoom=f=>setView(v=>({...v,s:Math.min(2.2,Math.max(.2,v.s*f))}));const collecting=Boolean(n.live)||Boolean(isExample\u0026\u0026n.input);const usable=k=>collecting\u0026\u0026(k===FINISH||/^[0-9]$/.test(k));const typed=[`t_num`,`t_finish`,`t_gap`].indexOf(cur)>=0\u0026\u0026digits?digits:null;const xml=n.xml?F.xml[n.xml]:null;const baseHook=isExample?null:GV_HOOK[n.hook];const hook=baseHook\u0026\u0026typed?{url:baseHook.url,body:{...baseHook.body,Digits:typed}}:baseHook;const screen=collecting\u0026\u0026digits?digits:n.live?`waiting for input`:typed||n.screen||`—`;const isDigits=/^[0-9 #*]+$/.test(screen);return _jsx(`div`,{className:`gather-visualizer not-prose`,children:_jsxs(`main`,{className:`gv-shell`,children:[_jsxs(`div`,{className:`gv-intro`,children:[_jsx(`p`,{className:`gv-eyebrow`,children:`Interactive input flow`}),_jsx(`h1`,{children:isExample?`A real IVR, node by node.`:`Gather is a race. Walk it and see which condition wins.`}),_jsx(`p`,{className:`gv-lede`,children:isExample?`The same walkthrough over a whole customer line: identification with a retry counter, three levels of menu, a speech gate, a queue and a survey. Every violet node is your server deciding - Vobiz has no retry counter, no queue depth and no business hours of its own.`:`Four things can end a Gather: the digit count fills, the finish key is pressed, the gap between digits runs out, or the whole window expires. Use the dial pad on the left, or take a branch to see a timeout fire.`}),_jsx(`div`,{className:`gv-flowpick`,children:Object.keys(GV_FLOWS).map(id=>_jsxs(`button`,{type:`button`,onClick:()=>pickFlow(id),className:flowId===id?`is-on`:``,children:[GV_FLOWS[id].label,_jsxs(`span`,{children:[Object.keys(GV_FLOWS[id].nodes).length,` nodes`]})]},id))})]}),_jsxs(`div`,{className:`gv-grid`,children:[_jsxs(`aside`,{className:`gv-rail`,children:[isExample?_jsxs(`div`,{className:`gv-state`,children:[_jsxs(`div`,{className:`gv-cell`+(authed?` is-ok`:` is-warn`),children:[_jsx(`span`,{children:`identified`}),_jsx(`b`,{children:authed?`yes · A. Rao`:`no`})]}),_jsxs(`div`,{className:`gv-cell`+(tries===0?``:tries>=3?` is-bad`:` is-warn`),children:[_jsx(`span`,{children:`id attempts`}),_jsxs(`b`,{children:[tries,` of 3`]})]}),_jsxs(`div`,{className:`gv-cell`+(paid?` is-ok`:` is-warn`),children:[_jsx(`span`,{children:`balance due`}),_jsx(`b`,{children:paid?`₹0 · paid`:`₹4,820`})]}),_jsxs(`div`,{className:`gv-cell`,children:[_jsx(`span`,{children:`queue ahead`}),_jsx(`b`,{children:`11`})]})]}):null,_jsxs(`div`,{className:`gv-phone`,children:[_jsxs(`div`,{className:`gv-screen`,children:[_jsxs(`div`,{className:`gv-nid`,children:[`NODE `,cur.toUpperCase()]}),_jsx(`div`,{className:`gv-ntitle`,children:n.title}),_jsx(`div`,{className:`gv-readout`+(isDigits?` is-digits`:` is-prose`),children:screen}),n.desc?_jsx(`p`,{className:`gv-desc`,children:_jsx(GvRich,{text:n.desc})}):null]}),_jsx(`div`,{className:`gv-pad`,children:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`*`,`0`,`#`].map(d=>{const hit=isExample\u0026\u0026n.keys?n.keys.find(k=>k.k===d):null;const live=hit?true:usable(d);const label=hit?hit.label:!live?``:d===FINISH?`submit`:`collect`;return _jsxs(`button`,{type:`button`,disabled:!live,onClick:()=>hit?go(hit.to,false,hit.act):press(d),className:`gv-key`+(live?` is-live`:` is-dead`)+(!hit\u0026\u0026d===FINISH?` is-fk`:``),children:[_jsx(`span`,{className:`gv-d`,children:d}),_jsx(`span`,{className:`gv-kl`,children:label})]},d)})}),_jsx(`div`,{className:`gv-padnote`,children:n.keys\u0026\u0026isExample?`press a lit key to take that option`:collecting?`0-9 collect · ${FINISH} submits · ${digits.length}${n.live?` of `+NUM_DIGITS:``} entered`:`the pad is idle at this step`}),n.branches?_jsx(`div`,{className:`gv-branches`,children:n.branches.map(b=>_jsx(`button`,{type:`button`,className:`gv-branch`+(b.cls?` is-`+b.cls:``),onClick:()=>go(b.to,false,b.act),children:b.label===`RETRYLABEL`?b.label:b.label},b.to+b.label))}):n.to\u0026\u0026!n.terminal\u0026\u0026!(isExample\u0026\u0026(n.input||n.type===`speech`))?_jsx(`div`,{className:`gv-branches`,children:_jsx(`button`,{type:`button`,className:`gv-branch is-ok`,onClick:()=>go(n.to),children:`→ Continue`})}):null,n.timeout?_jsx(`div`,{className:`gv-branches`,children:_jsx(`button`,{type:`button`,className:`gv-branch is-bad`,onClick:()=>go(n.timeout.to),children:`⏱ Caller presses nothing → executionTimeout`})}):null,isExample\u0026\u0026n.type===`speech`?_jsx(`div`,{className:`gv-branches`,children:[`“There is no internet since morning”`,`“Umm… it is not working properly”`,`(says nothing)`].map(l=>_jsxs(`button`,{type:`button`,className:`gv-branch`,onClick:()=>go(n.to),children:[`🎤 `,l]},l))}):null,n.terminal?_jsx(`div`,{className:`gv-endbar`+(n.type===`action`?` is-act`:``),children:n.type===`action`?`Bridged to an advisor`:`Call ended`}):null]}),_jsxs(`div`,{className:`gv-card`,children:[_jsxs(`h3`,{children:[`XML that runs here`,_jsx(`span`,{className:`gv-el `+(xml?`is-on`:`is-off`),children:xml?`your document`:`none`})]}),xml?_jsx(GvXml,{text:xml}):_jsx(`p`,{className:`gv-none`,children:`No XML executes here - Vobiz is collecting input or deciding what ended it.`})]}),_jsxs(`div`,{className:`gv-card`,children:[_jsxs(`h3`,{children:[`Webhook fired here`,_jsx(`span`,{className:`gv-el `+(hook?`is-on`:`is-off`),children:hook?hook.url:`none`})]}),hook?_jsx(GvBody,{body:hook.body}):_jsx(`p`,{className:`gv-none`,children:`Nothing is sent to your server at this step.`})]}),_jsxs(`div`,{className:`gv-log`,children:[_jsx(`h3`,{children:`Path taken`}),_jsx(`div`,{className:`gv-crumbs`,children:path.map((id,i)=>_jsxs(`span`,{className:`gv-crumb`,children:[_jsx(`b`,{children:id.toUpperCase()}),` `,NODES[id].title]},id+i))})]})]}),_jsxs(`div`,{className:`gv-canvaswrap`,children:[_jsx(`div`,{className:`gv-hint`,children:`⌘/Ctrl + scroll = zoom · drag = pan · click a node to jump`}),_jsxs(`div`,{className:`gv-canvas`,id:`gvCanvas`,onMouseDown:onDown,onMouseMove:onMove,onMouseUp:onUp,onMouseLeave:onUp,children:[_jsxs(`div`,{className:`gv-viewport`,style:{transform:`translate(${view.x}px,${view.y}px) scale(${view.s})`},children:[_jsx(`svg`,{className:`gv-edges`,width:L.w,height:L.h,children:L.edges.map(e=>_jsx(`path`,{d:e.d,fill:`none`,stroke:e.sec?`var(--gv-faint)`:`rgba(232,60,0,.42)`,strokeWidth:e.sec?1.2:1.7,strokeDasharray:e.sec?`4 3`:undefined},e.key))}),Object.keys(NODES).map(id=>{const nd=NODES[id],p=L.pos[id];return _jsxs(`button`,{type:`button`,onClick:()=>go(id,true),className:`gv-node is-`+nd.type+(id===cur?` is-active`:``)+(visited.has(id)\u0026\u0026id!==cur?` is-visited`:``),style:{left:p.x,top:p.y},children:[_jsxs(`span`,{className:`gv-nid2`,children:[id.toUpperCase(),_jsx(`span`,{className:`gv-ntag`,children:nd.tag})]}),_jsx(`span`,{className:`gv-nt`,children:nd.title})]},id)})]}),_jsxs(`div`,{className:`gv-zoom`,children:[_jsx(`button`,{type:`button`,onClick:()=>zoom(1.18),children:`+`}),_jsx(`button`,{type:`button`,onClick:()=>zoom(1/1.18),children:`−`}),_jsx(`button`,{type:`button`,onClick:fit,children:`Fit`}),_jsx(`button`,{type:`button`,onClick:restart,children:`↻ Restart`})]}),_jsxs(`div`,{className:`gv-legend`,children:[_jsxs(`div`,{children:[_jsx(`i`,{style:{background:`var(--gv-ice)`}}),` Prompt`]}),_jsxs(`div`,{children:[_jsx(`i`,{style:{background:`var(--gv-sig)`}}),` Collecting`]}),_jsxs(`div`,{children:[_jsx(`i`,{style:{background:`var(--gv-mint)`}}),` Input captured`]}),_jsxs(`div`,{children:[_jsx(`i`,{style:{background:`var(--gv-amber)`}}),` Partial input`]}),_jsxs(`div`,{children:[_jsx(`i`,{style:{background:`var(--gv-rose)`}}),` Nothing captured`]})]})]})]})]}),_jsxs(`div`,{className:`gv-notes`,children:[_jsxs(`div`,{children:[_jsx(`strong`,{children:`numDigits wins early`}),_jsx(`span`,{children:`The moment the Nth digit lands, Vobiz submits - before either timer has a say.`})]}),_jsxs(`div`,{children:[_jsx(`strong`,{children:`finishOnKey is dropped`}),_jsxs(`span`,{children:[`The terminating key submits the input but is never included in `,_jsx(`code`,{children:`Digits`}),`.`]})]}),_jsxs(`div`,{children:[_jsx(`strong`,{children:`digitEndTimeout is a gap`}),_jsx(`span`,{children:`It measures silence between presses and resets on each one, while the overall window keeps draining.`})]}),_jsxs(`div`,{children:[_jsx(`strong`,{children:`executionTimeout posts anyway`}),_jsx(`span`,{children:`On expiry Vobiz still POSTs with empty values and moves on. Always put fallback XML after Gather.`})]})]}),_jsxs(`p`,{className:`gv-flag`,children:[_jsx(`strong`,{children:`One thing this page does not claim.`}),` Whether a DTMF press interrupts a still-playing prompt is not documented, so here the prompt always plays out before the window opens.`]}),_jsxs(`div`,{className:`gv-footer-link`,children:[_jsxs(_components.a,{href:`/xml/gather`,children:[`Read the Gather reference `,_jsx(`span`,{\"aria-hidden\":`true`,children:`→`})]}),_jsxs(_components.a,{href:`/xml/gather/detecting-speech-inputs`,children:[`Speech input `,_jsx(`span`,{\"aria-hidden\":`true`,children:`→`})]}),_jsxs(_components.a,{href:`/resources/dial-transfer-visualizer`,children:[`Dial transfer visualizer `,_jsx(`span`,{\"aria-hidden\":`true`,children:`→`})]})]})]})})};function _createMdxContent(props){const{_MdxComponentBoundary}={..._provideComponents(),...props.components};if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsx(_MdxComponentBoundary,{name:`GatherFlow`,children:_jsx(GatherFlow,{})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{GV_CALL,GV_XML,GV_HOOK,GV_NODES,GV_EX,GV_EX_XML,gvLayout,GV_LAYOUT,GV_EX_LAYOUT,GV_FLOWS,GvRich,GV_DRAG,gvCanvasEl,GvXml,GvBody,GatherFlow,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":"Gather XML Input Visualizer","sidebarTitle":"Gather Input Visualizer","description":"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.","keywords":["Gather XML visualizer","DTMF input flow","numDigits finishOnKey","digitEndTimeout","executionTimeout Gather","speechEndTimeout","inputType dtmf speech","IVR keypad visualizer","Gather action URL","interimSpeechResultsCallback","SpeechConfidenceScore","Vobiz Gather element","collect digits XML","IVR menu XML","speech recognition Gather","voice XML input","Gather timeout behaviour","gather digits webhook","Vobiz IVR tool","DTMF flow map"],"mode":"wide","href":"/resources/gather-visualizer"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[27,38,""],[123,33884,"undefined;const GV_XML=undefined;const GV_HOOK=undefined;const GV_NODES=undefined;const GV_EX=undefined;const GV_EX_XML=undefined;const gvLayout=()=>null;const GV_LAYOUT=undefined;const GV_EX_LAYOUT=undefined;const GV_FLOWS=undefined;const GvRich=()=>null;const GV_DRAG=undefined;const gvCanvasEl=()=>null;const GvXml=()=>null;const GvBody=()=>null;const GatherFlow=()=>null;funct"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/vobizai/478834ae2c200a0e/blog-schema.js","/docs/_mintlify/custom/vobizai/13b0cd7ec6e39877/anchor-link-text.js"],"subdomain":"vobizai","siteName":"Vobiz","title":"Gather XML Input Visualizer - Vobiz","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T14:50:27.079Z","originalFileLocation":"resources/gather-visualizer.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=\"dark\"}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=\"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vobiz\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/vobizai/oc0LWA8xGPKGY1Z5/_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/vobizai/oc0LWA8xGPKGY1Z5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/vobizai/oc0LWA8xGPKGY1Z5/_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/vobizai/oc0LWA8xGPKGY1Z5/_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/vobizai/oc0LWA8xGPKGY1Z5/_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/vobizai/oc0LWA8xGPKGY1Z5/_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/vobizai/oc0LWA8xGPKGY1Z5/_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/vobizai/oc0LWA8xGPKGY1Z5/_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/vobizai/oc0LWA8xGPKGY1Z5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Gather XML Input Visualizer - Vobiz\">\u003cmeta data-mint-head property=\"og:description\" content=\"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vobiz Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.vobiz.ai/docs/resources/gather-visualizer\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vobizai.mintlify.site/docs/_mintlify/api/og/v2?division=Tools\u0026amp;title=Gather+XML+Input+Visualizer\u0026amp;description=Walk+a+Gather+from+prompt+to+action+URL.+Press+the+dial+pad+and+see+which+terminator+wins+-+numDigits%2C+finishOnKey%2C+digitEndTimeout%2C+or+executionTimeout.\u0026amp;theme=d9cfb5a257c4db351c1c1eeb\u0026amp;signature=c27a029284ead882be26873910a918179797ba34dc4af27d1eb50b5279e2539b\">\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=\"Gather XML Input Visualizer - Vobiz\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vobizai.mintlify.site/docs/_mintlify/api/og/v2?division=Tools\u0026amp;title=Gather+XML+Input+Visualizer\u0026amp;description=Walk+a+Gather+from+prompt+to+action+URL.+Press+the+dial+pad+and+see+which+terminator+wins+-+numDigits%2C+finishOnKey%2C+digitEndTimeout%2C+or+executionTimeout.\u0026amp;theme=d9cfb5a257c4db351c1c1eeb\u0026amp;signature=c27a029284ead882be26873910a918179797ba34dc4af27d1eb50b5279e2539b\">\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/vobizai/oc0LWA8xGPKGY1Z5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vobiz\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E83C00\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@Vobiz_Ai\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#E83C00\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"dark light\">\u003cmeta data-mint-head name=\"author\" content=\"Vobiz\">\u003cmeta data-mint-head name=\"publisher\" content=\"Vobiz\">\u003cmeta data-mint-head name=\"copyright\" content=\"Copyright 2025 Vobiz\">\u003cmeta data-mint-head name=\"reply-to\" content=\"support@vobiz.ai\">\u003cmeta data-mint-head name=\"format-detection\" content=\"telephone=no\">\u003cmeta data-mint-head name=\"referrer\" content=\"origin-when-cross-origin\">\u003cmeta data-mint-head name=\"rating\" content=\"general\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"category\" content=\"Technology\">\u003cmeta data-mint-head name=\"coverage\" content=\"Worldwide\">\u003cmeta data-mint-head name=\"distribution\" content=\"global\">\u003cmeta data-mint-head name=\"target\" content=\"all\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.vobiz.ai/docs/resources/gather-visualizer\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/resources/gather-visualizer.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.vobiz.ai/#organization\",\"name\":\"Vobiz\",\"url\":\"https://www.vobiz.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vobizai/cPP2drhQ7lKsmogc/logo/light.svg?fit=max\u0026auto=format\u0026n=cPP2drhQ7lKsmogc\u0026q=85\u0026s=8e1f6273f626f638f46d6df526d4775c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.vobiz.ai/docs#website\",\"name\":\"Vobiz\",\"url\":\"https://www.vobiz.ai/docs\",\"publisher\":{\"@id\":\"https://www.vobiz.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.vobiz.ai/docs/resources/gather-visualizer#webpage\",\"url\":\"https://www.vobiz.ai/docs/resources/gather-visualizer\",\"name\":\"Gather XML Input Visualizer\",\"description\":\"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.\",\"dateModified\":\"2026-11-03T14:50:27.079Z\",\"isPartOf\":{\"@id\":\"https://www.vobiz.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.vobiz.ai/docs/resources/gather-visualizer#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.vobiz.ai/docs/resources/gather-visualizer#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tools\",\"item\":\"https://www.vobiz.ai/docs/resources/calculator\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gather XML Input Visualizer\",\"item\":\"https://www.vobiz.ai/docs/resources/gather-visualizer\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.vobiz.ai/docs/resources/gather-visualizer#article\",\"headline\":\"Gather XML Input Visualizer\",\"name\":\"Gather XML Input Visualizer\",\"description\":\"Walk a Gather from prompt to action URL. Press the dial pad and see which terminator wins - numDigits, finishOnKey, digitEndTimeout, or executionTimeout.\",\"url\":\"https://www.vobiz.ai/docs/resources/gather-visualizer\",\"mainEntityOfPage\":{\"@id\":\"https://www.vobiz.ai/docs/resources/gather-visualizer#webpage\"},\"dateModified\":\"2026-11-03T14:50:27.079Z\",\"keywords\":\"Gather XML visualizer, DTMF input flow, numDigits finishOnKey, digitEndTimeout, executionTimeout Gather, speechEndTimeout, inputType dtmf speech, IVR keypad visualizer, Gather action URL, interimSpeechResultsCallback, SpeechConfidenceScore, Vobiz Gather element, collect digits XML, IVR menu XML, speech recognition Gather, voice XML input, Gather timeout behaviour, gather digits webhook, Vobiz IVR tool, DTMF flow map\",\"publisher\":{\"@id\":\"https://www.vobiz.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.vobiz.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vobiz\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Vobiz\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/resources/gather-visualizer.md","siteName":"Vobiz","nav":{"global":{"anchors":[{"anchor":"API Status","icon":"signal","href":"https://status.vobiz.ai"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","boost":5,"icon":"rocket","pages":[{"title":"Vobiz Docs: Voice, SIP Trunking, SMS \u0026 WhatsApp APIs","sidebarTitle":"Introduction","href":"/introduction"},{"title":"Quick Start – Make Your First Vobiz Call","sidebarTitle":"Quick Start","href":"/quick-start"},{"title":"Vobiz API Authentication: X-Auth-ID \u0026 X-Auth-Token","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Buy a Phone Number on Vobiz – Step-by-Step Guide","sidebarTitle":"Buy a Phone Number","href":"/buy-a-phone-number"},{"title":"Vobiz API Errors: Status Codes \u0026 Response Formats","sidebarTitle":"Error Handling","href":"/errors"},{"title":"Vobiz API Rate Limits: 429 Errors \u0026 Retry-After","sidebarTitle":"Rate Limits","href":"/rate-limits"},{"title":"Vobiz API changelog","sidebarTitle":"Changelog","href":"/changelog"}]},{"group":"Core Concepts","icon":"lightbulb","root":{"title":"Vobiz Platform Concepts \u0026 Architecture","sidebarTitle":"Concepts","href":"/concepts"},"pages":[{"title":"What Is SIP Trunking? How It Works on Vobiz","href":"/concepts/sip-trunking"},{"title":"Bring Your Own Carrier (BYOC) — Connect Your SIP Trunk","sidebarTitle":"Bring Your Own Carrier","href":"/concepts/bring-your-own-carrier"},{"title":"Voice Streaming over WebSockets | Vobiz Stream API","href":"/concepts/streaming-websockets"},{"title":"SIP vs WebSockets: Which to Use for AI Voice Agents on Vobiz","href":"/concepts/sip-vs-websockets"},{"title":"Audio Quality — HD Voice, VAD \u0026 Noise Cancellation","sidebarTitle":"Audio Quality","href":"/concepts/audio-quality"},{"title":"Sub-Accounts vs Partner Accounts on Vobiz — When to Use Each","sidebarTitle":"Sub-accounts vs partner accounts","href":"/concepts/sub-accounts-vs-partner-accounts"},{"title":"Vobiz Webhooks (Callbacks): Real-Time Call Events","sidebarTitle":"Callbacks","href":"/concepts/callbacks"},{"title":"Vobiz Webhook (Callback) Configuration","sidebarTitle":"Callback Configurations","href":"/concepts/callback-configurations"},{"title":"How to Validate Vobiz Webhook Signatures (HMAC)","href":"/concepts/validating-callbacks"},{"title":"Vobiz IP Address Allowlist — Firewall \u0026 SIP Whitelist","href":"/concepts/ip-whitelisting"},{"title":"Voice API Hangup Causes – Codes \u0026 Troubleshooting","sidebarTitle":"Hangup Causes","href":"/concepts/hangup-causes"}]},{"group":"Best Practices","icon":"star","root":{"title":"Integration Best Practices: Security \u0026 Reliability","sidebarTitle":"Best Practices","href":"/best-practices"},"pages":[{"title":"How an Outbound Campaign Manager Works — Caps \u0026 Retries","sidebarTitle":"Outbound Campaign Manager","href":"/best-practices/outbound-campaign-manager"},{"title":"Phone Number Utilization — Rotation \u0026 Spam Prevention","href":"/best-practices/number-utilization"},{"title":"Phone Number Health — Spam Detection, Pacing \u0026 Recovery","href":"/best-practices/number-health-guide"},{"title":"DLT Entity Registration — TRAI Compliance for Voice \u0026 SMS","sidebarTitle":"DLT Entity Registration","href":"/best-practices/dlt-registration"},{"title":"India 140 \u0026 160 Number Acquisition — Documents \u0026 Timelines","href":"/best-practices/140-160-acquisition"},{"title":"140 \u0026 160 DID Provisioning — PE Certificate, LOI \u0026 DLT","sidebarTitle":"DID Provisioning","href":"/best-practices/did-provisioning"},{"title":"India 92-Series Numbers — OTP Calls, Pickup Rates \u0026 KYC","href":"/best-practices/92-series-guide"}]},{"group":"Using Vobiz Platform","icon":"grip","pages":[{"title":"Console Login \u0026 Signup","sidebarTitle":"Login \u0026 Signup","href":"/platform/login"},{"title":"Vobiz Console Dashboard: API Credentials \u0026 Call Analytics","sidebarTitle":"Dashboard","href":"/platform/dashboard"},{"group":"Voice Applications","icon":"phone-volume","pages":[{"title":"Voice Applications Overview","sidebarTitle":"Overview","href":"/platform/voice/overview"},{"title":"XML Applications: Create \u0026 Manage Voice Apps","sidebarTitle":"Applications","href":"/platform/voice/applications"},{"title":"SIP Endpoints: Softphone \u0026 WebRTC Logins","sidebarTitle":"Endpoints","href":"/platform/voice/endpoints"},{"title":"How to Receive an Inbound Call in Your Browser","sidebarTitle":"Receive an Inbound Call","href":"/guides/receive-inbound-call"},{"group":"Logs","icon":"list","pages":[{"title":"Voice Call Logs: Per-Call Records \u0026 Quality Metrics","sidebarTitle":"Call Logs","href":"/platform/voice/call-logs"},{"title":"Voice Call Recordings: Playback \u0026 AI Insights","sidebarTitle":"Recordings","href":"/platform/voice/recordings"}]},{"title":"Campaigns: Launch \u0026 Manage Outbound Runs","sidebarTitle":"Campaigns","href":"/platform/campaigns/list"},{"title":"Campaign Agents: Reusable Webhook Configs","sidebarTitle":"Agents","href":"/platform/campaigns/agents"},{"title":"Campaign Call Logs: Per-Attempt Outbound History","sidebarTitle":"Campaign Call Logs","href":"/platform/campaigns/call-logs"}]},{"group":"SIP Trunking","icon":"network-wired","pages":[{"title":"SIP Trunking Overview: Global Voice Connectivity","sidebarTitle":"Overview","href":"/platform/sip/overview"},{"group":"Outbound Trunks","icon":"arrow-up-right-from-square","pages":[{"title":"Outbound Trunks: SIP Termination from Your PBX","sidebarTitle":"Trunks","href":"/platform/sip/outbound-trunks"},{"title":"IP Access Control List (ACL): Whitelist PBX IPs","sidebarTitle":"IP Access Control List","href":"/platform/sip/ip-access-control-list"},{"title":"SIP Credentials List: Username \u0026 Password Auth","sidebarTitle":"Credentials List","href":"/platform/sip/credentials"}]},{"group":"Inbound Trunks","icon":"arrow-down-to-bracket","pages":[{"title":"Inbound Trunks: Receive PSTN Calls","sidebarTitle":"Trunks","href":"/platform/sip/inbound-trunks"},{"title":"Origination URI: SIP Destinations for Inbound Calls","sidebarTitle":"Origination URI","href":"/platform/sip/origination-uri"}]},{"group":"Logs","icon":"list","pages":[{"title":"SIP Call Logs: Per-Call Records \u0026 Quality","sidebarTitle":"Call Logs","href":"/platform/sip/call-logs"},{"title":"SIP Trunk Call Recordings: Playback \u0026 Transcripts","sidebarTitle":"Recordings","href":"/platform/sip/recordings"}]}]},{"group":"Phone Numbers","icon":"hashtag","pages":[{"title":"Buy a Number: Numbers Inventory","sidebarTitle":"Buy a Number","href":"/platform/numbers/buy"},{"title":"My Numbers: Your Number Inventory","sidebarTitle":"My Numbers","href":"/platform/numbers/my-numbers"}]},{"title":"Sub-Accounts: Child Accounts \u0026 Number Assignment","sidebarTitle":"Sub-Accounts","href":"/platform/subaccounts"},{"title":"Team Members: Roles, Access \u0026 Member Management","sidebarTitle":"Team Members","href":"/platform/team"},{"group":"Capacity","icon":"gauge-high","pages":[{"title":"CPS: Buy Call-Initiation Throughput","sidebarTitle":"CPS","href":"/platform/capacity/cps"},{"title":"Concurrency: Buy Simultaneous Call Capacity","sidebarTitle":"Concurrency","href":"/platform/capacity/concurrency"},{"title":"My Subscriptions: Manage Capacity Subscriptions","sidebarTitle":"My Subscriptions","href":"/platform/capacity/subscriptions"}]}]},{"group":"Messaging (SMS \u0026 RCS)","icon":"comment-sms","pages":[{"title":"Vobiz Messaging Numbers","sidebarTitle":"Messaging numbers","href":"/sms/numbers"},{"title":"Vobiz Messaging Compliance: 10DLC, Toll-Free \u0026 DLT","sidebarTitle":"Compliance overview","href":"/sms/compliance/overview"},{"title":"US 10DLC Brand Registration — Create, Submit \u0026 Verify","sidebarTitle":"US 10DLC brands","href":"/sms/compliance/us-10dlc-brands"},{"title":"US 10DLC Campaign Registration — Use Cases \u0026 Statuses","sidebarTitle":"US 10DLC campaigns","href":"/sms/compliance/us-10dlc-campaigns"},{"title":"US Toll-Free SMS Verification — Submission \u0026 Appeals","sidebarTitle":"US toll-free","href":"/sms/compliance/us-toll-free"},{"title":"India DLT SMS Compliance — Entity, Header \u0026 Template IDs","sidebarTitle":"India DLT","href":"/sms/compliance/india-dlt"}]},{"group":"Compliance","icon":"shield-halved","pages":[{"title":"Global Compliance — Voice \u0026 SMS Regulations by Country","href":"/compliance/overview"},{"group":"India","pages":[{"title":"India Calling Regulations","href":"/compliance/india/calling-regulations"},{"title":"India Number KYC","href":"/compliance/india/kyc"},{"title":"UCC \u0026 NDNC Compliance","sidebarTitle":"UCC \u0026 NDNC","href":"/compliance/india/ucc"}]},{"group":"United States","pages":[{"title":"US Calling Regulations — TCPA, STIR/SHAKEN \u0026 DNC Rules","href":"/compliance/us/calling-regulations"},{"title":"US SMS Regulations — TCPA, 10DLC, Quiet Hours \u0026 Opt-Out Rules","href":"/compliance/us/sms-regulations"}]}]},{"group":"FAQ","icon":"question","root":{"title":"Vobiz FAQ: Billing, API Limits \u0026 SIP Trunking","sidebarTitle":"FAQ","href":"/faq"},"pages":[{"title":"Can I connect my trial number for inbound calls?","href":"/faq/trial-inbound"},{"title":"SIP 480 \u0026 486 Errors: Temporarily Unavailable \u0026 Busy Here","sidebarTitle":"SIP 480 and 486","href":"/faq/sip-codes-480-486"},{"title":"Why am I receiving a 429 error?","href":"/faq/error-429"},{"title":"'From number not owned by account' Error","sidebarTitle":"From number not owned error","href":"/faq/from-number-not-owned"},{"title":"What Is Call Concurrency? Simultaneous Call Capacity Explained","href":"/faq/concurrency"},{"title":"What Is CPS? Calls Per Second and Voice Throughput Explained","href":"/faq/cps"},{"title":"Can I purchase additional Concurrency or CPS?","href":"/faq/purchase-concurrency-cps"},{"title":"Do you provide 140, 160, and 92 series numbers?","href":"/faq/number-series"},{"title":"What integrations do you support?","href":"/faq/integrations"},{"title":"Is call transfer supported?","href":"/faq/call-transfer"},{"title":"Do you support IVR?","href":"/faq/ivr"},{"title":"What documents are required for verification?","href":"/faq/verification-docs"},{"title":"How can I contact support?","href":"/faq/contact-support"},{"title":"What Is Domestic Calling? IN-to-IN Calling on Vobiz Explained","href":"/faq/domestic-calling-india"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"CPS \u0026 Concurrency Calculator","href":"/resources/calculator"},{"title":"Vobiz Visual XML Builder for Voice Call Flows","sidebarTitle":"XML Builder","href":"/xml-builder"},{"title":"Stream Events Visualizer","sidebarTitle":"Stream Events Visualizer","mode":"wide","href":"/resources/stream-events-visualizer"},{"title":"Dial XML Transfer Visualizer","sidebarTitle":"Dial Transfer Visualizer","description":"Step through a Vobiz call transfer: a caller reaches your AI agent, Dial rings a human on standby, and the human accepts or rejects. See every webhook and XML.","mode":"wide","href":"/resources/dial-transfer-visualizer"},{"title":"Gather XML Input Visualizer","sidebarTitle":"Gather Input Visualizer","mode":"wide","href":"/resources/gather-visualizer"},{"title":"SIP Trunk vs WebSocket Visualizer","sidebarTitle":"SIP vs WebSocket Visualizer","description":"Step through both Vobiz connectivity paths side by side - a SIP trunk using IP ACL or credentials, and a WebSocket app driven by your Answer URL.","mode":"wide","href":"/resources/sip-vs-websocket-visualizer"},{"title":"CPS \u0026 Concurrency Visualizer","sidebarTitle":"CPS vs Concurrency Visualizer","mode":"wide","href":"/resources/cps-concurrency-visualizer"},{"title":"Conference XML Visualizer","sidebarTitle":"Conference Visualizer","mode":"wide","href":"/resources/conference-visualizer"},{"title":"Bulk and batch operations","sidebarTitle":"Bulk and batch","href":"/resources/bulk-operations"},{"group":"Sitemap","root":{"title":"Vobiz Documentation Sitemap","sidebarTitle":"Sitemap","href":"/resources/sitemap"},"pages":[{"title":"Vobiz Docs Sitemap - Documentation","sidebarTitle":"Documentation","href":"/resources/sitemap/documentation"},{"title":"Vobiz Docs Sitemap - API Reference: Regular APIs","sidebarTitle":"API Reference: Regular APIs","href":"/resources/sitemap/api-reference-regular-apis"},{"title":"Vobiz Docs Sitemap - API Reference: SIP Trunking","sidebarTitle":"API Reference: SIP Trunking","href":"/resources/sitemap/api-reference-sip-trunking"},{"title":"Vobiz Docs Sitemap - API Reference: Voice \u0026 XML","sidebarTitle":"API Reference: Voice \u0026 XML","href":"/resources/sitemap/api-reference-voice-xml"},{"title":"Vobiz Docs Sitemap - API Reference: SMS \u0026 RCS","sidebarTitle":"API Reference: SMS \u0026 RCS","href":"/resources/sitemap/api-reference-sms-rcs"},{"title":"Vobiz Docs Sitemap - API Reference: WhatsApp","sidebarTitle":"API Reference: WhatsApp","href":"/resources/sitemap/api-reference-whatsapp"},{"title":"Vobiz Docs Sitemap - API Reference: Partner API","sidebarTitle":"API Reference: Partner API","href":"/resources/sitemap/api-reference-partner-api"},{"title":"Vobiz Docs Sitemap - Integrations","sidebarTitle":"Integrations","href":"/resources/sitemap/integrations"},{"title":"Vobiz Docs Sitemap - Examples \u0026 Tutorials","sidebarTitle":"Examples \u0026 Tutorials","href":"/resources/sitemap/examples-tutorials"},{"title":"Vobiz Docs Sitemap - Blogs","sidebarTitle":"Blogs","href":"/resources/sitemap/blogs"}]}]},{"group":"AI agents","icon":"robot","pages":[{"title":"Vobiz Agent Skills","sidebarTitle":"Agent Skills","href":"/resources/skills"},{"title":"Vobiz MCP Server","sidebarTitle":"MCP Server","href":"/resources/vobiz-mcp"},{"title":"Vobiz Docs MCP Server","sidebarTitle":"Docs MCP Server","href":"/resources/mcp"},{"title":"Vobiz CLI — Calls, SMS \u0026 Numbers from Your Terminal","sidebarTitle":"CLI","href":"/resources/cli"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/account"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Examples \u0026 Tutorials","pages":[{"title":"Examples \u0026 Tutorials","href":"/guides/ai-voice-agent"}]},{"tab":"Blogs","pages":[{"title":"Blogs","href":"/blogs"}]}]},"basePath":"","title":"Gather XML Input Visualizer - Vobiz","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":[],"chunks":[]}