Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.
This guide takes you from nothing to a working trunk: you create the trunk in Bolna, set Bolna’s values in your carrier’s console, and place a test call in each direction.
Before you begin
Have these from your carrier:
A SIP trunk with at least one number on it. Some carriers, Plivo among them, use one trunk for inbound and another for outbound. Create both.
The gateway host Bolna dials for outbound calls, for example acme.pstn.twilio.com, and its port if it is not 5060.
The IP addresses the carrier sends calls from. Carriers publish these as their signalling IPs.
A SIP username and password, only if your carrier issued them for the calls you place.
Create the trunk
1
Open SIP Trunks
In the sidebar, under Deploy, open SIP Trunks and click Create trunk. If your account still has legacy SIP trunks, that page lists them: click Open new SIP trunks first.
The SIP Trunks page
2
Pick your carrier
The Provider step asks Which carrier is this trunk for? Pick Plivo, Telnyx, Twilio, Exotel, Vobiz, Vonage, or Custom for any other carrier. Then fill in:
Trunk name, a label only you see.
Channels, the number of simultaneous calls the trunk allows. The default is 10.
Gateway we dial, the host Bolna sends outbound calls to. The Telnyx and Exotel presets fill this in. For the others, enter the host your carrier gave your account; the field shows the expected shape.
Click Continue.
Provider step with the Plivo preset
3
Add your carrier's IPs
The Carrier IPs step asks Which addresses does your carrier call from? Add every signalling IP or CIDR range your carrier publishes, one at a time. Bolna accepts an inbound call only from these addresses. The Plivo and Exotel presets prefill the addresses those carriers publish, and every preset links to its carrier’s IP page.Under Carrier credentials (optional), enter the Username and Password only if your carrier issued them for the calls Bolna places. Enter both or neither. Click Continue.
Carrier IPs step
4
Add your numbers
The Numbers step asks Which numbers arrive on this trunk? Enter each number in E.164 format, starting with +, and click Add. This step is optional; you can add numbers later. Click Continue.
Numbers step
5
Review and create
The Review step summarizes the trunk and shows the first thing to do in your carrier’s console for each direction. Click Create trunk. The trunk page opens, and its health reads Waiting for carrier until the first call crosses it.
Review step
Set Bolna’s values at your carrier
Open the trunk’s Overview tab. Under Carrier setup, the Inbound, carrier to Bolna and Outbound, Bolna to carrier cards list every value your carrier needs, each with a copy button. Expand the steps under each card, for example Plivo inbound trunk steps, for a checklist written for your carrier’s console.
Carrier setup on the Overview tab
Inbound: carrier to Bolna
Set these on your carrier’s origination (inbound) trunk:
Setting
Value
Origination URI
sip:trunk.bolna.ai:5060 for UDP, or sip:trunk.bolna.ai:5060;transport=tcp for TCP
If the carrier accepts only an IP
15.252.21.46, port 5060
Number format
E.164, with or without the +
Codecs
PCMU and PCMA. Turn off any others, such as G.729.
DTMF
RFC 2833
Your carrier must send each INVITE with an SDP offer, from an address on the trunk’s carrier IPs. Assign your numbers to this origination trunk in the carrier’s console.
Outbound: Bolna to carrier
Set these on your carrier’s termination (outbound) trunk:
Setting
Value
IP allowlist (signalling)
15.252.21.46 and 13.206.230.198
Media (RTP), both directions
UDP 30000-40000, to and from 15.252.21.46
Credentials
Optional. If you use a credential list instead of, or as well as, the IP allowlist, enter the same username and password on the trunk in Bolna.
Caller ID
One of your trunk numbers, in E.164 with the +
Codecs
PCMU and PCMA
Allowlist both Bolna IPs. 13.206.230.198 is reserved for a second edge, so listing it now means no carrier change later.
Manage carrier IPs, gateways and credentials
The trunk’s Connection tab holds both directions. Changes take effect on live traffic.
The Connection tab
Inbound: carrier IPs. Click Add IP to add an address or CIDR range. Changes apply within 5 seconds. Each entry must be a public IPv4 address or range, no broader than /16, and a trunk holds up to 32. With no carrier IPs, every inbound call is refused.Outbound: gateways. Click Add gateway and enter the Host, Port and Priority. A trunk holds up to 8 gateways, tried in priority order, lowest first. The host must be a public IPv4 address or a DNS name. If a gateway times out, answers 408 or 478, or answers with a 5xx, Bolna tries the next gateway. Any other answer, such as busy, a decline or no answer within 60 seconds, ends the call.
Dial with leading plus sends the number you call as +<digits>. Off, the default, sends the digits alone. Pick whichever your carrier expects.
Carrier credentials holds the username and password Bolna sends when your carrier challenges an outbound call with 401 or 407. The password is stored encrypted and never shown again.
Advanced. Click Edit to change the Transport (UDP or TCP) Bolna uses to reach your gateways, the Channels, and the Codecs (PCMU, PCMA, or both). DTMF is always RFC 2833.
Add numbers
Open the Numbers tab and click Add number.
Number is the number in E.164 format, starting with +.
Destination key is the called number exactly as your carrier puts it in the Request-URI. Leave it blank to use the number’s digits without the +. Set it when your carrier sends something else, such as a national format.
An inbound call matches a number when the called number equals the E.164 number, with or without the +, or equals the destination key. A number can be on only one trunk at a time; adding one that is already on a trunk fails with 409 number_taken.
The trunk tests itself without an agent. Open the Activity tab, or click Test trunk at the top of the trunk page.
1
Test inbound
Under Test inbound, click Start listening, then dial the number shown from any phone within five minutes. Bolna answers and plays your voice back to you about a second later. While the trunk is listening, the next call to any of its numbers reaches the test instead of your agent. Stop listening cancels the test before a call arrives.
2
Test outbound
Under Test outbound, enter a phone number you can answer and click Place echo call. Bolna calls it from the trunk’s first number, through its gateways in priority order. Answer, speak, and you hear yourself about a second later. The call ends after a minute.
3
Read the result
Each test shows its state, ending in Completed or Failed. A failed test shows the SIP code and cause the carrier returned. See Troubleshooting for what each one means.
Self-tests on the Activity tab
A trunk runs one test at a time and allows five tests every ten minutes. A test uses one of the trunk’s channels while it runs. Tests do not appear in Call History or under Recent calls, and they do not change the trunk’s health, which stays Waiting for carrier until a real call crosses the trunk.
preset records which carrier template the trunk came from. The API does not fill any values from it; send the gateways, transport and carrier IPs yourself.
transport is udp (the default) or tcp.
codecs is PCMU, PCMA, or both, comma-separated.
auth_username and auth_password are set together and cleared together. To clear them, send both as null.
destination_key is required when adding a number through the API. Send the number’s digits without the + unless your carrier sends something else.
gateway.priority is 0 to 100, lowest tried first.
The trunk’s health field reads waiting_for_carrier until the first call, ready after it, degraded after three outbound calls in a row fail at the carrier (an answered call resets this), and disabled while is_active is false.
Next steps
Receive inbound calls
Assign an agent to each number.
Make outbound calls
Switch an agent to the trunk and place calls.
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":"6b0de37d9ad6aeb45af97840","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/connect-carrier","slug":"/sip-trunking/connect-carrier","pageMetadata":{"title":"Connect your carrier to Bolna with a SIP trunk","sidebarTitle":"Connect your carrier","description":"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.","icon":"plug","iconType":"solid","last_reviewed":"2026-11-01","href":"/sip-trunking/connect-carrier"},"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: \"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.\"\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`,em:`em`,li:`li`,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}=_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);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This guide takes you from nothing to a working trunk: you create the trunk in Bolna, set Bolna’s values in your carrier’s console, and place a test call in each direction.`}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-begin`,children:`Before you begin`}),`\n`,_jsx(_components.p,{children:`Have these from your carrier:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A SIP trunk with at least one number on it.`}),` Some carriers, Plivo among them, use one trunk for inbound and another for outbound. Create both.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The gateway host`}),` Bolna dials for outbound calls, for example `,_jsx(_components.code,{children:`acme.pstn.twilio.com`}),`, and its port if it is not `,_jsx(_components.code,{children:`5060`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The IP addresses the carrier sends calls from.`}),` Carriers publish these as their signalling IPs.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A SIP username and password`}),`, only if your carrier issued them for the calls you place.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-the-trunk`,children:`Create the trunk`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open SIP Trunks`,children:[_jsxs(_components.p,{children:[`In the sidebar, under `,_jsx(_components.strong,{children:`Deploy`}),`, open `,_jsx(_components.strong,{children:`SIP Trunks`}),` and click `,_jsx(_components.strong,{children:`Create trunk`}),`. If your account still has `,_jsx(_components.a,{href:`/migrating-to-sip-trunks/overview`,children:`legacy SIP trunks`}),`, that page lists them: click `,_jsx(_components.strong,{children:`Open new SIP trunks`}),` first.`]}),_jsx(Frame,{caption:`The SIP Trunks page`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunks-list-empty.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=29b05417b9e2fd7edc530d4db7f35ab5`,alt:`SIP Trunks page in the Bolna dashboard with an empty trunk table and the Create trunk button in the top right`,\"data-og-width\":`2496`,width:`2496`,\"data-og-height\":`581`,height:`581`,\"data-path\":`images/sip-trunks/trunks-list-empty.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunks-list-empty.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=beba3f584ce194cfcdcc6717f92238ec 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunks-list-empty.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=db8c3ea405e46cd3e64bec086185c464 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunks-list-empty.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=b7229263d0fea31021c5fe0fc50074ba 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunks-list-empty.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=cdc310e9439f01bd9eb163107caa37ea 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunks-list-empty.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=62d9b005de48d778b01344a3dbc4b3cb 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunks-list-empty.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=e6c3ca98961e0f113f83cea79e18163d 2500w`})})]}),_jsxs(Step,{title:`Pick your carrier`,children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Provider`}),` step asks `,_jsx(_components.em,{children:`Which carrier is this trunk for?`}),` Pick `,_jsx(_components.strong,{children:`Plivo`}),`, `,_jsx(_components.strong,{children:`Telnyx`}),`, `,_jsx(_components.strong,{children:`Twilio`}),`, `,_jsx(_components.strong,{children:`Exotel`}),`, `,_jsx(_components.strong,{children:`Vobiz`}),`, `,_jsx(_components.strong,{children:`Vonage`}),`, or `,_jsx(_components.strong,{children:`Custom`}),` for any other carrier. Then fill in:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trunk name`}),`, a label only you see.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Channels`}),`, the number of simultaneous calls the trunk allows. The default is 10.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Gateway we dial`}),`, the host Bolna sends outbound calls to. The Telnyx and Exotel presets fill this in. For the others, enter the host your carrier gave your account; the field shows the expected shape.`]}),`\n`]}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Continue`}),`.`]}),_jsx(Frame,{caption:`Provider step with the Plivo preset`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-provider.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=187c2ee9ffd2979beb9208b8f002c701`,alt:`Create trunk dialog on the Provider step, with the Plivo carrier tile selected, a trunk name, 10 channels and a Zentrunk domain in the Gateway we dial field`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`1214`,height:`1214`,\"data-path\":`images/sip-trunks/create-trunk-provider.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-provider.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=e66c743b5a8cf5e640b43fd2fed4ec71 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-provider.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=b84cf96717ca038b6146c82a2773a1b3 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-provider.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=56247b530c7daaa45233ca6cebfa1a55 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-provider.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=45964acf07dfcccbe26e6add4b05da6b 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-provider.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=e5e6269162765c139a6b02581bf2cd6f 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-provider.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=0df149f595eb27a1857c67321c764265 2500w`})})]}),_jsxs(Step,{title:`Add your carrier's IPs`,children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Carrier IPs`}),` step asks `,_jsx(_components.em,{children:`Which addresses does your carrier call from?`}),` Add every signalling IP or CIDR range your carrier publishes, one at a time. Bolna accepts an inbound call only from these addresses. The Plivo and Exotel presets prefill the addresses those carriers publish, and every preset links to its carrier’s IP page.`]}),_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Carrier credentials (optional)`}),`, enter the `,_jsx(_components.strong,{children:`Username`}),` and `,_jsx(_components.strong,{children:`Password`}),` only if your carrier issued them for the calls Bolna places. Enter both or neither. Click `,_jsx(_components.strong,{children:`Continue`}),`.`]}),_jsx(Frame,{caption:`Carrier IPs step`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-carrier-ips.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=72d21e89adf7e70cc0edfdcf8e1d36a0`,alt:`Create trunk dialog on the Carrier IPs step, showing Plivo's prefilled signalling CIDR ranges as removable chips, an address input with an Add button, and empty Username and Password fields under Carrier credentials (optional)`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`1246`,height:`1246`,\"data-path\":`images/sip-trunks/create-trunk-carrier-ips.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-carrier-ips.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=b641a4e55d7e0b26a189ceee4ba4ce72 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-carrier-ips.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=9758d70322f29b0febfa34383cf98a84 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-carrier-ips.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=72c1d6727b7e0a7b2cdeb859244cb836 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-carrier-ips.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=f79fae47ecadab168bb9ec7da22c7082 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-carrier-ips.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=ff076f41a10b0f938441a62dd5bbd2fe 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-carrier-ips.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=078d35090fef5ecd81b36fad88094cfc 2500w`})})]}),_jsxs(Step,{title:`Add your numbers`,children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Numbers`}),` step asks `,_jsx(_components.em,{children:`Which numbers arrive on this trunk?`}),` Enter each number in E.164 format, starting with `,_jsx(_components.code,{children:`+`}),`, and click `,_jsx(_components.strong,{children:`Add`}),`. This step is optional; you can add numbers later. Click `,_jsx(_components.strong,{children:`Continue`}),`.`]}),_jsx(Frame,{caption:`Numbers step`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-numbers.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=0491fd083b7e332f11454db7d3813e8b`,alt:`Create trunk dialog on the Numbers step, with one E.164 number added and its destination key shown underneath`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`1022`,height:`1022`,\"data-path\":`images/sip-trunks/create-trunk-numbers.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-numbers.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=e4cc5dce3182a075c306793a6f39f4cf 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-numbers.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=4c120400f2644e0342e22bf7ca608829 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-numbers.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=dc7ba8e3f669b4b86ce0a019c0db05fd 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-numbers.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=c9cc4f9471665189b2dd206a40ae7ae2 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-numbers.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=535c2a0536888193c634ab11bb87fcc0 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-numbers.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=82b198767b9fcec70cc261f0379729e8 2500w`})})]}),_jsxs(Step,{title:`Review and create`,children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Review`}),` step summarizes the trunk and shows the first thing to do in your carrier’s console for each direction. Click `,_jsx(_components.strong,{children:`Create trunk`}),`. The trunk page opens, and its health reads `,_jsx(_components.strong,{children:`Waiting for carrier`}),` until the first call crosses it.`]}),_jsx(Frame,{caption:`Review step`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-review.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=a2aaec622d85c48c5732e73e96aca4fd`,alt:`Create trunk dialog on the Review step, summarizing provider, carrier IPs, carrier credentials, gateways and numbers, with Inbound and Outbound next-step cards and a Create trunk button`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`1338`,height:`1338`,\"data-path\":`images/sip-trunks/create-trunk-review.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-review.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=02ca870c7ec6bb4f4d4117a4bb61b0cf 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-review.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=ff2d4d1e88b511cecf7c7a5e177a5b2f 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-review.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=13801429b996ad933fbe781a973ae37e 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-review.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=195b44560110f576334f4b6b1a1cb982 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-review.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=c9473bb89a0a9aaf6a3dd2447d5b9f31 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/create-trunk-review.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=8707b97182b5f07c68c987252c18a727 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`set-bolna’s-values-at-your-carrier`,children:`Set Bolna’s values at your carrier`}),`\n`,_jsxs(_components.p,{children:[`Open the trunk’s `,_jsx(_components.strong,{children:`Overview`}),` tab. Under `,_jsx(_components.strong,{children:`Carrier setup`}),`, the `,_jsx(_components.strong,{children:`Inbound, carrier to Bolna`}),` and `,_jsx(_components.strong,{children:`Outbound, Bolna to carrier`}),` cards list every value your carrier needs, each with a copy button. Expand the steps under each card, for example `,_jsx(_components.strong,{children:`Plivo inbound trunk steps`}),`, for a checklist written for your carrier’s console.`]}),`\n`,_jsx(Frame,{caption:`Carrier setup on the Overview tab`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-overview-carrier-setup.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=530dfadb925dfb5cacf890ed3747be67`,alt:`Trunk Overview tab with a Waiting for carrier health badge, and the Carrier setup section showing the Inbound, carrier to Bolna card and the Outbound, Bolna to carrier card with copy buttons`,\"data-og-width\":`2496`,width:`2496`,\"data-og-height\":`1362`,height:`1362`,\"data-path\":`images/sip-trunks/trunk-overview-carrier-setup.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-overview-carrier-setup.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=d41edc2d657a8d03122cd278fe683548 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-overview-carrier-setup.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=225870ef07bc2ab2e9930956524272f3 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-overview-carrier-setup.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=28ffed7c79785ab82edfbfd898359395 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-overview-carrier-setup.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=387c32097f1dc544135fa1b0bb9cc710 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-overview-carrier-setup.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=f58840c2e3bda125d2b21724401b65e4 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-overview-carrier-setup.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=971f646443629d8f2ff272cb53786ce4 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`inbound-carrier-to-bolna`,children:`Inbound: carrier to Bolna`}),`\n`,_jsx(_components.p,{children:`Set these on your carrier’s origination (inbound) trunk:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Origination URI`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`sip:trunk.bolna.ai:5060`}),` for UDP, or `,_jsx(_components.code,{children:`sip:trunk.bolna.ai:5060;transport=tcp`}),` for TCP`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`If the carrier accepts only an IP`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`15.252.21.46`}),`, port `,_jsx(_components.code,{children:`5060`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Number format`}),_jsxs(_components.td,{children:[`E.164, with or without the `,_jsx(_components.code,{children:`+`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Codecs`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`PCMU`}),` and `,_jsx(_components.code,{children:`PCMA`}),`. Turn off any others, such as G.729.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`DTMF`}),_jsx(_components.td,{children:`RFC 2833`})]})]})]}),`\n`,_jsx(_components.p,{children:`Your carrier must send each INVITE with an SDP offer, from an address on the trunk’s carrier IPs. Assign your numbers to this origination trunk in the carrier’s console.`}),`\n`,_jsx(Heading,{level:`3`,id:`outbound-bolna-to-carrier`,children:`Outbound: Bolna to carrier`}),`\n`,_jsx(_components.p,{children:`Set these on your carrier’s termination (outbound) trunk:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`IP allowlist (signalling)`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`15.252.21.46`}),` and `,_jsx(_components.code,{children:`13.206.230.198`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Media (RTP), both directions`}),_jsxs(_components.td,{children:[`UDP `,_jsx(_components.code,{children:`30000`}),`-`,_jsx(_components.code,{children:`40000`}),`, to and from `,_jsx(_components.code,{children:`15.252.21.46`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Credentials`}),_jsx(_components.td,{children:`Optional. If you use a credential list instead of, or as well as, the IP allowlist, enter the same username and password on the trunk in Bolna.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Caller ID`}),_jsxs(_components.td,{children:[`One of your trunk numbers, in E.164 with the `,_jsx(_components.code,{children:`+`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Codecs`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`PCMU`}),` and `,_jsx(_components.code,{children:`PCMA`})]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Allowlist both Bolna IPs. `,_jsx(_components.code,{children:`13.206.230.198`}),` is reserved for a second edge, so listing it now means no carrier change later.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`manage-carrier-ips-gateways-and-credentials`,children:`Manage carrier IPs, gateways and credentials`}),`\n`,_jsxs(_components.p,{children:[`The trunk’s `,_jsx(_components.strong,{children:`Connection`}),` tab holds both directions. Changes take effect on live traffic.`]}),`\n`,_jsx(Frame,{caption:`The Connection tab`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-connection-tab.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=1d3a0bc8e7ed8f7434221aab4167ff3a`,alt:`Trunk Connection tab with the Inbound: carrier IPs list on the left, the Outbound: gateways list with a Dial with leading plus switch and Carrier credentials row on the right, and the Advanced row below showing UDP, PCMU, PCMA and RFC 2833 DTMF`,\"data-og-width\":`2496`,width:`2496`,\"data-og-height\":`1362`,height:`1362`,\"data-path\":`images/sip-trunks/trunk-connection-tab.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-connection-tab.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=2124fae0d8905303a7af06c426bb399f 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-connection-tab.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=211eb6cb24670f96da4012aa86ccd921 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-connection-tab.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=e673ecbd102a3b1b267df091f9079887 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-connection-tab.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=cc4cbfc800c9b2d8308db96ad1de2d01 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-connection-tab.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=eacbe8e2a2d9f7299060100ff77e4ecc 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-connection-tab.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=26574c508d78bb5257cf9f7e8b9ec3d1 2500w`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Inbound: carrier IPs.`}),` Click `,_jsx(_components.strong,{children:`Add IP`}),` to add an address or CIDR range. Changes apply within 5 seconds. Each entry must be a public IPv4 address or range, no broader than `,_jsx(_components.code,{children:`/16`}),`, and a trunk holds up to 32. With no carrier IPs, every inbound call is refused.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Outbound: gateways.`}),` Click `,_jsx(_components.strong,{children:`Add gateway`}),` and enter the `,_jsx(_components.strong,{children:`Host`}),`, `,_jsx(_components.strong,{children:`Port`}),` and `,_jsx(_components.strong,{children:`Priority`}),`. A trunk holds up to 8 gateways, tried in priority order, lowest first. The host must be a public IPv4 address or a DNS name. If a gateway times out, answers `,_jsx(_components.code,{children:`408`}),` or `,_jsx(_components.code,{children:`478`}),`, or answers with a `,_jsx(_components.code,{children:`5xx`}),`, Bolna tries the next gateway. Any other answer, such as busy, a decline or no answer within 60 seconds, ends the call.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dial with leading plus`}),` sends the number you call as `,_jsx(_components.code,{children:`+\u003cdigits>`}),`. Off, the default, sends the digits alone. Pick whichever your carrier expects.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Carrier credentials`}),` holds the username and password Bolna sends when your carrier challenges an outbound call with `,_jsx(_components.code,{children:`401`}),` or `,_jsx(_components.code,{children:`407`}),`. The password is stored encrypted and never shown again.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Advanced.`}),` Click `,_jsx(_components.strong,{children:`Edit`}),` to change the `,_jsx(_components.strong,{children:`Transport`}),` (UDP or TCP) Bolna uses to reach your gateways, the `,_jsx(_components.strong,{children:`Channels`}),`, and the `,_jsx(_components.strong,{children:`Codecs`}),` (`,_jsx(_components.code,{children:`PCMU`}),`, `,_jsx(_components.code,{children:`PCMA`}),`, or both). DTMF is always RFC 2833.`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-numbers`,children:`Add numbers`}),`\n`,_jsxs(_components.p,{children:[`Open the `,_jsx(_components.strong,{children:`Numbers`}),` tab and click `,_jsx(_components.strong,{children:`Add number`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Number`}),` is the number in E.164 format, starting with `,_jsx(_components.code,{children:`+`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Destination key`}),` is the called number exactly as your carrier puts it in the Request-URI. Leave it blank to use the number’s digits without the `,_jsx(_components.code,{children:`+`}),`. Set it when your carrier sends something else, such as a national format.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`An inbound call matches a number when the called number equals the E.164 number, with or without the `,_jsx(_components.code,{children:`+`}),`, or equals the destination key. A number can be on only one trunk at a time; adding one that is already on a trunk fails with `,_jsx(_components.code,{children:`409 number_taken`}),`.`]}),`\n`,_jsx(Frame,{caption:`Add number`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/add-number-dialog.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=8b289d4e5f594bf8b95e42346fcc6346`,alt:`Add number dialog with a Number field holding an E.164 number and a Destination key field showing the digits as a placeholder`,\"data-og-width\":`960`,width:`960`,\"data-og-height\":`624`,height:`624`,\"data-path\":`images/sip-trunks/add-number-dialog.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/add-number-dialog.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=c9036bb4c0edd3f0a81b28e6bce8b114 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/add-number-dialog.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=cee07925bdde5247f6ab4e1ab9861cf8 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/add-number-dialog.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=467b11516c3db3766dc6e601987df24b 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/add-number-dialog.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=a111b3a1a8df22fa1610a551fc22667a 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/add-number-dialog.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=e4be97175f714a1b75383c712f29e159 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/add-number-dialog.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=d6757963cd27fe3172dd6590c03e1eba 2500w`})}),`\n`,_jsxs(_components.p,{children:[`Next, `,_jsx(_components.a,{href:`/sip-trunking/inbound-calls`,children:`assign an agent to each number`}),` so inbound calls are answered.`]}),`\n`,_jsx(Heading,{level:`2`,id:`verify-with-a-test-call`,children:`Verify with a test call`}),`\n`,_jsxs(_components.p,{children:[`The trunk tests itself without an agent. Open the `,_jsx(_components.strong,{children:`Activity`}),` tab, or click `,_jsx(_components.strong,{children:`Test trunk`}),` at the top of the trunk page.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Test inbound`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Test inbound`}),`, click `,_jsx(_components.strong,{children:`Start listening`}),`, then dial the number shown from any phone within five minutes. Bolna answers and plays your voice back to you about a second later. While the trunk is listening, the next call to any of its numbers reaches the test instead of your agent. `,_jsx(_components.strong,{children:`Stop listening`}),` cancels the test before a call arrives.`]})}),_jsx(Step,{title:`Test outbound`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Test outbound`}),`, enter a phone number you can answer and click `,_jsx(_components.strong,{children:`Place echo call`}),`. Bolna calls it from the trunk’s first number, through its gateways in priority order. Answer, speak, and you hear yourself about a second later. The call ends after a minute.`]})}),_jsx(Step,{title:`Read the result`,children:_jsxs(_components.p,{children:[`Each test shows its state, ending in `,_jsx(_components.strong,{children:`Completed`}),` or `,_jsx(_components.strong,{children:`Failed`}),`. A failed test shows the SIP code and cause the carrier returned. See `,_jsx(_components.a,{href:`/sip-trunking/troubleshooting`,children:`Troubleshooting`}),` for what each one means.`]})})]}),`\n`,_jsx(Frame,{caption:`Self-tests on the Activity tab`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-activity-self-tests.png?fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=4f51fd95d0894967cc9009f631837830`,alt:`Trunk Activity tab with the Test inbound card waiting for a call, showing Dial the number now, Listening for a countdown and a Stop listening button, and the Test outbound card with a number in the Number to call field next to the Place echo call button`,\"data-og-width\":`2496`,width:`2496`,\"data-og-height\":`535`,height:`535`,\"data-path\":`images/sip-trunks/trunk-activity-self-tests.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-activity-self-tests.png?w=280\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=3f6b0692ccd8cbe7c917666e34ac31b2 280w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-activity-self-tests.png?w=560\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=6bc627fb36304c92838e969ea782efc1 560w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-activity-self-tests.png?w=840\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=34726400b8578591207eb3e4ee859862 840w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-activity-self-tests.png?w=1100\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=2d97216852c6083066c58a880070c940 1100w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-activity-self-tests.png?w=1650\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=3bbfa93632909f5e7b1646ee8abfd556 1650w, https://mintcdn.com/bolna-54a2d4fe/7dEowS9LSMkFi965/images/sip-trunks/trunk-activity-self-tests.png?w=2500\u0026fit=max\u0026auto=format\u0026n=7dEowS9LSMkFi965\u0026q=85\u0026s=4e5c1824f9abfa2bffe1e68bad9d73a7 2500w`})}),`\n`,_jsxs(_components.p,{children:[`A trunk runs one test at a time and allows five tests every ten minutes. A test uses one of the trunk’s channels while it runs. Tests do not appear in Call History or under `,_jsx(_components.strong,{children:`Recent calls`}),`, and they do not change the trunk’s health, which stays `,_jsx(_components.strong,{children:`Waiting for carrier`}),` until a real call crosses the trunk.`]}),`\n`,_jsx(Heading,{level:`2`,id:`using-the-api`,children:`Using the API`}),`\n`,_jsxs(_components.p,{children:[`Every step above has an API equivalent. Send your API key as a Bearer token; see `,_jsx(_components.a,{href:`/api-reference/authentication`,children:`Authentication`}),`. These requests use the `,_jsx(_components.a,{href:`/api-reference/trunks/create`,children:`create trunk`}),`, `,_jsx(_components.a,{href:`/api-reference/trunks/add_carrier_ip`,children:`add carrier IP`}),`, `,_jsx(_components.a,{href:`/api-reference/trunks/add_gateway`,children:`add gateway`}),`, `,_jsx(_components.a,{href:`/api-reference/trunks/update`,children:`update trunk`}),`, `,_jsx(_components.a,{href:`/api-reference/trunks/add_number`,children:`add number`}),` and `,_jsx(_components.a,{href:`/api-reference/trunks/connection_details`,children:`connection details`}),` endpoints.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Create a trunk`,numberOfLines:`17`,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:`17`,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\":`#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:` \"name\": \"Acme India\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"preset\": \"plivo\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"channels\": 10,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transport\": \"udp\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"codecs\": \"PCMU,PCMA\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"outbound_leading_plus_enabled\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gateways\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"host\": \"21784177241578.zt.plivo.com\", \"port\": 5060, \"priority\": 1 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` \"ip_acls\": [\"15.207.90.192/31\", \"204.89.151.128/27\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"auth_username\": \"\u003ccarrier_username>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"auth_password\": \"\u003ccarrier_password>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Add a carrier IP`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.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:`/ip-acls`}),_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:` '{ \"cidr\": \"13.52.9.0/25\" }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Add a gateway`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.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:`/gateways`}),_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:` '{ \"host\": \"sip-backup.example.com\", \"port\": 5060, \"priority\": 2 }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Set credentials and transport`,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:` 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:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"auth_username\": \"\u003ccarrier_username>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"auth_password\": \"\u003ccarrier_password>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transport\": \"tcp\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Add a number`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.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:` '{ \"e164\": \"+918045678901\", \"destination_key\": \"918045678901\" }'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Get Bolna's values`,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/pop`}),_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:[_jsx(_components.code,{children:`GET /trunk/pop`}),` returns the values to give your carrier:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sip_domain\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"trunk.bolna.ai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ips\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15.252.21.46\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"13.206.230.198\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"port\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5060`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transports\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"udp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tcp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rtp_ports\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"30000-40000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`A few rules the API enforces:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`preset`}),` records which carrier template the trunk came from. The API does not fill any values from it; send the gateways, transport and carrier IPs yourself.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`transport`}),` is `,_jsx(_components.code,{children:`udp`}),` (the default) or `,_jsx(_components.code,{children:`tcp`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`codecs`}),` is `,_jsx(_components.code,{children:`PCMU`}),`, `,_jsx(_components.code,{children:`PCMA`}),`, or both, comma-separated.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`auth_username`}),` and `,_jsx(_components.code,{children:`auth_password`}),` are set together and cleared together. To clear them, send both as `,_jsx(_components.code,{children:`null`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`destination_key`}),` is required when adding a number through the API. Send the number’s digits without the `,_jsx(_components.code,{children:`+`}),` unless your carrier sends something else.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`gateway.priority`}),` is 0 to 100, lowest tried first.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The trunk’s `,_jsx(_components.code,{children:`health`}),` field reads `,_jsx(_components.code,{children:`waiting_for_carrier`}),` until the first call, `,_jsx(_components.code,{children:`ready`}),` after it, `,_jsx(_components.code,{children:`degraded`}),` after three outbound calls in a row fail at the carrier (an answered call resets this), and `,_jsx(_components.code,{children:`disabled`}),` while `,_jsx(_components.code,{children:`is_active`}),` is `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Receive inbound calls`,icon:`phone-arrow-down-left`,href:`/sip-trunking/inbound-calls`,children:_jsx(_components.p,{children:`Assign an agent to each number.`})}),_jsx(Card,{title:`Make outbound calls`,icon:`phone-arrow-up-right`,href:`/sip-trunking/outbound-calls`,children:_jsx(_components.p,{children:`Switch an agent to the trunk and place calls.`})})]})]})}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":"Connect your carrier to Bolna with a SIP trunk","sidebarTitle":"Connect your carrier","description":"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.","icon":"plug","iconType":"solid","last_reviewed":"2026-11-01","href":"/sip-trunking/connect-carrier"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you begin","slug":"before-you-begin","depth":2,"children":[]},{"title":"Create the trunk","slug":"create-the-trunk","depth":2,"children":[]},{"title":"Set Bolna’s values at your carrier","slug":"set-bolna’s-values-at-your-carrier","depth":2,"children":[{"title":"Inbound: carrier to Bolna","slug":"inbound-carrier-to-bolna","depth":3,"children":[]},{"title":"Outbound: Bolna to carrier","slug":"outbound-bolna-to-carrier","depth":3,"children":[]}]},{"title":"Manage carrier IPs, gateways and credentials","slug":"manage-carrier-ips-gateways-and-credentials","depth":2,"children":[]},{"title":"Add numbers","slug":"add-numbers","depth":2,"children":[]},{"title":"Verify with a test call","slug":"verify-with-a-test-call","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":"Connect your carrier to Bolna with a SIP trunk - Bolna Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T06:19:10.521Z","originalFileLocation":"sip-trunking/connect-carrier.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=\"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.\">\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=\"Connect your carrier to Bolna with a SIP trunk - Bolna Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.\">\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/connect-carrier\">\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=Connect+your+carrier+to+Bolna+with+a+SIP+trunk\u0026amp;description=Create+a+SIP+trunk%2C+give+your+carrier+the+values+Bolna+needs%2C+add+carrier+IPs%2C+gateways+and+numbers%2C+then+confirm+the+connection+with+a+test+call.\u0026amp;theme=f2dcce2f7fc3b944c1c433e4\u0026amp;signature=4da58887e4925141544f8a6667dc68f0b1cdafbfcc2fcf9210ca4177c6999681\">\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=\"Connect your carrier to Bolna with a SIP trunk - Bolna Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bolna-54a2d4fe.mintlify.site/docs/_mintlify/api/og/v2?division=SIP+trunks\u0026amp;title=Connect+your+carrier+to+Bolna+with+a+SIP+trunk\u0026amp;description=Create+a+SIP+trunk%2C+give+your+carrier+the+values+Bolna+needs%2C+add+carrier+IPs%2C+gateways+and+numbers%2C+then+confirm+the+connection+with+a+test+call.\u0026amp;theme=f2dcce2f7fc3b944c1c433e4\u0026amp;signature=4da58887e4925141544f8a6667dc68f0b1cdafbfcc2fcf9210ca4177c6999681\">\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/connect-carrier\">\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/connect-carrier.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/connect-carrier#webpage\",\"url\":\"https://www.bolna.ai/docs/sip-trunking/connect-carrier\",\"name\":\"Connect your carrier to Bolna with a SIP trunk\",\"description\":\"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.\",\"dateModified\":\"2026-11-14T06:19:10.521Z\",\"isPartOf\":{\"@id\":\"https://www.bolna.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.bolna.ai/docs/sip-trunking/connect-carrier#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.bolna.ai/docs/sip-trunking/connect-carrier#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\":\"Connect your carrier to Bolna with a SIP trunk\",\"item\":\"https://www.bolna.ai/docs/sip-trunking/connect-carrier\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.bolna.ai/docs/sip-trunking/connect-carrier#article\",\"headline\":\"Connect your carrier to Bolna with a SIP trunk\",\"name\":\"Connect your carrier to Bolna with a SIP trunk\",\"description\":\"Create a SIP trunk, give your carrier the values Bolna needs, add carrier IPs, gateways and numbers, then confirm the connection with a test call.\",\"url\":\"https://www.bolna.ai/docs/sip-trunking/connect-carrier\",\"mainEntityOfPage\":{\"@id\":\"https://www.bolna.ai/docs/sip-trunking/connect-carrier#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/connect-carrier.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","description":"Connect your own SIP carrier to Bolna with a SIP trunk, then answer and place AI agent calls on your own numbers at your own carrier rates.","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","description":"Step-by-step guides for connecting Acefone, Airtel, Plivo, Telnyx, Twilio, Vobiz and VoiceLink to Bolna with a SIP trunk, and the dashboard preset to pick for each carrier.","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","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","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":"Connect your carrier to Bolna with 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"]}