Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.
Once your carrier sends calls to Bolna, each number on the trunk needs an agent to answer it. This page covers assigning agents and what an agent knows about each caller.Before you start, connect your carrier: the trunk needs your carrier’s IPs and at least one number.
How an inbound call is routed
Your carrier sends the INVITE to trunk.bolna.ai. Bolna accepts it only from an address on the carrier IPs of an active trunk. Any other source gets 403 Forbidden.
Bolna matches the called number, the user part of the Request-URI, against that trunk’s numbers. It matches the E.164 number with or without the +, or the number’s destination key.
The call goes to the number’s agent. A number without its own agent goes to the trunk’s default agent. If there is neither, the call is refused with a 404 response.
The agent’s inbound rules then apply, such as blocked callers and inbound call limits, followed by your account balance and the trunk’s channel limit.
Any agent in the same organization or sub-account as the trunk can answer its numbers. The agent’s Telephony Provider setting does not affect inbound calls.
Assign an agent to a number
You can assign agents from the trunk or from the agent.
1
From the trunk's Numbers tab
Open SIP Trunks, open the trunk and go to the Numbers tab. In the Agent column, pick an agent for each number. A number with no agent, on a trunk with no default agent, is marked Unrouted, and calls to it are rejected.
Assigning agents on the Numbers tab
2
Or set a default agent
On the same tab, Default agent answers every number that has no agent of its own. Leave it at None (optional) to reject calls to unassigned numbers instead.
3
Or from the agent
Open the agent, go to the Calling tab and, under Inbound Calling, pick the trunk number as the Inbound number.
Linking a trunk number from the agent
Linking a number from the agent’s Calling tab makes it that agent’s only inbound number; the agent’s other numbers are unlinked. On the trunk’s Numbers tab, or through the API, several numbers can point at the same agent.
To check the setup, call the number from any phone. The call appears on the trunk’s Activity tab under Recent calls and in Call History.
What the agent knows about the caller
Every inbound trunk call fills these variables in recipient_data, so you can use them in the prompt as {from_number} and so on:
Variable
Value
from_number, user_number
The caller’s number, as the user part of the INVITE’s From header
to_number, agent_number
The called number, as the carrier sent it in the Request-URI, without a leading +
call_sid
The Call-ID of the carrier’s INVITE
agent_id
The agent answering the call
timezone
The call’s time zone
Two more sources add to recipient_data:
Carrier headers. Bolna passes P-Asserted-Identity, Diversion, Call-ID and custom X- headers from the INVITE to the agent. Map one to a variable on the agent to use it; see SIP headers.
Your caller data. With Identify incoming callers set up, Bolna looks up the caller in your CSV, API or Google Sheet and adds the matching row. The lookup uses from_number, or the value of a mapped header if you set an ingest lookup key. When a header variable and a looked-up value have the same name, the looked-up value wins.
Some carriers put the real caller ID in P-Asserted-Identity and a trunk or pilot number in From. If from_number is not the caller you expect, map P-Asserted-Identity to a variable and compare.
Using the API
Assign an agent to a number with assign agent, using the number’s id from get trunk. Send "agent_id": null to unassign it. To set the trunk’s default agent, update the trunk with default_inbound_agent_id.
An agent outside the trunk’s organization or sub-account is refused with 400 and agent not in tenant. To stop a trunk taking inbound calls without deleting it, update it with "inbound_enabled": false; calls to its numbers are then refused.List calls returns each call’s execution_id, direction, the far party’s number, duration_s, outcome, and the sip_code and sip_cause it ended with. direction is all, inbound, outbound or failed, and limit is at most 100.
Next steps
SIP headers
Map carrier headers such as P-Asserted-Identity or X-CALLERNO to prompt variables.
Troubleshooting
Calls refused with 403, 404 or 486.
Was this page helpful?
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Bolna Docs","description":"Quickly build and deploy conversational Voice AI agents","colors":{"primary":"#0073FF","light":"#64AAFF","dark":"#111111"},"logo":{"light":"https://mintcdn.com/bolna-54a2d4fe/VALWWMf7cQUV4GqY/logo/bolna-full-black.svg?fit=max\u0026auto=format\u0026n=VALWWMf7cQUV4GqY\u0026q=85\u0026s=9ad059134ba7338f4da43293d005f1e5","dark":"https://mintcdn.com/bolna-54a2d4fe/VALWWMf7cQUV4GqY/logo/bolna-full-white.svg?fit=max\u0026auto=format\u0026n=VALWWMf7cQUV4GqY\u0026q=85\u0026s=11287fcf7fd00922b6ea065d4247fe83","href":"https://www.bolna.ai/docs"},"favicon":{"light":"https://mintcdn.com/bolna-54a2d4fe/8f2PS3DzbOQMg6a5/favicon-bolna.svg?fit=max\u0026auto=format\u0026n=8f2PS3DzbOQMg6a5\u0026q=85\u0026s=65bdfd76b54fe55c7ea7edae0efb50e9","dark":"https://mintcdn.com/bolna-54a2d4fe/I_65jyMVzaUKonyY/favicon-bolna-white.svg?fit=max\u0026auto=format\u0026n=I_65jyMVzaUKonyY\u0026q=85\u0026s=afa80c7dbb9e76d1a9272c2f716b6aa6"},"api":{"openapi":"api-reference/openapi.yml"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#111111"}},"navbar":{"links":[{"icon":"globe","href":"https://status.bolna.ai","label":"Status"},{"icon":"slack","href":"https://www.bolna.ai/join-slack","label":"Ask us on Slack"},{"icon":"gauge","href":"https://platform.bolna.ai/sign-up","label":"Platform"}]},"footer":{"socials":{"website":"https://platform.bolna.ai","github":"https://github.com/bolna-ai/bolna","slack":"https://www.bolna.ai/join-slack","linkedin":"https://www.linkedin.com/company/bolna-ai","youtube":"https://www.youtube.com/@BolnaVoiceAI","instagram":"https://www.instagram.com/bolna_dev"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Bolna AI Documentation","canonical":"https://www.bolna.ai/docs"},"organization":{"id":"https://www.bolna.ai/#organization","name":"Bolna AI","legalName":"Whismurwave Inc.","url":"https://www.bolna.ai","logo":"https://www.bolna.ai/logos/logo-black.png","sameAs":["https://www.linkedin.com/company/bolna-ai/","https://www.ycombinator.com/companies/bolna-ai","https://github.com/bolna-ai","https://x.com/bolna_dev","https://www.youtube.com/@BolnaVoiceAI"]}},"fonts":{"family":"Anek Latin"},"styling":{"codeblocks":"system","latex":true},"integrations":{"ga4":{"measurementId":"G-BJ5QXHE52P"},"gtm":{"tagId":"GTM-53BBWG2J"}},"contextual":{"options":["copy","view","chatgpt","claude","add-mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bolna-54a2d4fe","hasAudioNarration":false,"actualSubdomain":"bolna-54a2d4fe","customDomains":["www.bolna.ai"],"gitSource":{"type":"github","owner":"bolna-ai","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0e8d354ebba4cced6f3d6f","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Voice Agents","count":196},{"language":"default","tag":"API Reference","count":174},{"language":"default","tag":"Build","count":88},{"language":"default","tag":"Deploy","count":79},{"language":"default","tag":"Integrations","count":71},{"language":"default","tag":"Workflows","count":66},{"language":"default","tag":"Voice agents","count":57},{"language":"default","tag":"Telephony","count":50},{"language":"default","tag":"AI models","count":47},{"language":"default","tag":"Developers","count":44}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@bolna.ai"}},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":":root{--bolna-black: #111111;--bolna-grey-05: #262626;--bolna-grey-04: #5b5c5c;--bolna-grey-02: #d0d0d0;--bolna-grey-01: #f2f2f2;--bolna-blue: #0073ff;--bolna-radius-button: 12px;--bolna-radius-card: 16px}#banner{background-color:var(--bolna-black)!important}img[src*=\"bolna-full-\"]{height:26px!important;width:auto!important;max-height:unset!important;max-width:unset!important}.update-container{flex-direction:column!important;align-items:stretch!important}.update-container>div:first-child{position:static!important;width:auto!important;margin-bottom:0.5rem}#content-container,#content-container :is(p,li,td,th,dd,dt,span,div){hyphens:none!important;-webkit-hyphens:none!important}#content-container code:not(pre code){word-break:normal!important;overflow-wrap:break-word!important}:is(h1,h2,h3,#page-title){letter-spacing:-0.02em}:root{font-size-adjust:0.546}:is(code,pre,kbd,samp){font-size-adjust:none}.card{border-radius:var(--bolna-radius-card)!important}.card:hover{border-color:var(--bolna-black)!important}html.dark .card:hover{border-color:#ffffff!important}"}]}
{"page":{"pagePath":"sip-trunking/inbound-calls","slug":"/sip-trunking/inbound-calls","pageMetadata":{"title":"Receive inbound calls on a SIP trunk","sidebarTitle":"Inbound calls","description":"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.","icon":"phone-arrow-down-left","iconType":"solid","last_reviewed":"2026-10-18","href":"/sip-trunking/inbound-calls"},"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: \"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.\"\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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,CodeGroup,Frame,Heading,Note,OptimizedImage,Step,Steps,Table,Tip}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Once your carrier sends calls to Bolna, each number on the trunk needs an agent to answer it. This page covers assigning agents and what an agent knows about each caller.`}),`\n`,_jsxs(_components.p,{children:[`Before you start, `,_jsx(_components.a,{href:`/sip-trunking/connect-carrier`,children:`connect your carrier`}),`: the trunk needs your carrier’s IPs and at least one number.`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-an-inbound-call-is-routed`,children:`How an inbound call is routed`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Your carrier sends the INVITE to `,_jsx(_components.code,{children:`trunk.bolna.ai`}),`. Bolna accepts it only from an address on the carrier IPs of an active trunk. Any other source gets `,_jsx(_components.code,{children:`403 Forbidden`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Bolna matches the called number, the user part of the Request-URI, against that trunk’s numbers. It matches the E.164 number with or without the `,_jsx(_components.code,{children:`+`}),`, or the number’s destination key.`]}),`\n`,_jsxs(_components.li,{children:[`The call goes to the number’s agent. A number without its own agent goes to the trunk’s default agent. If there is neither, the call is refused with a `,_jsx(_components.code,{children:`404`}),` response.`]}),`\n`,_jsxs(_components.li,{children:[`The agent’s inbound rules then apply, such as `,_jsx(_components.a,{href:`/customizations/block-incoming-callers`,children:`blocked callers`}),` and inbound call limits, followed by your account balance and the trunk’s channel limit.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Any agent in the same organization or sub-account as the trunk can answer its numbers. The agent’s `,_jsx(_components.strong,{children:`Telephony Provider`}),` setting does not affect inbound calls.`]}),`\n`,_jsx(Heading,{level:`2`,id:`assign-an-agent-to-a-number`,children:`Assign an agent to a number`}),`\n`,_jsx(_components.p,{children:`You can assign agents from the trunk or from the agent.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`From the trunk's Numbers tab`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`SIP Trunks`}),`, open the trunk and go to the `,_jsx(_components.strong,{children:`Numbers`}),` tab. In the `,_jsx(_components.strong,{children:`Agent`}),` column, pick an agent for each number. A number with no agent, on a trunk with no default agent, is marked `,_jsx(_components.strong,{children:`Unrouted`}),`, and calls to it are rejected.`]}),_jsx(Frame,{caption:`Assigning agents on the Numbers tab`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/numbers-tab-assign-agent.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=45f160d45f7666472468a1a4ec379397`,alt:`Trunk Numbers tab with a Default agent selector above a table of numbers, one row's Agent dropdown open listing agents, and another row marked Unrouted`,\"data-og-width\":`2496`,width:`2496`,\"data-og-height\":`862`,height:`862`,\"data-path\":`images/sip-trunks/numbers-tab-assign-agent.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/numbers-tab-assign-agent.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=7658193d6238289e4462d191a4893d1e 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/numbers-tab-assign-agent.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=574f8be7b4a1df66bb4ca9cc484a638e 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/numbers-tab-assign-agent.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=e53c0d77343e3246dc861d58d15f105f 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/numbers-tab-assign-agent.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=021e2c3a44d011c314fc52efafe47ccb 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/numbers-tab-assign-agent.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=54af7a9841353868dee2d68d0eebdf1a 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/numbers-tab-assign-agent.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=bee4e2c826be1b5687d515b2142637de 2500w`})})]}),_jsx(Step,{title:`Or set a default agent`,children:_jsxs(_components.p,{children:[`On the same tab, `,_jsx(_components.strong,{children:`Default agent`}),` answers every number that has no agent of its own. Leave it at `,_jsx(_components.strong,{children:`None (optional)`}),` to reject calls to unassigned numbers instead.`]})}),_jsxs(Step,{title:`Or from the agent`,children:[_jsxs(_components.p,{children:[`Open the agent, go to the `,_jsx(_components.strong,{children:`Calling`}),` tab and, under `,_jsx(_components.strong,{children:`Inbound Calling`}),`, pick the trunk number as the `,_jsx(_components.strong,{children:`Inbound number`}),`.`]}),_jsx(Frame,{caption:`Linking a trunk number from the agent`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/agent-inbound-number.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=44651271fa78849a6a35f5c88e04401b`,alt:`Agent Calling tab, Inbound Calling section, with a SIP trunk number selected as the Inbound number`,\"data-og-width\":`1828`,width:`1828`,\"data-og-height\":`300`,height:`300`,\"data-path\":`images/sip-trunks/agent-inbound-number.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/agent-inbound-number.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=dbe4df37b8b81deaef687e2551ac4a8e 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/agent-inbound-number.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=f9c403c76d49c4a3a1dffaa53be71cb2 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/agent-inbound-number.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=938f24122baf92a5766d075326bbb381 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/agent-inbound-number.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=cc20fb445ff8f76035a3ff6f3408c29a 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/agent-inbound-number.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=65f0695f1da6aca17b7093f0052cc0fe 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/agent-inbound-number.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=19484f42f0c116eb04616c36a16d110b 2500w`})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Linking a number from the agent’s `,_jsx(_components.strong,{children:`Calling`}),` tab makes it that agent’s only inbound number; the agent’s other numbers are unlinked. On the trunk’s `,_jsx(_components.strong,{children:`Numbers`}),` tab, or through the API, several numbers can point at the same agent.`]})}),`\n`,_jsxs(_components.p,{children:[`To check the setup, call the number from any phone. The call appears on the trunk’s `,_jsx(_components.strong,{children:`Activity`}),` tab under `,_jsx(_components.strong,{children:`Recent calls`}),` and in Call History.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-agent-knows-about-the-caller`,children:`What the agent knows about the caller`}),`\n`,_jsxs(_components.p,{children:[`Every inbound trunk call fills these variables in `,_jsx(_components.code,{children:`recipient_data`}),`, so you can use them in the prompt as `,_jsx(_components.code,{children:`{from_number}`}),` and so on:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Variable`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from_number`}),`, `,_jsx(_components.code,{children:`user_number`})]}),_jsxs(_components.td,{children:[`The caller’s number, as the user part of the INVITE’s `,_jsx(_components.code,{children:`From`}),` header`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`to_number`}),`, `,_jsx(_components.code,{children:`agent_number`})]}),_jsxs(_components.td,{children:[`The called number, as the carrier sent it in the Request-URI, without a leading `,_jsx(_components.code,{children:`+`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`call_sid`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`Call-ID`}),` of the carrier’s INVITE`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_id`})}),_jsx(_components.td,{children:`The agent answering the call`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timezone`})}),_jsx(_components.td,{children:`The call’s time zone`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Two more sources add to `,_jsx(_components.code,{children:`recipient_data`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Carrier headers.`}),` Bolna passes `,_jsx(_components.code,{children:`P-Asserted-Identity`}),`, `,_jsx(_components.code,{children:`Diversion`}),`, `,_jsx(_components.code,{children:`Call-ID`}),` and custom `,_jsx(_components.code,{children:`X-`}),` headers from the INVITE to the agent. Map one to a variable on the agent to use it; see `,_jsx(_components.a,{href:`/sip-trunking/sip-headers#inbound-header-variables`,children:`SIP headers`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Your caller data.`}),` With `,_jsx(_components.a,{href:`/customizations/identify-incoming-callers`,children:`Identify incoming callers`}),` set up, Bolna looks up the caller in your CSV, API or Google Sheet and adds the matching row. The lookup uses `,_jsx(_components.code,{children:`from_number`}),`, or the value of a mapped header if you set an ingest lookup key. When a header variable and a looked-up value have the same name, the looked-up value wins.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Some carriers put the real caller ID in `,_jsx(_components.code,{children:`P-Asserted-Identity`}),` and a trunk or pilot number in `,_jsx(_components.code,{children:`From`}),`. If `,_jsx(_components.code,{children:`from_number`}),` is not the caller you expect, map `,_jsx(_components.code,{children:`P-Asserted-Identity`}),` to a variable and compare.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`using-the-api`,children:`Using the API`}),`\n`,_jsxs(_components.p,{children:[`Assign an agent to a number with `,_jsx(_components.a,{href:`/api-reference/trunks/assign_agent`,children:`assign agent`}),`, using the number’s `,_jsx(_components.code,{children:`id`}),` from `,_jsx(_components.a,{href:`/api-reference/trunks/get`,children:`get trunk`}),`. Send `,_jsx(_components.code,{children:`\"agent_id\": null`}),` to unassign it. To set the trunk’s default agent, `,_jsx(_components.a,{href:`/api-reference/trunks/update`,children:`update the trunk`}),` with `,_jsx(_components.code,{children:`default_inbound_agent_id`}),`.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Assign an agent`,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:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.bolna.ai/trunk/numbers/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`number_i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_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:` \"Authorization: Bearer \u003capi_key>\"`}),_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:` '{ \"agent_id\": \"\u003cagent_id>\" }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Set the default agent`,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:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.bolna.ai/trunk/trunks/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`trunk_i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_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:` \"Authorization: Bearer \u003capi_key>\"`}),_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:` '{ \"default_inbound_agent_id\": \"\u003cagent_id>\" }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Add a number with its agent`,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.bolna.ai/trunk/trunks/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`trunk_i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/numbers`}),_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:` \"Authorization: Bearer \u003capi_key>\"`}),_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:` \"e164\": \"+918045678901\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"destination_key\": \"918045678901\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"\u003cagent_id>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`List recent inbound calls`,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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.bolna.ai/trunk/trunks/\u003ctrunk_id>/calls?direction=inbound\u0026limit=20\"`}),_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:` \"Authorization: Bearer \u003capi_key>\"`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`An agent outside the trunk’s organization or sub-account is refused with `,_jsx(_components.code,{children:`400`}),` and `,_jsx(_components.code,{children:`agent not in tenant`}),`. To stop a trunk taking inbound calls without deleting it, update it with `,_jsx(_components.code,{children:`\"inbound_enabled\": false`}),`; calls to its numbers are then refused.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api-reference/trunks/list_calls`,children:`List calls`}),` returns each call’s `,_jsx(_components.code,{children:`execution_id`}),`, `,_jsx(_components.code,{children:`direction`}),`, the far party’s `,_jsx(_components.code,{children:`number`}),`, `,_jsx(_components.code,{children:`duration_s`}),`, `,_jsx(_components.code,{children:`outcome`}),`, and the `,_jsx(_components.code,{children:`sip_code`}),` and `,_jsx(_components.code,{children:`sip_cause`}),` it ended with. `,_jsx(_components.code,{children:`direction`}),` is `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`inbound`}),`, `,_jsx(_components.code,{children:`outbound`}),` or `,_jsx(_components.code,{children:`failed`}),`, and `,_jsx(_components.code,{children:`limit`}),` is at most 100.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`SIP headers`,icon:`tag`,href:`/sip-trunking/sip-headers`,children:_jsx(_components.p,{children:`Map carrier headers such as P-Asserted-Identity or X-CALLERNO to prompt variables.`})}),_jsx(Card,{title:`Troubleshooting`,icon:`stethoscope`,href:`/sip-trunking/troubleshooting`,children:_jsx(_components.p,{children:`Calls refused with 403, 404 or 486.`})})]})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Receive inbound calls on a SIP trunk","sidebarTitle":"Inbound calls","description":"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.","icon":"phone-arrow-down-left","iconType":"solid","last_reviewed":"2026-10-18","href":"/sip-trunking/inbound-calls"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How an inbound call is routed","slug":"how-an-inbound-call-is-routed","depth":2,"children":[]},{"title":"Assign an agent to a number","slug":"assign-an-agent-to-a-number","depth":2,"children":[]},{"title":"What the agent knows about the caller","slug":"what-the-agent-knows-about-the-caller","depth":2,"children":[]},{"title":"Using the API","slug":"using-the-api","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/bolna-54a2d4fe/73314f84f6e30c14/custom.js","/docs/_mintlify/custom/bolna-54a2d4fe/786be19ebac8ab86/faq-schema.js"],"subdomain":"bolna-54a2d4fe","siteName":"Bolna Docs","title":"Receive inbound calls on a SIP trunk - Bolna Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T06:19:10.521Z","originalFileLocation":"sip-trunking/inbound-calls.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=\"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bolna Docs\">\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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Receive inbound calls on a SIP trunk - Bolna Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bolna AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.bolna.ai/docs/sip-trunking/inbound-calls\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bolna-54a2d4fe.mintlify.site/docs/_mintlify/api/og/v2?division=SIP+trunks\u0026amp;title=Receive+inbound+calls+on+a+SIP+trunk\u0026amp;description=Assign+Bolna+agents+to+your+SIP+trunk+numbers%2C+set+a+default+agent%2C+and+use+the+caller+details+each+inbound+call+puts+in+recipient_data.\u0026amp;theme=f2dcce2f7fc3b944c1c433e4\u0026amp;signature=01d528001868a20d897ff7092f319449e675421a19e6cbbf2aff4851c1ebcf8d\">\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=\"Receive inbound calls on a SIP trunk - Bolna Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bolna-54a2d4fe.mintlify.site/docs/_mintlify/api/og/v2?division=SIP+trunks\u0026amp;title=Receive+inbound+calls+on+a+SIP+trunk\u0026amp;description=Assign+Bolna+agents+to+your+SIP+trunk+numbers%2C+set+a+default+agent%2C+and+use+the+caller+details+each+inbound+call+puts+in+recipient_data.\u0026amp;theme=f2dcce2f7fc3b944c1c433e4\u0026amp;signature=01d528001868a20d897ff7092f319449e675421a19e6cbbf2aff4851c1ebcf8d\">\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/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bolna Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0073FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.bolna.ai/docs/sip-trunking/inbound-calls\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/sip-trunking/inbound-calls.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.bolna.ai/#organization\",\"name\":\"Bolna AI\",\"legalName\":\"Whismurwave Inc.\",\"url\":\"https://www.bolna.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.bolna.ai/logos/logo-black.png\"},\"sameAs\":[\"https://www.linkedin.com/company/bolna-ai/\",\"https://www.ycombinator.com/companies/bolna-ai\",\"https://github.com/bolna-ai\",\"https://x.com/bolna_dev\",\"https://www.youtube.com/@BolnaVoiceAI\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.bolna.ai/docs#website\",\"name\":\"Bolna Docs\",\"url\":\"https://www.bolna.ai/docs\",\"publisher\":{\"@id\":\"https://www.bolna.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls#webpage\",\"url\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls\",\"name\":\"Receive inbound calls on a SIP trunk\",\"description\":\"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.\",\"dateModified\":\"2026-11-14T06:19:10.521Z\",\"isPartOf\":{\"@id\":\"https://www.bolna.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Deploy\",\"item\":\"https://www.bolna.ai/docs/agents/deploy\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SIP trunks\",\"item\":\"https://www.bolna.ai/docs/sip-trunking/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Receive inbound calls on a SIP trunk\",\"item\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls#article\",\"headline\":\"Receive inbound calls on a SIP trunk\",\"name\":\"Receive inbound calls on a SIP trunk\",\"description\":\"Assign Bolna agents to your SIP trunk numbers, set a default agent, and use the caller details each inbound call puts in recipient_data.\",\"url\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls\",\"mainEntityOfPage\":{\"@id\":\"https://www.bolna.ai/docs/sip-trunking/inbound-calls#webpage\"},\"dateModified\":\"2026-11-14T06:19:10.521Z\",\"publisher\":{\"@id\":\"https://www.bolna.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.bolna.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bolna Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bolna AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/sip-trunking/inbound-calls.md","siteName":"Bolna Docs","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"book","pages":[{"title":"Overview","href":""}]},{"tab":"Voice Agents","icon":"waveform-lines","groups":[{"group":" ","pages":[{"title":"Voice agents: build, deploy and monitor","sidebarTitle":"Overview","icon":"robot","href":"/agents/overview"}]},{"group":"Build","icon":"hammer","pages":[{"group":"Agent setup","icon":"sliders","root":{"title":"Configure voice AI agents in Bolna","sidebarTitle":"Agent builder overview","icon":"compass","iconType":"solid","href":"/agent-setup/overview"},"expanded":false,"pages":[{"title":"Configure multilingual agent prompts and hangup settings","sidebarTitle":"Prompt \u0026 greeting","icon":"file-lines","iconType":"solid","href":"/agent-setup/agent-tab"},{"title":"Single Prompt view for multilingual agents","sidebarTitle":"Single Prompt view","icon":"language","iconType":"solid","tag":"Beta","href":"/agent-setup/single-prompt-view"},{"title":"Choose and configure LLM models for voice AI","sidebarTitle":"Choose an LLM","icon":"brain","iconType":"solid","href":"/agent-setup/llm-tab"},{"title":"Configure languages, voice and transcription settings","sidebarTitle":"Voice \u0026 language","icon":"language","iconType":"solid","href":"/agent-setup/audio-tab"},{"title":"Configure voice AI latency and interruptions","sidebarTitle":"Interruptions \u0026 speed","icon":"gear","iconType":"solid","href":"/agent-setup/engine-tab"},{"title":"Configure telephony, noise, and call timing for voice AI","sidebarTitle":"Calling tab","icon":"phone","iconType":"solid","href":"/agent-setup/call-tab"},{"title":"Set up inbound calls \u0026 caller matching","sidebarTitle":"Inbound calling tab","icon":"phone-arrow-down","iconType":"solid","href":"/agent-setup/inbound-tab"},{"title":"Connect function tools and API integrations","sidebarTitle":"Connect tools and APIs","icon":"function","iconType":"solid","href":"/agent-setup/tools-tab"},{"title":"Set up webhooks and post-call extractions","sidebarTitle":"Extractions tab","icon":"chart-line","iconType":"solid","href":"/agent-setup/analytics-tab"},{"title":"Agent versions","sidebarTitle":"Agent versions","icon":"code-branch","iconType":"solid","href":"/agent-setup/agent-versions"},{"title":"Import agents","sidebarTitle":"Copy or import an agent","icon":"copy","iconType":"solid","href":"/agent-setup/copy-import-agent"}]},{"group":"Graph agents","icon":"diagram-nested","root":{"title":"Graph agents","sidebarTitle":"Graph agents overview","icon":"diagram-project","iconType":"solid","href":"/graph-agent/introduction"},"expanded":false,"pages":[{"title":"Using the graph agent editor","sidebarTitle":"Using the editor","icon":"pen-to-square","iconType":"solid","href":"/graph-agent/using-the-editor"},{"title":"Managing nodes","sidebarTitle":"Managing nodes","icon":"circle-nodes","iconType":"solid","href":"/graph-agent/managing-nodes"},{"title":"Managing transitions","sidebarTitle":"Managing transitions","icon":"arrow-right-arrow-left","iconType":"solid","href":"/graph-agent/managing-transitions"},{"title":"Edges \u0026 routing","sidebarTitle":"Edges \u0026 routing","icon":"route","iconType":"solid","href":"/graph-agent/edges-and-routing"},{"title":"Router nodes","sidebarTitle":"Router nodes","icon":"diagram-project","iconType":"solid","href":"/graph-agent/router-nodes"},{"title":"Decision-model routing","sidebarTitle":"Decision models","icon":"scale-balanced","iconType":"solid","href":"/graph-agent/decision-models"},{"title":"Static nodes \u0026 silence repeat","sidebarTitle":"Static nodes","icon":"volume","iconType":"solid","href":"/graph-agent/static-nodes"},{"title":"Variables","sidebarTitle":"Variables","icon":"brackets-curly","iconType":"solid","href":"/graph-agent/variables"},{"title":"Agent setup","sidebarTitle":"Agent setup","icon":"sliders","iconType":"solid","href":"/graph-agent/settings"},{"title":"Tools \u0026 knowledge base","sidebarTitle":"Tools \u0026 RAG","icon":"screwdriver-wrench","iconType":"solid","href":"/graph-agent/tools-and-rag"},{"title":"Real-time event injection","sidebarTitle":"Event injection","icon":"bolt","iconType":"solid","href":"/graph-agent/event-injection"},{"title":"Testing your agent","sidebarTitle":"Testing","icon":"flask","iconType":"solid","href":"/graph-agent/testing"},{"title":"Validation","sidebarTitle":"Validation","icon":"circle-check","iconType":"solid","href":"/graph-agent/validation"},{"title":"Debugging graph agents","sidebarTitle":"Debug a graph agent","icon":"bug","iconType":"solid","href":"/graph-agent/debugging"},{"title":"Version history","sidebarTitle":"Version history","icon":"clock-rotate-left","iconType":"solid","href":"/graph-agent/version-history"},{"title":"Import \u0026 export","sidebarTitle":"Import / export","icon":"file-export","iconType":"solid","href":"/graph-agent/import-export"},{"title":"Full example","sidebarTitle":"Full example","icon":"file-code","iconType":"solid","href":"/graph-agent/full-example"}]},{"group":"Prompts","icon":"file-lines","root":{"title":"Prompting guide and best practices for Bolna voice AI","sidebarTitle":"Write better prompts","icon":"wand-magic-sparkles","iconType":"solid","href":"/prompting/introduction"},"expanded":false,"pages":[{"title":"Use dynamic variables to personalize voice AI calls","sidebarTitle":"Dynamic variables","icon":"code","iconType":"solid","href":"/prompting/using-context"}]},{"group":"Knowledge base","icon":"book","root":{"title":"Knowledge base for voice AI agents","sidebarTitle":"Overview","icon":"book","iconType":"solid","href":"/knowledge-base"},"expanded":false,"pages":[{"title":"Add PDFs and URLs to a knowledge base","sidebarTitle":"Add PDFs and URLs","icon":"file-arrow-up","iconType":"solid","href":"/knowledge-base/add-sources"},{"title":"Manage and connect knowledge bases","sidebarTitle":"Manage and connect","icon":"link","iconType":"solid","href":"/knowledge-base/manage-and-connect"}]},{"group":"Voices","icon":"microphone-lines","expanded":false,"pages":[{"title":"Clone your voice","sidebarTitle":"Clone a voice","icon":"microphone","iconType":"solid","href":"/clone-voices"},{"title":"Importing your voices to use with Bolna voice AI","sidebarTitle":"Import a voice","icon":"cloud-arrow-up","iconType":"solid","href":"/import-voices"},{"title":"Control how your agent pronounces words","sidebarTitle":"Pronunciation","icon":"spell-check","iconType":"solid","href":"/customizations/pronunciation"}]},{"group":"Languages \u0026 transcripts","icon":"language","root":{"title":"Supported languages","sidebarTitle":"Supported languages","icon":"language","iconType":"solid","href":"/customizations/supported-languages"},"expanded":false,"pages":[{"title":"Improve transcription accuracy with keywords and context","sidebarTitle":"Keywords and context","icon":"bullseye-arrow","iconType":"solid","href":"/customizations/asr-keywords-and-context"},{"title":"Capturing precise transcripts in Bolna voice AI","sidebarTitle":"Precise transcripts","icon":"message-dots","iconType":"solid","href":"/customizations/capturing-precise-transcripts"}]},{"group":"Multilingual","icon":"earth-americas","root":{"title":"Set up multilingual voice AI agents","sidebarTitle":"Multilingual setup","icon":"earth-americas","iconType":"solid","href":"/customizations/multilingual-languages-support"},"expanded":false,"pages":[{"title":"Multilingual agent quickstart","sidebarTitle":"Multilingual quickstart","icon":"earth-americas","iconType":"solid","href":"/quickstarts/multilingual"},{"title":"How language switching works","sidebarTitle":"Language switching","icon":"ear-listen","iconType":"solid","href":"/customizations/language-switching-behavior"},{"title":"Start a call in a chosen language","sidebarTitle":"Starting language","icon":"flag","iconType":"solid","href":"/customizations/start-call-in-language"},{"title":"Auto-detect and switch languages in Bolna voice AI","sidebarTitle":"Auto-switch mid-call","icon":"shuffle","iconType":"solid","href":"/customizations/auto-switch-multilingual-messages"},{"title":"Multilingual config reference","sidebarTitle":"Config reference","icon":"code","iconType":"solid","href":"/customizations/multilingual-config-reference"},{"title":"Writing prompts in non-English languages","sidebarTitle":"Non-English prompts","icon":"language","iconType":"solid","href":"/writing-prompts-in-non-english-languages"}]},{"group":"Languages","icon":"globe","root":{"title":"Indian language voice agents on Bolna","sidebarTitle":"Overview","icon":"language","iconType":"solid","href":"/customizations/languages/overview"},"expanded":false,"pages":[{"title":"Build a Hindi voice agent on Bolna","sidebarTitle":"Hindi voice agent","icon":"language","iconType":"solid","href":"/customizations/hindi-voice-agent"},{"title":"Build a Bengali voice agent on Bolna","sidebarTitle":"Bengali","icon":"language","iconType":"solid","href":"/customizations/languages/bengali"},{"title":"Build a Tamil voice agent on Bolna","sidebarTitle":"Tamil","icon":"language","iconType":"solid","href":"/customizations/languages/tamil"},{"title":"Build a Telugu voice agent on Bolna","sidebarTitle":"Telugu","icon":"language","iconType":"solid","href":"/customizations/languages/telugu"},{"title":"Build a Marathi voice agent on Bolna","sidebarTitle":"Marathi","icon":"language","iconType":"solid","href":"/customizations/languages/marathi"},{"title":"Build a Gujarati voice agent on Bolna","sidebarTitle":"Gujarati","icon":"language","iconType":"solid","href":"/customizations/languages/gujarati"},{"title":"Build a Kannada voice agent on Bolna","sidebarTitle":"Kannada","icon":"language","iconType":"solid","href":"/customizations/languages/kannada"},{"title":"Build a Malayalam voice agent on Bolna","sidebarTitle":"Malayalam","icon":"language","iconType":"solid","href":"/customizations/languages/malayalam"},{"title":"Build a Punjabi voice agent on Bolna","sidebarTitle":"Punjabi","icon":"language","iconType":"solid","href":"/customizations/languages/punjabi"},{"title":"Build an Odia voice agent on Bolna","sidebarTitle":"Odia","icon":"language","iconType":"solid","href":"/customizations/languages/odia"},{"title":"Build an Urdu voice agent on Bolna","sidebarTitle":"Urdu","icon":"language","iconType":"solid","href":"/customizations/languages/urdu"}]},{"group":"Tools \u0026 actions","icon":"screwdriver-wrench","root":{"title":"Function calling for voice AI agents","sidebarTitle":"How tool calling works","icon":"function","iconType":"solid","href":"/tool-calling/introduction"},"expanded":false,"pages":[{"title":"Transfer Live calls to human agents with Bolna voice AI","sidebarTitle":"Transfer calls","icon":"phone-arrow-right","iconType":"solid","href":"/tool-calling/transfer-calls"},{"title":"Search the web during live calls with Bolna Voice AI","sidebarTitle":"Web search","icon":"globe","iconType":"solid","href":"/tool-calling/web-search"},{"group":"Custom functions","icon":"code","root":{"title":"Custom function calls: Complete guide for Bolna voice AI","sidebarTitle":"Call your own API","icon":"code","iconType":"solid","href":"/tool-calling/custom-function-calls"},"pages":[{"title":"Custom function schema reference","sidebarTitle":"Schema reference","icon":"brackets-curly","iconType":"solid","href":"/tool-calling/custom-function-schema"},{"title":"Custom function examples","sidebarTitle":"Examples","icon":"code","iconType":"solid","href":"/tool-calling/custom-function-examples"},{"title":"Using variables in custom functions","sidebarTitle":"Variables \u0026 context","icon":"brackets-curly","iconType":"solid","href":"/tool-calling/custom-function-variables"},{"title":"Pre-call webhooks for custom functions","sidebarTitle":"Pre-call webhooks","icon":"webhook","iconType":"solid","href":"/tool-calling/pre-call-webhooks"}]},{"title":"Check calendar slots with Bolna and Cal.com","sidebarTitle":"Check availability","icon":"calendar-range","iconType":"solid","href":"/tool-calling/fetch-calendar-slots"},{"title":"Book calendar slots with Bolna voice AI and Cal.com","sidebarTitle":"Book an appointment","icon":"calendar-check","iconType":"solid","href":"/tool-calling/book-calendar-slots"},{"title":"Fetching dynamic date and time with Bolna voice AI","sidebarTitle":"Date and time","icon":"clock","iconType":"solid","href":"/tool-calling/fetch-date-and-time"}]},{"group":"Agent templates","icon":"clone","root":{"title":"Agents Library","sidebarTitle":"Agents library","icon":"head-side-gear","iconType":"solid","href":"/agent-templates"},"expanded":false,"pages":[{"group":"E-commerce","icon":"cart-shopping","pages":[{"title":"Customer support agent","sidebarTitle":"Customer support agent","icon":"headset","iconType":"solid","href":"/agent-templates/customer-support-agent"},{"title":"Cart abandonment agent","sidebarTitle":"Cart abandonment agent","icon":"cart-shopping","iconType":"solid","href":"/agent-templates/cart-abandonment-agent"},{"title":"COD confirmation agent","sidebarTitle":"COD confirmation agent","icon":"truck-fast","iconType":"solid","href":"/agent-templates/cod-confirmation-agent"}]},{"group":"BFSI","icon":"building-columns","pages":[{"title":"Announcements agent","sidebarTitle":"Announcements agent","icon":"bullhorn","iconType":"solid","href":"/agent-templates/announcements-agent"},{"title":"Reminders agent","sidebarTitle":"Reminders agent","icon":"clock","iconType":"solid","href":"/agent-templates/reminders-agent"},{"title":"Sales - credit card agent","sidebarTitle":"Sales: credit card agent","icon":"credit-card","iconType":"solid","href":"/agent-templates/sales-credit-card-agent"},{"title":"Sales - loans agent","sidebarTitle":"Sales: loans agent","icon":"hand-holding-dollar","iconType":"solid","href":"/agent-templates/sales-loans-agent"}]},{"group":"Hospitality","icon":"hotel","pages":[{"title":"Front desk agent","sidebarTitle":"Front desk agent","icon":"bell-concierge","iconType":"solid","href":"/agent-templates/front-desk-agent"},{"title":"Salon booking agent","sidebarTitle":"Salon booking agent","icon":"scissors","iconType":"solid","href":"/agent-templates/salon-booking-agent"},{"title":"Dentist appointment agent","sidebarTitle":"Dentist appointments","icon":"tooth","iconType":"solid","href":"/agent-templates/dentist-appointment-agent"},{"title":"Surveys agent","sidebarTitle":"Surveys agent","icon":"clipboard-question","iconType":"solid","href":"/agent-templates/surveys-agent"}]},{"group":"More industries","icon":"industry","pages":[{"title":"Recruitment agent","sidebarTitle":"Recruitment agent","icon":"user-tie","iconType":"solid","href":"/agent-templates/recruitment-agent"},{"title":"Lead qualification agent","sidebarTitle":"Lead qualification agent","icon":"magnifying-glass-chart","iconType":"solid","href":"/agent-templates/lead-qualification-agent"},{"title":"Onboarding agent","sidebarTitle":"Onboarding agent","icon":"user-plus","iconType":"solid","href":"/agent-templates/onboarding-agent"},{"title":"Property tech agent","sidebarTitle":"Property tech agent","icon":"house","iconType":"solid","href":"/agent-templates/property-tech-agent"},{"title":"Weekend planner agent","sidebarTitle":"Weekend planner agent","icon":"calendar-days","iconType":"solid","href":"/agent-templates/weekend-planner-agent"}]}]}]},{"group":"Deploy","icon":"rocket","pages":[{"title":"Deploy your voice agent","sidebarTitle":"Overview","icon":"rocket","href":"/agents/deploy"},{"group":"Phone numbers","icon":"hashtag","root":{"title":"Buy phone numbers for your Bolna voice AI agents","sidebarTitle":"Buy a number from Bolna","icon":"phone-plus","iconType":"solid","href":"/buying-phone-numbers"},"expanded":false,"pages":[{"title":"How to get 140 \u0026 160-series phone numbers in India","sidebarTitle":"Indian 140/160 numbers","icon":"phone-office","iconType":"solid","href":"/obtaining-regulated-phone-numbers"},{"title":"Truecaller verification for phone numbers","sidebarTitle":"Truecaller verification","icon":"shield-check","iconType":"solid","href":"/truecaller-verification"},{"group":"Phone number compliance","icon":"file-shield","root":{"title":"Phone number compliance requirements for India - Bolna AI","sidebarTitle":"India DLT compliance","icon":"file-certificate","iconType":"solid","href":"/compliance-application/introduction"},"pages":[{"title":"Submit phone number compliance application","sidebarTitle":"Submit an application","icon":"file-arrow-up","iconType":"solid","href":"/compliance-application/how-to-submit-guide"}]}]},{"group":"Outbound calls","icon":"phone-arrow-up-right","root":{"title":"Make outbound calls using Bolna voice AI agents","sidebarTitle":"Single outbound call","icon":"phone-arrow-up-right","iconType":"solid","href":"/outbound/making-calls"},"expanded":false,"pages":[{"title":"Automate and schedule calls using batches","sidebarTitle":"Batch calling","icon":"file-spreadsheet","iconType":"solid","href":"/outbound/batch-calling"},{"title":"Batch calling quickstart","sidebarTitle":"Batch calling via API","icon":"layer-group","iconType":"solid","href":"/quickstarts/batch"},{"title":"Auto-retry for failed calls","sidebarTitle":"Auto-retry calls","icon":"arrow-rotate-right","iconType":"solid","href":"/outbound/auto-retry"},{"title":"Calling guardrails for outbound calls","sidebarTitle":"Calling guardrails","icon":"clock","iconType":"solid","href":"/outbound/calling-guardrails"},{"title":"Hangup and disconnect Bolna voice AI calls","sidebarTitle":"End a call automatically","icon":"phone-hangup","iconType":"solid","href":"/outbound/hangup-calls"}]},{"title":"A/B test voice agent prompts and versions","sidebarTitle":"A/B testing","icon":"flask","iconType":"solid","href":"/agents/ab-testing"},{"group":"Workflows","icon":"diagram-project","root":{"title":"Workflows introduction","sidebarTitle":"Workflows overview","icon":"diagram-project","iconType":"solid","href":"/workflows/introduction"},"tag":"BETA","expanded":false,"pages":[{"title":"Workflow quickstart","sidebarTitle":"Quickstart","icon":"rocket","iconType":"solid","href":"/workflows/quickstart"},{"group":"Build a workflow","icon":"pen-ruler","root":{"title":"Using the workflow editor","sidebarTitle":"Using the editor","icon":"pen-to-square","iconType":"solid","href":"/workflows/using-the-editor"},"expanded":false,"pages":[{"title":"Workflow nodes","sidebarTitle":"Nodes","icon":"circle-nodes","iconType":"solid","href":"/workflows/nodes"},{"title":"Workflow callback node","sidebarTitle":"Callback node","icon":"reply","iconType":"solid","href":"/workflows/callback"},{"title":"Pause a journey until your system responds","sidebarTitle":"Callback API guide","icon":"hourglass-half","iconType":"solid","href":"/workflows/callback-guide"},{"title":"A/B test agent versions in workflows","sidebarTitle":"A/B testing","icon":"flask","iconType":"solid","href":"/workflows/ab-testing"},{"title":"Workflow conditions and variables","sidebarTitle":"Conditions \u0026 variables","icon":"code-branch","iconType":"solid","href":"/workflows/conditions-and-variables"},{"title":"Send WhatsApp messages with AiSensy","sidebarTitle":"WhatsApp via AiSensy","icon":"whatsapp","iconType":"brands","href":"/workflows/aisensy-whatsapp"}]},{"title":"Workflow campaigns","sidebarTitle":"Campaigns","icon":"bullhorn","iconType":"solid","href":"/workflows/campaigns"},{"group":"Workflow webhooks","icon":"webhook","root":{"title":"Workflow execution webhook","sidebarTitle":"Workflow webhooks","icon":"bell","iconType":"solid","href":"/workflows/execution-webhook"},"expanded":false,"pages":[{"title":"Execution webhook payload","sidebarTitle":"Webhook payload","openapi":"api-reference/openapi.yml webhook executionTerminal","href":"/api-reference/workflow-webhooks/execution-terminal"}]},{"title":"Graph agents vs workflows: which one to use","sidebarTitle":"Compare to graph agents","icon":"code-branch","iconType":"solid","href":"/graph-agent/graph-agents-vs-workflows"}]},{"group":"Inbound calls","icon":"phone-arrow-down-left","root":{"title":"Handle inbound calls with Bolna voice AI agents","sidebarTitle":"Receive inbound calls","icon":"phone-arrow-down-left","iconType":"solid","href":"/inbound/receiving-calls"},"expanded":false,"pages":[{"title":"Inbound quickstart","sidebarTitle":"Receive your first call","icon":"phone-arrow-down-left","iconType":"solid","href":"/quickstarts/inbound"},{"title":"Set up IVR for inbound calls in Bolna voice AI","sidebarTitle":"Build an IVR menu","icon":"phone-intercom","iconType":"solid","href":"/inbound/ivr"},{"title":"DTMF (keypad input)","sidebarTitle":"Keypad input (DTMF)","icon":"keyboard","iconType":"solid","href":"/inbound/dtmf"},{"title":"Dynamically identify incoming callers","sidebarTitle":"Identify the caller","icon":"filter-list","iconType":"solid","href":"/customizations/identify-incoming-callers"},{"title":"Block incoming callers by number or prefix","sidebarTitle":"Block unwanted callers","icon":"phone-slash","iconType":"solid","href":"/customizations/block-incoming-callers"}]},{"group":"Web calls","icon":"globe","root":{"title":"Web Call SDK","sidebarTitle":"Web Call SDK","icon":"browser","iconType":"solid","href":"/developer-resources/sdks/web-call"},"expanded":false,"pages":[{"title":"Web Call SDK starter templates","sidebarTitle":"Starter templates","icon":"copy","iconType":"solid","href":"/developer-resources/sdks/web-call-templates"},{"title":"Web Call SDK API reference","sidebarTitle":"SDK API reference","icon":"code","iconType":"solid","href":"/developer-resources/sdks/web-call-api"},{"title":"Web calls in mobile apps and other backends","sidebarTitle":"Mobile SDKs and backends","icon":"mobile","iconType":"solid","href":"/developer-resources/sdks/web-call-platforms"}]},{"group":"Telephony providers","icon":"tower-cell","root":{"title":"Explore telephony integrations with Bolna voice AI","sidebarTitle":"Choose a telephony setup","icon":"scale-balanced","href":"/supported-telephony-providers"},"expanded":false,"pages":[{"group":"Twilio","icon":"phone","root":{"title":"Integrate Twilio with Bolna for enhanced calling","sidebarTitle":"Using Twilio","icon":"phone","href":"/twilio"},"pages":[{"title":"Securely link your Twilio account to Bolna","sidebarTitle":"Connect account","icon":"plug","href":"/twilio/connect-provider"},{"title":"Make outbound calls via Twilio with Bolna voice AI","sidebarTitle":"Outbound calls","icon":"phone-arrow-up-right","href":"/twilio/outbound-calls"},{"title":"Using Twilio for inbound calls","sidebarTitle":"Inbound calls","icon":"phone-arrow-down-left","href":"/twilio/receive-calls"},{"title":"Serving Twilio on prem","sidebarTitle":"On-premise","icon":"server","href":"/twilio/on-prem"}]},{"group":"Plivo","icon":"phone","root":{"title":"Enhance call capabilities with Bolna's Plivo integration","sidebarTitle":"Using Plivo","icon":"phone","href":"/plivo"},"pages":[{"title":"Link your Plivo account to Bolna for voice AI","sidebarTitle":"Connect account","icon":"plug","href":"/plivo/connect-provider"},{"title":"Initiate outbound calls via Plivo with Bolna voice AI","sidebarTitle":"Outbound calls","icon":"phone-arrow-up-right","href":"/plivo/outbound-calls"},{"title":"Using Plivo for inbound calls","sidebarTitle":"Inbound calls","icon":"phone-arrow-down-left","href":"/plivo/receive-calls"}]},{"group":"Exotel","icon":"phone","root":{"title":"Exotel integration with Bolna voice AI","sidebarTitle":"Using Exotel","icon":"phone","href":"/exotel"},"pages":[{"title":"Connect your Exotel account to Bolna","sidebarTitle":"Connect account","icon":"plug","href":"/exotel/connect-provider"},{"title":"Setup Exotel with Bolna for outbound calling","sidebarTitle":"Outbound app setup","icon":"gear","href":"/exotel/setup-app-for-outbound-calls"},{"title":"Setup Exotel with Bolna for inbound calling","sidebarTitle":"Inbound app setup","icon":"gears","href":"/exotel/setup-app-for-inbound-calls"},{"title":"Make outbound calls with Exotel and Bolna","sidebarTitle":"Outbound calls","icon":"phone-arrow-up-right","href":"/exotel/outbound-calls"}]},{"group":"Vobiz","icon":"phone","root":{"title":"Vobiz Integration: Make AI Outbound Calls with Vobiz","sidebarTitle":"Using Vobiz","icon":"phone","href":"/vobiz"},"pages":[{"title":"Link your Vobiz account to Bolna for voice AI","sidebarTitle":"Connect account","icon":"plug","href":"/vobiz/connect-provider"},{"title":"Initiate outbound calls via Vobiz with Bolna voice AI","sidebarTitle":"Outbound calls","icon":"phone-arrow-up-right","href":"/vobiz/outbound-calls"}]},{"title":"Answer WhatsApp Voice Calls with Bolna Voice AI Agents","sidebarTitle":"WhatsApp","tag":"BETA","icon":"whatsapp","href":"/whatsapp"}]},{"group":"SIP trunks","icon":"network-wired","root":{"title":"SIP trunks: connect your own carrier to Bolna","sidebarTitle":"Overview","icon":"network-wired","iconType":"solid","href":"/sip-trunking/overview"},"expanded":false,"pages":[{"title":"Connect your carrier to Bolna with a SIP trunk","sidebarTitle":"Connect your carrier","icon":"plug","iconType":"solid","href":"/sip-trunking/connect-carrier"},{"group":"Carrier guides","icon":"building","root":{"title":"SIP trunk carrier guides","sidebarTitle":"Carrier guides","icon":"building","iconType":"solid","href":"/sip-trunking/carriers"},"expanded":false,"pages":[{"title":"Connect Acefone to Bolna with a SIP trunk","sidebarTitle":"Acefone","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/acefone-logo.png","iconType":"solid","href":"/sip-trunking/acefone"},{"title":"Connect Airtel to Bolna with a SIP trunk","sidebarTitle":"Airtel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/airtel-logo.svg","iconType":"solid","href":"/sip-trunking/airtel"},{"title":"Connect Plivo to Bolna with a SIP trunk","sidebarTitle":"Plivo","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/plivo-logo.svg","iconType":"solid","href":"/sip-trunking/plivo"},{"title":"Connect Telnyx to Bolna with a SIP trunk","sidebarTitle":"Telnyx","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/telnyx-logo.png","iconType":"solid","href":"/sip-trunking/telnyx"},{"title":"Connect Twilio to Bolna with a SIP trunk","sidebarTitle":"Twilio","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/twilio-logo.svg","iconType":"solid","href":"/sip-trunking/twilio"},{"title":"Connect Vobiz to Bolna with a SIP trunk","sidebarTitle":"Vobiz","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/vobiz-logo.svg","iconType":"solid","href":"/sip-trunking/vobiz"},{"title":"Connect VoiceLink to Bolna with a SIP trunk","sidebarTitle":"VoiceLink","description":"Bring your VoiceLink numbers to Bolna: create a Custom SIP trunk with your VoiceLink credentials, point VoiceLink at Bolna, and route your number to the trunk.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/voicelink-logo.png","iconType":"solid","href":"/sip-trunking/voicelink"}]},{"title":"Receive inbound calls on a SIP trunk","sidebarTitle":"Inbound calls","icon":"phone-arrow-down-left","iconType":"solid","href":"/sip-trunking/inbound-calls"},{"title":"Make outbound calls through a SIP trunk","sidebarTitle":"Outbound calls","description":"Switch a Bolna agent to the SIP Trunk telephony provider and place calls, one at a time or in batches, from your own trunk numbers through your carrier.","icon":"phone-arrow-up-right","iconType":"solid","href":"/sip-trunking/outbound-calls"},{"title":"Transfer SIP trunk calls to a person","sidebarTitle":"Call transfer","icon":"phone-arrow-right","iconType":"solid","href":"/sip-trunking/call-transfer"},{"title":"SIP headers on SIP trunk calls","sidebarTitle":"SIP headers","icon":"tag","iconType":"solid","href":"/sip-trunking/sip-headers"},{"title":"Troubleshoot SIP trunk calls","sidebarTitle":"Troubleshooting","icon":"stethoscope","iconType":"solid","href":"/sip-trunking/troubleshooting"},{"group":"Legacy SIP trunks (deprecated)","icon":"box-archive","root":{"title":"Bring your own SIP trunk to Bolna voice AI","sidebarTitle":"How SIP trunking works","icon":"utility-pole","iconType":"solid","href":"/sip-trunking/introduction"},"expanded":false,"pages":[{"title":"SIP trunking for voice AI on Bolna","sidebarTitle":"SIP trunking explained","icon":"tower-broadcast","iconType":"solid","href":"/sip-trunking/tutorials/introduction"},{"group":"Create a trunk","icon":"plus","expanded":false,"pages":[{"title":"Create a SIP trunk on Twilio for Bolna","sidebarTitle":"Twilio trunk","icon":"server","iconType":"solid","href":"/sip-trunking/tutorials/twilio-setup"},{"title":"Create a SIP trunk on Plivo for Bolna","sidebarTitle":"Plivo trunk","icon":"server","iconType":"solid","href":"/sip-trunking/tutorials/plivo-setup"}]},{"group":"Register on Bolna","icon":"link","root":{"title":"Set up your SIP trunk on Bolna","sidebarTitle":"Set up your trunk","icon":"screwdriver-wrench","iconType":"solid","href":"/sip-trunking/byot-setup"},"expanded":false,"pages":[{"title":"SIP trunk API examples and field reference","sidebarTitle":"API examples \u0026 fields","icon":"code","iconType":"solid","href":"/sip-trunking/api-examples"}]},{"title":"Receive inbound calls via your SIP trunk","sidebarTitle":"Inbound via SIP","icon":"phone-arrow-down-left","iconType":"solid","href":"/sip-trunking/byot-inbound-calls"},{"title":"Custom SIP headers on inbound BYOT calls","sidebarTitle":"Custom SIP headers","icon":"tag","iconType":"solid","href":"/sip-trunking/byot-inbound-headers"},{"title":"Make outbound calls via your SIP trunk","sidebarTitle":"Outbound via SIP","icon":"phone-arrow-up-right","iconType":"solid","href":"/sip-trunking/byot-outbound-calls"}]}]}]},{"group":"Monitor","icon":"chart-line","pages":[{"title":"Monitor your voice agent","sidebarTitle":"Overview","icon":"chart-line","href":"/agents/monitor"},{"group":"Call history \u0026 analytics","icon":"chart-column","root":{"title":"Agent conversations, metrics \u0026 logs","sidebarTitle":"Call history","icon":"clock-rotate-left","iconType":"solid","href":"/agent-setup/call-history"},"expanded":false,"pages":[{"title":"How to read the call analytics dashboard","sidebarTitle":"Call analytics","icon":"chart-pie","iconType":"solid","href":"/agent-setup/call-analytics"},{"title":"Download call reports as CSV","sidebarTitle":"Reports","icon":"file-spreadsheet","iconType":"solid","href":"/agent-setup/reports"}]},{"group":"Latency","icon":"gauge-high","root":{"title":"Latency in real-time voice AI","sidebarTitle":"Responses feel slow","icon":"gauge-high","iconType":"solid","href":"/concepts/latency"},"expanded":false,"pages":[{"title":"Understanding call latency metrics in Bolna voice AI","sidebarTitle":"Latency metrics","icon":"chart-bar","iconType":"solid","href":"/concepts/call-latencies"}]},{"group":"Webhooks \u0026 call status","icon":"webhook","root":{"title":"Receive Bolna voice AI call updates","sidebarTitle":"Results via webhooks","icon":"webhook","iconType":"solid","href":"/post-call/polling-call-status-webhooks"},"expanded":false,"pages":[{"title":"Execution payload reference","sidebarTitle":"Execution payload","icon":"brackets-curly","href":"/post-call/execution-payload"},{"title":"Check Bolna voice AI webhook delivery health","sidebarTitle":"Webhook delivery health","icon":"heart-pulse","href":"/post-call/webhook-delivery-health"},{"title":"Fetch agent executions using APIs","sidebarTitle":"Executions API","icon":"code","href":"/fetch-agent-executions"},{"title":"List of call statuses in Bolna voice AI","sidebarTitle":"Call statuses","icon":"ballot-check","iconType":"solid","href":"/post-call/list-phone-call-status"},{"title":"Termination reasons","sidebarTitle":"Termination reasons","icon":"flag-checkered","iconType":"solid","href":"/post-call/termination-reasons"},{"title":"List of call hangup statuses and codes in Bolna voice AI","sidebarTitle":"Hangup codes","icon":"phone-xmark","iconType":"solid","href":"/post-call/list-phone-call-hangup-status"}]},{"group":"Extractions","icon":"filter","root":{"title":"Using extractions in Bolna dashboard","sidebarTitle":"Extract call data","icon":"list-check","iconType":"solid","href":"/prompting/using-extractions"},"expanded":false,"pages":[{"title":"Testing extractions","sidebarTitle":"Test extractions","icon":"flask","iconType":"solid","href":"/prompting/testing-extractions"},{"title":"Extraction output format and results","sidebarTitle":"Output format \u0026 results","icon":"brackets-curly","iconType":"solid","href":"/prompting/extraction-output"}]}]},{"group":"Go live","icon":"flag-checkered","pages":[{"group":"Launch checklist","icon":"list-check","root":{"title":"Production readiness checklist for voice AI agents","sidebarTitle":"Readiness checklist","icon":"clipboard-check","iconType":"solid","href":"/production/readiness-checklist"},"expanded":false,"pages":[{"title":"Test a voice AI agent before calling real customers","sidebarTitle":"Test before launch","icon":"flask","iconType":"solid","href":"/production/test-before-calling-customers"},{"title":"Control cost per call on Bolna voice AI","sidebarTitle":"Control cost per call","icon":"scissors","iconType":"solid","href":"/production/control-cost-per-call"},{"title":"Handle failures and retries at scale","sidebarTitle":"Failures at scale","icon":"arrows-rotate","iconType":"solid","href":"/production/failures-and-retries-at-scale"}]},{"group":"Troubleshooting","icon":"wrench","root":{"title":"Troubleshoot Bolna voice AI calls","sidebarTitle":"Overview","icon":"screwdriver-wrench","iconType":"solid","href":"/troubleshooting/overview"},"expanded":false,"pages":[{"title":"Debugging runbook: find out why a call went wrong","sidebarTitle":"Debugging runbook","icon":"bug","iconType":"solid","href":"/troubleshooting/debugging-runbook"},{"title":"The agent interrupts or talks over the caller","sidebarTitle":"Agent interrupts users","icon":"hand","iconType":"solid","href":"/troubleshooting/agent-interrupts-users"},{"title":"Agent mishears names, numbers or Indian language words","sidebarTitle":"Agent mishears words","icon":"ear-deaf","iconType":"solid","href":"/troubleshooting/agent-mishears-words"},{"title":"Audio is choppy, robotic, or only one side can hear","sidebarTitle":"Choppy or one-way audio","icon":"volume-xmark","iconType":"solid","href":"/troubleshooting/choppy-or-one-way-audio"},{"title":"Calls fail to connect or drop early","sidebarTitle":"Calls fail or drop","icon":"phone-slash","iconType":"solid","href":"/troubleshooting/calls-fail-or-drop-early"},{"title":"The call transfer did not work","sidebarTitle":"Transfer failed","icon":"phone-arrow-right","iconType":"solid","href":"/troubleshooting/call-transfer-failed"},{"title":"My webhook never arrived","sidebarTitle":"Webhook not received","icon":"webhook","iconType":"solid","href":"/troubleshooting/webhook-not-received"}]}]}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Developers","icon":"toolbox","pages":[{"title":"Developers","href":"/developer-resources/overview"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/november-2026"}]}]},"basePath":"","title":"Receive inbound calls on a SIP trunk - Bolna Docs","deploymentId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","buildId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-C7Jix0Cd.js","DynamicMarkdown-Ch7bkVSN.js","zoom-image-lightbox--vtrM0yu.js","lightbox-handle-r17bVUz3.js"]}