Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.
By the end of this tutorial your SmartAlex agent answers calls as an extension on your own phone system. It can also put callers through to your team. It takes about 20 minutes once you have an extension and its password from your PBX.
In the app: Sidebar → Calls → PBX Extensions (/settings/pbx) → Connect a PBX. This tutorial uses Use as PBX extension, which works for most PBXs. For other options, see Connection modes.
What you need first
A paid plan. On the Free plan, PBX extensions is locked.
A role that can add PBX connections and phone numbers. To link the agent, it must also be able to edit agents; without that, the button reads “You don’t have permission to edit agents”.
A SmartAlex agent that is ready to answer calls.
An extension on your PBX kept for the AI, with its SIP username and password, and never use a person’s extension.
Someone who can allow 34.233.117.97 and 15.240.176.215 on your firewall and PBX.
The steps at a glance
This diagram shows the whole tutorial, from opening the connect page to a test call.
Connect it
1
Open PBX Extensions
In the sidebar, click Calls, then PBX Extensions (/settings/pbx). The page is titled “PBX extensions”. Click Connect a PBX.
Start on Calls, then PBX Extensions
2
Choose your PBX
On Add connection (/phone/connect?type=pbx), choose PBX platform. Under Choose your PBX, click your system’s tile, or Other if it is not listed.
Pick your phone system, or Other
3
Choose Use as PBX extension
Under Connection Type, choose Use as PBX extension. Yeastar and Porta always use it, and Yeastar then offers its guided setup, described in the Yeastar guide.
4
Enter the extension
Fill in the fields in the table below, then click Connect to PBX. The app shows “Connected. SmartAlex is registering to your PBX now.”
Enter the extension your PBX gave the AI
5
Allow our addresses
The connect screen shows both addresses with copy buttons, so allow them on your firewall and in your PBX’s own block list or allowed hosts.
6
Link the agent
Under Finish the connection, find Which agent answers?, choose your agent and click Link agent.
7
Set up the inbound route
Under Which number rings it?, click Set up the inbound route. The Connect a PBX Extension dialog already knows the connection and the linked agent. It asks only for the Extension, the Number callers dial in full international form, such as +27 11 555 1234, and an optional Label. Click Connect.
8
Send calls to the AI on your PBX
On your PBX, point the number’s inbound route, a ring group or an IVR option at the AI’s extension. Your PBX guide names the exact menu.
Every field on the form
Setting
What it does
Default
When to change it
Trunk Name
The name you see on the connection card
Empty
Always: use something like “Office PBX (ext 850)“
Your PBX SIP Domain
Where SmartAlex signs in. “Use the SIP hostname configured on your desk phones.”
Empty
Always
Extension number for SmartAlex
The AI’s extension on your PBX
Empty
Always
Username from your PBX
The extension’s SIP username, such as the Yeastar Registration Name or the Grandstream Auth ID
Empty
Always. It is often not the extension number
Password from your PBX
The extension’s SIP password, stored encrypted
Empty
Always
Transport (Advanced Settings)
How SIP travels: UDP, TCP or TLS. “UDP works for most PBXes.”
UDP
Leave on UDP. Extension mode signs in over UDP only, and TCP or TLS is refused with “Only UDP is supported for this connection type.”
Port (Advanced Settings)
Your PBX’s SIP port
5060
When your PBX listens on another port
Check it worked
1
The status turns green
Under Sidebar → Calls → PBX Extensions, the card shows Connected as ext N. The first registration usually lands within a minute, and if it shows anything else, see Connection status.
2
Diagnostics pass
Open the card’s menu, choose Show diagnostics, and check Registration, PBX reachable and Inbound routing all pass.
3
A call reaches the AI
Call the number from a mobile phone. Your agent answers.
Next
Fill the extension directory
So the AI can put callers through to your team.
Test before go-live
The full test plan.
Questions people ask
Our PBX cannot take an outside extension
Use a SIP trunk or number forwarding instead. See Connection modes.
The status says Auth failed
The username is usually wrong. Fix it with Edit connection. See Connection status.
Can I connect a second PBX later?
Yes. Click Connect a PBX again, and each connection gets its own card, agent and directory.
Related
PBX extension mode
How extension mode works.
Network requirements
Addresses, ports and the change request.
Last modified on November 27, 2026
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"SmartAlex Documentation","description":"Documentation for SmartAlex, the AI voice assistant platform for businesses. Build voice agents, run outbound campaigns, manage contacts and call analytics, and connect your own systems through the MCP server.","colors":{"primary":"#010033","light":"#8B93E6","dark":"#5E6AD2"},"logo":{"light":"https://mintcdn.com/smartalex/qlHSvs0nyK6c2s5R/logo/light.png?fit=max\u0026auto=format\u0026n=qlHSvs0nyK6c2s5R\u0026q=85\u0026s=f2b8d4b820c7af262103f73350d3cc4e","dark":"https://mintcdn.com/smartalex/qlHSvs0nyK6c2s5R/logo/dark.png?fit=max\u0026auto=format\u0026n=qlHSvs0nyK6c2s5R\u0026q=85\u0026s=a98ea864686586154e8b6398c073d378"},"favicon":"https://mintcdn.com/smartalex/aHrSp8SKq40Ip2qH/favicon.png?fit=max\u0026auto=format\u0026n=aHrSp8SKq40Ip2qH\u0026q=85\u0026s=00fe0a5429a5be6c7a7d76dfef957afa","background":{"color":{"light":"#FFFFFF","dark":"#08090A"}},"navbar":{"links":[{"href":"/pricing","label":"Pricing"},{"href":"/faq","label":"Help"},{"href":"https://getsmartalex.com","label":"Website"},{"href":"https://getsmartalex.com/login","label":"Sign in"}],"primary":{"type":"button","label":"Start free","href":"https://getsmartalex.com/instant"}},"footer":{"socials":{"x":"https://x.com/smartalexhq","linkedin":"https://www.linkedin.com/company/smartalexhq","instagram":"https://www.instagram.com/smartalexhq","youtube":"https://www.youtube.com/@smartalexhq"},"links":[{"header":"Product","items":[{"label":"Pricing","href":"/pricing"},{"label":"Price list","href":"https://getsmartalex.com/legal/smartalex-usage-pricing-schedule"},{"label":"Integrations","href":"/integrations"},{"label":"Telephony","href":"/telephony/overview"},{"label":"MCP server","href":"/mcp/overview"}]},{"header":"Help","items":[{"label":"Quickstart","href":"/quickstart"},{"label":"FAQ","href":"/faq"},{"label":"Help centre","href":"https://getsmartalex.com/help"},{"label":"Email support","href":"mailto:support@getsmartalex.com"},{"label":"System status","href":"https://status.getsmartalex.com"}]},{"header":"Legal","items":[{"label":"Security","href":"/security"},{"label":"Trust and compliance","href":"/trust/compliance"},{"label":"Terms of Service","href":"https://getsmartalex.com/legal/smartalex-terms-of-services"},{"label":"Privacy Policy","href":"https://getsmartalex.com/legal/smartalex-privacy-policy"},{"label":"All legal documents","href":"https://getsmartalex.com/legal"}]},{"header":"Company","items":[{"label":"Website","href":"https://getsmartalex.com"},{"label":"Start free","href":"https://getsmartalex.com/instant"},{"label":"Sign in","href":"https://getsmartalex.com/login"},{"label":"Compare","href":"/comparisons/overview"}]}]},"seo":{"organization":{"id":"https://getsmartalex.com/#organization","name":"SmartAlex","url":"https://getsmartalex.com"},"indexing":"all"},"fonts":{"family":"Geist"},"errors":{"404":{"redirect":false,"title":"We could not find that page","description":"The link may be old, or the page has moved. Search with the bar at the top, or start from [Home](/), the [Quickstart](/quickstart) or [Help](/faq). Still stuck? Email [support@getsmartalex.com](mailto:support@getsmartalex.com)."}},"contextual":{"options":["assistant","copy","view","chatgpt","claude","perplexity","aistudio","mcp","add-mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"markdown":{"instructions":["For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.","For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.","Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.","Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.","If a feature or screen is not described in these docs, say that you could not find it rather than guessing.","Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.","The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview."]},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.getsmartalex.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"smartalex","hasAudioNarration":false,"actualSubdomain":"smartalex","customDomains":["docs.getsmartalex.com"],"gitSource":{"type":"github","owner":"the-rcs-group","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{},"buildId":"6b0beea7d4f92785796ee5a7","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Product","count":204},{"language":"default","tag":"Developers","count":128},{"language":"default","tag":"REST API","count":99},{"language":"default","tag":"Endpoints","count":95},{"language":"default","tag":"Start here","count":81},{"language":"default","tag":"Trust","count":63},{"language":"default","tag":"Agents","count":51},{"language":"default","tag":"Legal","count":49},{"language":"default","tag":"Learn","count":46},{"language":"default","tag":"Telephony","count":42}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--sa-radius: 12px;--sa-radius-sm: 10px;--sa-ease: cubic-bezier(0.2, 0, 0, 1);--sa-fast: 150ms;--sa-hairline: rgb(var(--gray-950) / 0.08);--sa-hairline-strong: rgb(var(--gray-950) / 0.14);--sa-well: rgb(var(--gray-50))}html.dark{--sa-hairline: rgb(255 255 255 / 0.08);--sa-hairline-strong: rgb(255 255 255 / 0.16);--sa-well: rgb(255 255 255 / 0.03)}h1{font-weight:400!important;letter-spacing:-0.025em!important;line-height:1.15!important}h2{font-weight:500!important;letter-spacing:-0.02em!important;line-height:1.25!important;margin-top:2.75rem!important}h3{font-weight:500!important;letter-spacing:-0.015em!important}.mdx-content p,.mdx-content li{line-height:1.7}button[class*=\"Button\"],button[class*=\"button\"],a[role=\"button\"],a[class*=\"Button\"],a[class*=\"button\"],[class*=\"btn\"],#navbar a[class*=\"bg-primary\"]{border-radius:9999px!important}#navbar a[class*=\"bg-primary\"]{padding-left:1rem!important;padding-right:1rem!important;box-shadow:none!important}input[type=\"search\"]{border-radius:9999px!important}#navbar img.nav-logo{height:40px!important}@media (max-width: 1023px){#navbar img.nav-logo,#mobile-nav img.nav-logo{height:34px!important;max-width:none!important}}#navbar:has(a[href*=\"getsmartalex\"]) img.nav-logo[class*=\"dark:hidden\"]{display:none!important}#navbar:has(a[href*=\"getsmartalex\"]) img.nav-logo[class*=\"dark:block\"]{display:block!important}#navbar:has(a[href*=\"getsmartalex\"]) img.nav-logo{aspect-ratio:2520 / 624}#navbar:has(a[href*=\"getsmartalex\"]){--sa-bar-fg: rgb(255 255 255 / 0.72);--sa-bar-dim: rgb(255 255 255 / 0.5);--sa-bar-line: rgb(255 255 255 / 0.12);--sa-bar-field: rgb(255 255 255 / 0.07);color-scheme:dark}#navbar:has(a[href*=\"getsmartalex\"])>div.absolute.inset-0,#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"]{background:#000!important}#navbar:has(a[href*=\"getsmartalex\"])>div.absolute[class*=\"border-b\"]{border-color:var(--sa-bar-line)!important}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"]{border-top:1px solid var(--sa-bar-line)}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] span,#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] button{color:var(--sa-bar-fg)!important}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] [class*=\"text-gray-900\"]{color:#fff!important}#navbar:has(a[href*=\"getsmartalex\"]) div[class*=\"bg-gray-50\"] svg[class*=\"fill-gray\"]{fill:var(--sa-bar-dim)!important}#navbar:has(a[href*=\"getsmartalex\"]) a.font-medium:not([class*=\"bg-primary\"]),#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item{color:var(--sa-bar-fg)!important;transition:color var(--sa-fast) var(--sa-ease)}#navbar:has(a[href*=\"getsmartalex\"]) a.font-medium:not([class*=\"bg-primary\"]):hover,#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item:hover,#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item[class*=\"text-shadow\"]{color:#fff!important}#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item>div[class*=\"bg-primary\"]{background:#fff!important}#navbar:has(a[href*=\"getsmartalex\"]) .nav-tabs-item:hover>div:not([class*=\"bg-primary\"]){background:rgb(255 255 255 / 0.3)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry{background:var(--sa-bar-field)!important;border-color:var(--sa-bar-line)!important;color:var(--sa-bar-dim)!important;border-radius:9999px!important;padding-left:0.75rem!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry:hover{background:rgb(255 255 255 / 0.11)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry *{color:var(--sa-bar-dim)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry svg[class*=\"bg-gray\"]{background-color:var(--sa-bar-dim)!important}#navbar:has(a[href*=\"getsmartalex\"]) #search-bar-entry span[class*=\"bg-white\"]{background:rgb(255 255 255 / 0.1)!important;border-radius:9999px!important}#navbar:has(a[href*=\"getsmartalex\"]) button svg{color:var(--sa-bar-fg)!important}#navbar:has(a[href*=\"getsmartalex\"]) a[class*=\"bg-primary\"]{background:#fff!important;color:#000!important}#navbar:has(a[href*=\"getsmartalex\"]) a[class*=\"bg-primary\"]:hover{opacity:0.88!important}#navbar:has(a[href*=\"getsmartalex\"]) a:focus-visible,#navbar:has(a[href*=\"getsmartalex\"]) button:focus-visible{outline:2px solid #fff!important;outline-offset:2px}.card{border-radius:var(--sa-radius)!important;border:1px solid var(--sa-hairline-strong)!important;box-shadow:none!important;transition:border-color var(--sa-fast) var(--sa-ease),\n background-color var(--sa-fast) var(--sa-ease)!important}.card:hover{transform:none!important;box-shadow:none!important}a.card:hover,.card[href]:hover,.card:has(>a):hover,.card.cursor-pointer:hover{border-color:rgb(var(--primary) / 0.45)!important;background-color:var(--sa-well)!important}html.dark a.card:hover,html.dark .card[href]:hover,html.dark .card:has(>a):hover,html.dark .card.cursor-pointer:hover{border-color:rgb(var(--primary-light) / 0.5)!important}.card [data-component-part=\"card-icon\"]{color:rgb(var(--primary))!important;fill:rgb(var(--primary))!important}html.dark .card [data-component-part=\"card-icon\"]{color:rgb(var(--primary-light))!important;fill:rgb(var(--primary-light))!important}.card [data-component-part=\"card-title\"]{font-weight:500!important;letter-spacing:-0.01em}.card ul{margin-top:0.5rem;margin-bottom:0;padding-left:1.1rem}.card li{margin:0.2rem 0}.callout{border-radius:var(--sa-radius)!important}.accordion-group{border-radius:var(--sa-radius)!important;border-color:var(--sa-hairline-strong)!important}.accordion-group summary{transition:background-color var(--sa-fast) var(--sa-ease)}.accordion-group summary:hover{background-color:var(--sa-well)}.mdx-content table{font-size:0.925rem;border-collapse:separate;border-spacing:0;width:100%}.mdx-content thead th{font-size:0.75rem;font-weight:500;letter-spacing:0.02em;color:rgb(var(--gray-500));border-bottom:1px solid var(--sa-hairline-strong)!important;background:transparent;white-space:nowrap}html.dark .mdx-content thead th{color:rgb(var(--gray-400))}.mdx-content tbody td{border-bottom:1px solid var(--sa-hairline)!important;vertical-align:top}.mdx-content tbody tr:last-child td{border-bottom:0!important}.mdx-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}@media (min-width: 768px){.mdx-content table{display:table;overflow-x:visible}}code,pre,kbd{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, monospace;font-feature-settings:\"liga\" 0}pre,.code-block,div[class*=\"codeblock\"],div[class*=\"code-block\"]{border-radius:var(--sa-radius-sm)!important}.code-block,div[class*=\"code-block\"]{border:1px solid var(--sa-hairline-strong)!important;box-shadow:none!important}.mdx-content :not(pre)>code{padding:0.12em 0.4em;border-radius:6px;background:var(--sa-well);font-size:0.875em}.mermaid{display:flex;justify-content:center;margin:1.5rem 0;padding:1rem;border:1px solid var(--sa-hairline);border-radius:var(--sa-radius);overflow-x:auto;-webkit-overflow-scrolling:touch}.mermaid svg{height:auto;font-family:inherit!important}@media (max-width: 767px){.mermaid{justify-content:flex-start}.mermaid svg{min-width:560px}}.mermaid .node rect,.mermaid .node polygon,.mermaid .node circle,.mermaid .node path.basic,.mermaid .node .label-container>path{fill:rgb(var(--background-light))!important;stroke:rgb(var(--primary) / 0.35)!important;stroke-width:1px!important}.mermaid .node rect{rx:8px;ry:8px}.mermaid .node.core rect,.mermaid .node.core polygon,.mermaid .node.core .label-container>path{fill:rgb(var(--primary) / 0.06)!important;stroke:rgb(var(--primary))!important;stroke-width:1.5px!important}html.dark .mermaid .node.core rect,html.dark .mermaid .node.core polygon,html.dark .mermaid .node.core .label-container>path{fill:rgb(var(--primary-light) / 0.12)!important;stroke:rgb(var(--primary-light))!important}.mermaid .cluster rect{fill:rgb(var(--gray-50))!important;stroke:rgb(var(--gray-200))!important;stroke-width:1px!important;rx:12px;ry:12px}.mermaid .nodeLabel,.mermaid .cluster-label,.mermaid .cluster-label span,.mermaid .label,.mermaid text{color:rgb(var(--gray-900))!important;fill:rgb(var(--gray-900))!important}.mermaid .cluster-label .nodeLabel,.mermaid .cluster-label span{color:rgb(var(--gray-500))!important;font-weight:500;font-size:0.85em}.mermaid .flowchart-link,.mermaid .edgePath path,.mermaid .messageLine0,.mermaid .messageLine1,.mermaid .actor-line,.mermaid .loopLine{stroke:rgb(var(--gray-400))!important}.mermaid .arrowMarkerPath,.mermaid marker path,.mermaid #arrowhead path,.mermaid .arrowheadPath{fill:rgb(var(--gray-400))!important;stroke:rgb(var(--gray-400))!important}.mermaid .edgeLabel,.mermaid .edgeLabel rect,.mermaid .labelBkg{background-color:rgb(var(--background-light))!important;fill:rgb(var(--background-light))!important}.mermaid rect.actor,.mermaid .actor-box{fill:rgb(var(--background-light))!important;stroke:rgb(var(--primary) / 0.35)!important}.mermaid .actor-man circle,.mermaid .actor-man line{fill:rgb(var(--background-light))!important;stroke:rgb(var(--primary) / 0.6)!important}.mermaid .messageText,.mermaid text.actor,.mermaid text.actor>tspan{fill:rgb(var(--gray-900))!important}.mermaid .note{fill:rgb(var(--gray-50))!important;stroke:rgb(var(--gray-200))!important}html.dark .mermaid .node rect,html.dark .mermaid .node polygon,html.dark .mermaid .node circle,html.dark .mermaid .node path.basic,html.dark .mermaid .node .label-container>path,html.dark .mermaid rect.actor,html.dark .mermaid .actor-box,html.dark .mermaid .actor-man circle{fill:rgb(var(--background-dark))!important;stroke:rgb(var(--primary-light) / 0.45)!important}html.dark .mermaid .cluster rect,html.dark .mermaid .note{fill:rgb(255 255 255 / 0.03)!important;stroke:rgb(255 255 255 / 0.1)!important}html.dark .mermaid .nodeLabel,html.dark .mermaid .label,html.dark .mermaid text,html.dark .mermaid .messageText,html.dark .mermaid text.actor,html.dark .mermaid text.actor>tspan{color:rgb(var(--gray-100))!important;fill:rgb(var(--gray-100))!important}html.dark .mermaid .cluster-label .nodeLabel,html.dark .mermaid .cluster-label span{color:rgb(var(--gray-400))!important}html.dark .mermaid .flowchart-link,html.dark .mermaid .edgePath path,html.dark .mermaid .messageLine0,html.dark .mermaid .messageLine1,html.dark .mermaid .actor-line,html.dark .mermaid .loopLine{stroke:rgb(var(--gray-500))!important}html.dark .mermaid .arrowMarkerPath,html.dark .mermaid marker path,html.dark .mermaid #arrowhead path,html.dark .mermaid .arrowheadPath{fill:rgb(var(--gray-500))!important;stroke:rgb(var(--gray-500))!important}html.dark .mermaid .edgeLabel,html.dark .mermaid .edgeLabel rect,html.dark .mermaid .labelBkg{background-color:rgb(var(--background-dark))!important;fill:rgb(var(--background-dark))!important}html.dark .mermaid .actor-man line{stroke:rgb(var(--primary-light) / 0.6)!important}@media (min-width: 1024px){html[data-page-mode=\"wide\"] #content-area{max-width:1040px!important}}a:focus-visible,button:focus-visible,summary:focus-visible,.card:focus-visible{outline:2px solid rgb(var(--primary))!important;outline-offset:2px}html.dark a:focus-visible,html.dark button:focus-visible,html.dark summary:focus-visible,html.dark .card:focus-visible{outline-color:rgb(var(--primary-light))!important}@media (prefers-reduced-motion: reduce){*,*::before,*::after{transition-duration:0ms!important;animation-duration:0ms!important}}.mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:fit-content;min-width:48px;height:48px;padding:8px;background:#fff;border:1px solid rgb(var(--gray-950) / 0.1);border-radius:12px;color:rgb(var(--gray-800))!important;fill:rgb(var(--gray-800))!important}html.dark .mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]{border-color:rgb(255 255 255 / 0.14)}.mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]>img{width:auto;height:32px;max-width:96px;object-fit:contain}.mdx-content[data-page-title=\"Integrations\"] [data-component-part=\"card-icon\"]>svg{width:22px;height:22px;opacity:1}@media (min-width: 768px){#footer div[class*=\"sm:grid\"]{grid-template-columns:repeat(2, max-content)!important;column-gap:3rem!important;justify-content:end}#footer div[class*=\"sm:grid\"]>div{align-items:flex-start!important}}@media (min-width: 1280px){#footer div[class*=\"sm:grid\"]{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:max-content;column-gap:2.5rem!important}}"}]}
{"page":{"pagePath":"telephony/connect-your-first-phone-system","slug":"/telephony/connect-your-first-phone-system","pageMetadata":{"title":"Connect your first phone system","sidebarTitle":"Connect your phone system","description":"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.","keywords":["connect PBX to SmartAlex","connect phone system to AI agent","add AI as PBX extension","first PBX connection","AI receptionist phone system setup","Connect a PBX"],"icon":"plug-circle-check","structuredData":{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Our PBX cannot take an outside extension","acceptedAnswer":{"@type":"Answer","text":"Use a SIP trunk or number forwarding instead. See Connection modes."}},{"@type":"Question","name":"The status says Auth failed","acceptedAnswer":{"@type":"Answer","text":"The username is usually wrong. Fix it with Edit connection. See Connection status."}},{"@type":"Question","name":"Can I connect a second PBX later?","acceptedAnswer":{"@type":"Answer","text":"Yes. Click Connect a PBX again, and each connection gets its own card, agent and directory."}}]},"href":"/telephony/connect-your-first-phone-system"},"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: \"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Frame,Heading,Info,Mermaid,OptimizedImage,Step,Steps,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,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:`By the end of this tutorial your SmartAlex agent answers calls as an extension on your own phone system. It can also put callers through to your team. It takes about 20 minutes once you have an extension and its password from your PBX.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`In the app: `,_jsx(_components.strong,{children:`Sidebar → Calls → PBX Extensions`}),` (`,_jsx(_components.code,{children:`/settings/pbx`}),`) → `,_jsx(_components.strong,{children:`Connect a PBX`}),`. This tutorial uses `,_jsx(_components.strong,{children:`Use as PBX extension`}),`, which works for most PBXs. For other options, see `,_jsx(_components.a,{href:`/telephony/connection-modes`,children:`Connection modes`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-need-first`,children:`What you need first`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A paid plan. On the Free plan, `,_jsx(_components.strong,{children:`PBX extensions`}),` is locked.`]}),`\n`,_jsx(_components.li,{children:`A role that can add PBX connections and phone numbers. To link the agent, it must also be able to edit agents; without that, the button reads “You don’t have permission to edit agents”.`}),`\n`,_jsx(_components.li,{children:`A SmartAlex agent that is ready to answer calls.`}),`\n`,_jsx(_components.li,{children:`An extension on your PBX kept for the AI, with its SIP username and password, and never use a person’s extension.`}),`\n`,_jsxs(_components.li,{children:[`Someone who can allow `,_jsx(_components.code,{children:`34.233.117.97`}),` and `,_jsx(_components.code,{children:`15.240.176.215`}),` on your firewall and PBX.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-steps-at-a-glance`,children:`The steps at a glance`}),`\n`,_jsx(_components.p,{children:`This diagram shows the whole tutorial, from opening the connect page to a test call.`}),`\n`,_jsx(Mermaid,{chart:`flowchart LR\n A[\"Connect a PBX\"] --> B[\"Pick your PBX\"]\n B --> C[\"Enter the extension\"]\n C --> D[\"Link agent\"]\n D --> E[\"Set up the inbound route\"]\n E --> F[\"Route the number on your PBX\"]\n F --> G[\"Test call\"]`}),`\n`,_jsx(Heading,{level:`2`,id:`connect-it`,children:`Connect it`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open PBX Extensions`,children:[_jsxs(_components.p,{children:[`In the sidebar, click `,_jsx(_components.strong,{children:`Calls`}),`, then `,_jsx(_components.strong,{children:`PBX Extensions`}),` (`,_jsx(_components.code,{children:`/settings/pbx`}),`). The page is titled “PBX extensions”. Click `,_jsx(_components.strong,{children:`Connect a PBX`}),`.`]}),_jsxs(Frame,{caption:`Start on Calls, then PBX Extensions`,children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.webp?fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=1b9a0695bd4ba30cecff84fc19430de9`,alt:`PBX extensions page with the Connect a PBX button`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/telephony-guides/pbx-extensions-empty.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.webp?w=280\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=d94856fdc1cd25e7ca1a9abb9eb2e78e 280w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.webp?w=560\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=eb89bae245e454da126f7d8891a99cec 560w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.webp?w=840\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=b8867991574fa977a40ed7e4d62f0a97 840w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=d89f9a9de615d75357d3e2fcfcdc68ca 1100w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=e18694986c65dbc256f89df60a1ff616 1650w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=b6a9fd90332a1030be4e5852a9dbc466 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.dark.webp?fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=672abc971c61c416592fa8d2774e2c3f`,alt:`PBX extensions page with the Connect a PBX button`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/telephony-guides/pbx-extensions-empty.dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=f68494fc8303d3a3045b475265858ed9 280w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=b3848b346c3a6d96a1be86289294721e 560w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=1f6fe0822a5b65f7bdeddc63467523f7 840w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=bece70ee86ef9fffc936e5e90b700f7e 1100w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=49e68451a9914ecbd897d8397c2c5d98 1650w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/pbx-extensions-empty.dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=828025d9bc3ceda0fb4a6478eb7cc52b 2500w`})]})]}),_jsxs(Step,{title:`Choose your PBX`,children:[_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Add connection`}),` (`,_jsx(_components.code,{children:`/phone/connect?type=pbx`}),`), choose `,_jsx(_components.strong,{children:`PBX platform`}),`. Under `,_jsx(_components.strong,{children:`Choose your PBX`}),`, click your system’s tile, or `,_jsx(_components.strong,{children:`Other`}),` if it is not listed.`]}),_jsxs(Frame,{caption:`Pick your phone system, or Other`,children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.webp?fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=080bde7a1c7cc6601738932c1ca898c3`,alt:`Choose your PBX tiles with eight phone systems`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/telephony-guides/choose-your-pbx.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.webp?w=280\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=e714c66c5c7e813c158507a43b0984d7 280w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.webp?w=560\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=61e7e28df62404f7513611c02b2c37bd 560w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.webp?w=840\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=a5e22d37f08b837db0dbf20247ef3ab8 840w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=593dbfdd4358d05d2c3e72b9d0bc44b7 1100w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=a7f4a54d4b4a93df7c758ae236825947 1650w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=15e523e2ffe6323c04eab547e25e94c3 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.dark.webp?fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=74b9b2991f815b2c7558f2bcd766d51d`,alt:`Choose your PBX tiles with eight phone systems`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/telephony-guides/choose-your-pbx.dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=4749aee82fa13997f5f1c17e2b6f420b 280w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=e00c17fa49b1097c2c86b99526fd7599 560w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=b752bae463ff20bef9ecb2425e377a15 840w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=abdcd24446b3d0d8f2fd9737bcc9d702 1100w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=b9a9c84fcc979b1e4266f50aef1d0704 1650w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/choose-your-pbx.dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=9d08016497c075b9ff8301e3b42d6462 2500w`})]})]}),_jsx(Step,{title:`Choose Use as PBX extension`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Connection Type`}),`, choose `,_jsx(_components.strong,{children:`Use as PBX extension`}),`. Yeastar and Porta always use it, and Yeastar then offers its guided setup, described in the `,_jsx(_components.a,{href:`/telephony/yeastar`,children:`Yeastar guide`}),`.`]})}),_jsxs(Step,{title:`Enter the extension`,children:[_jsxs(_components.p,{children:[`Fill in the fields in the table below, then click `,_jsx(_components.strong,{children:`Connect to PBX`}),`. The app shows “Connected. SmartAlex is registering to your PBX now.”`]}),_jsxs(Frame,{caption:`Enter the extension your PBX gave the AI`,children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.webp?fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=635adb2777c4d2119bca769ed748be3c`,alt:`Use as PBX extension form with five fields and a Connect to PBX button`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/telephony-guides/extension-form.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.webp?w=280\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=8f3a40498d3f8c5f1c19d6fe8bd9c2f8 280w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.webp?w=560\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=15a50c5613a6ff48ad59481d527ffc69 560w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.webp?w=840\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=0a4927b1d179dd17afcf6c4e5bec9772 840w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=cbad45f9288f02b93656574ea23d3e36 1100w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=3ca7799f4e0a6df16b3d8749cc5c8070 1650w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=b166909401a48c846c864eddc7ddc446 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.dark.webp?fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=15ba35dff8a3aa1d7cd4ee7b9bdaedfd`,alt:`Use as PBX extension form with five fields and a Connect to PBX button`,\"data-og-width\":`1428`,width:`1428`,\"data-og-height\":`826`,height:`826`,\"data-path\":`images/screens/telephony-guides/extension-form.dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=ffeb42abd74dd5e21c3880e3506e608c 280w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=5b0f5e928432606ef43db238d5741d4d 560w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=826cf668cded860750f4d3b1e78d29f9 840w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=ab277ccc71b60bbcb2dd2952f0e0182c 1100w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=93b66cef786eba90596751acb85affa9 1650w, https://mintcdn.com/smartalex/kH_ICIPoijeWBR2w/images/screens/telephony-guides/extension-form.dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=kH_ICIPoijeWBR2w\u0026q=85\u0026s=0e99a018ff5d8ad9002ed83b35ea3940 2500w`})]})]}),_jsx(Step,{title:`Allow our addresses`,children:_jsx(_components.p,{children:`The connect screen shows both addresses with copy buttons, so allow them on your firewall and in your PBX’s own block list or allowed hosts.`})}),_jsx(Step,{title:`Link the agent`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Finish the connection`}),`, find `,_jsx(_components.strong,{children:`Which agent answers?`}),`, choose your agent and click `,_jsx(_components.strong,{children:`Link agent`}),`.`]})}),_jsx(Step,{title:`Set up the inbound route`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Which number rings it?`}),`, click `,_jsx(_components.strong,{children:`Set up the inbound route`}),`. The `,_jsx(_components.strong,{children:`Connect a PBX Extension`}),` dialog already knows the connection and the linked agent. It asks only for the `,_jsx(_components.strong,{children:`Extension`}),`, the `,_jsx(_components.strong,{children:`Number callers dial`}),` in full international form, such as `,_jsx(_components.code,{children:`+27 11 555 1234`}),`, and an optional `,_jsx(_components.strong,{children:`Label`}),`. Click `,_jsx(_components.strong,{children:`Connect`}),`.`]})}),_jsx(Step,{title:`Send calls to the AI on your PBX`,children:_jsxs(_components.p,{children:[`On your PBX, point the number’s inbound route, a ring group or an IVR option at the AI’s extension. Your `,_jsx(_components.a,{href:`/telephony/overview#pick-your-phone-system`,children:`PBX guide`}),` names the exact menu.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`every-field-on-the-form`,children:`Every field on the form`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`What it does`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`When to change it`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Trunk Name`})}),_jsx(_components.td,{children:`The name you see on the connection card`}),_jsx(_components.td,{children:`Empty`}),_jsx(_components.td,{children:`Always: use something like “Office PBX (ext 850)“`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Your PBX SIP Domain`})}),_jsx(_components.td,{children:`Where SmartAlex signs in. “Use the SIP hostname configured on your desk phones.”`}),_jsx(_components.td,{children:`Empty`}),_jsx(_components.td,{children:`Always`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Extension number for SmartAlex`})}),_jsx(_components.td,{children:`The AI’s extension on your PBX`}),_jsx(_components.td,{children:`Empty`}),_jsx(_components.td,{children:`Always`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Username from your PBX`})}),_jsx(_components.td,{children:`The extension’s SIP username, such as the Yeastar Registration Name or the Grandstream Auth ID`}),_jsx(_components.td,{children:`Empty`}),_jsx(_components.td,{children:`Always. It is often not the extension number`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Password from your PBX`})}),_jsx(_components.td,{children:`The extension’s SIP password, stored encrypted`}),_jsx(_components.td,{children:`Empty`}),_jsx(_components.td,{children:`Always`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Transport`}),` (Advanced Settings)`]}),_jsx(_components.td,{children:`How SIP travels: UDP, TCP or TLS. “UDP works for most PBXes.”`}),_jsx(_components.td,{children:`UDP`}),_jsx(_components.td,{children:`Leave on UDP. Extension mode signs in over UDP only, and TCP or TLS is refused with “Only UDP is supported for this connection type.”`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Port`}),` (Advanced Settings)`]}),_jsx(_components.td,{children:`Your PBX’s SIP port`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5060`})}),_jsx(_components.td,{children:`When your PBX listens on another port`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`check-it-worked`,children:`Check it worked`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`The status turns green`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Sidebar → Calls → PBX Extensions`}),`, the card shows `,_jsx(_components.strong,{children:`Connected as ext N`}),`. The first registration usually lands within a minute, and if it shows anything else, see `,_jsx(_components.a,{href:`/telephony/connection-status`,children:`Connection status`}),`.`]})}),_jsx(Step,{title:`Diagnostics pass`,children:_jsxs(_components.p,{children:[`Open the card’s menu, choose `,_jsx(_components.strong,{children:`Show diagnostics`}),`, and check `,_jsx(_components.strong,{children:`Registration`}),`, `,_jsx(_components.strong,{children:`PBX reachable`}),` and `,_jsx(_components.strong,{children:`Inbound routing`}),` all pass.`]})}),_jsx(Step,{title:`A call reaches the AI`,children:_jsx(_components.p,{children:`Call the number from a mobile phone. Your agent answers.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`next`,children:`Next`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Fill the extension directory`,icon:`address-book`,href:`/telephony/call-routing-transfers#the-extension-directory`,children:_jsx(_components.p,{children:`So the AI can put callers through to your team.`})}),_jsx(Card,{title:`Test before go-live`,icon:`list-check`,href:`/telephony/testing-validation`,children:_jsx(_components.p,{children:`The full test plan.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`questions-people-ask`,children:`Questions people ask`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Our PBX cannot take an outside extension`,id:`our-pbx-cannot-take-an-outside-extension`,children:_jsxs(_components.p,{children:[`Use a SIP trunk or number forwarding instead. See `,_jsx(_components.a,{href:`/telephony/connection-modes`,children:`Connection modes`}),`.`]})}),_jsx(Accordion,{title:`The status says Auth failed`,id:`the-status-says-auth-failed`,children:_jsxs(_components.p,{children:[`The username is usually wrong. Fix it with `,_jsx(_components.strong,{children:`Edit connection`}),`. See `,_jsx(_components.a,{href:`/telephony/connection-status`,children:`Connection status`}),`.`]})}),_jsx(Accordion,{title:`Can I connect a second PBX later?`,id:`can-i-connect-a-second-pbx-later`,children:_jsxs(_components.p,{children:[`Yes. Click `,_jsx(_components.strong,{children:`Connect a PBX`}),` again, and each connection gets its own card, agent and directory.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`PBX extension mode`,icon:`phone-volume`,href:`/telephony/native-extension-mode`,children:_jsx(_components.p,{children:`How extension mode works.`})}),_jsx(Card,{title:`Network requirements`,icon:`shield-halved`,href:`/telephony/network-requirements`,children:_jsx(_components.p,{children:`Addresses, ports and the change request.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Connect your first phone system","sidebarTitle":"Connect your phone system","description":"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.","keywords":["connect PBX to SmartAlex","connect phone system to AI agent","add AI as PBX extension","first PBX connection","AI receptionist phone system setup","Connect a PBX"],"icon":"plug-circle-check","structuredData":{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Our PBX cannot take an outside extension","acceptedAnswer":{"@type":"Answer","text":"Use a SIP trunk or number forwarding instead. See Connection modes."}},{"@type":"Question","name":"The status says Auth failed","acceptedAnswer":{"@type":"Answer","text":"The username is usually wrong. Fix it with Edit connection. See Connection status."}},{"@type":"Question","name":"Can I connect a second PBX later?","acceptedAnswer":{"@type":"Answer","text":"Yes. Click Connect a PBX again, and each connection gets its own card, agent and directory."}}]},"href":"/telephony/connect-your-first-phone-system"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you need first","slug":"what-you-need-first","depth":2,"children":[]},{"title":"The steps at a glance","slug":"the-steps-at-a-glance","depth":2,"children":[]},{"title":"Connect it","slug":"connect-it","depth":2,"children":[]},{"title":"Every field on the form","slug":"every-field-on-the-form","depth":2,"children":[]},{"title":"Check it worked","slug":"check-it-worked","depth":2,"children":[]},{"title":"Next","slug":"next","depth":2,"children":[]},{"title":"Questions people ask","slug":"questions-people-ask","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"smartalex","siteName":"SmartAlex Documentation","title":"Connect your first phone system - SmartAlex Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T04:05:46.132Z","gitLastModified":"2026-11-27T04:05:19.000Z","originalFileLocation":"telephony/connect-your-first-phone-system.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=\"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SmartAlex Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_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=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect your first phone system - SmartAlex Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SmartAlex Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://smartalex.mintlify.site/_mintlify/api/og/v2?division=Start+here\u0026amp;title=Connect+your+first+phone+system\u0026amp;description=Put+your+SmartAlex+agent+on+your+business+phone+system+as+an+extension%2C+from+Calls+%E2%86%92+PBX+Extensions+to+your+first+test+call%2C+in+about+20+minutes.\u0026amp;theme=179d14681dde27b354098b2e\u0026amp;signature=11c2d551e7abbffe636267390e7a2b83d6417097cd92b9d340f455e133c13254\">\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 first phone system - SmartAlex Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://smartalex.mintlify.site/_mintlify/api/og/v2?division=Start+here\u0026amp;title=Connect+your+first+phone+system\u0026amp;description=Put+your+SmartAlex+agent+on+your+business+phone+system+as+an+extension%2C+from+Calls+%E2%86%92+PBX+Extensions+to+your+first+test+call%2C+in+about+20+minutes.\u0026amp;theme=179d14681dde27b354098b2e\u0026amp;signature=11c2d551e7abbffe636267390e7a2b83d6417097cd92b9d340f455e133c13254\">\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=\"/mintlify-assets/_mintlify/favicons/smartalex/NBkkhKCoVcXXvqQT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SmartAlex Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#010033\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/telephony/connect-your-first-phone-system.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://getsmartalex.com/#organization\",\"name\":\"SmartAlex\",\"url\":\"https://getsmartalex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/smartalex/qlHSvs0nyK6c2s5R/logo/light.png?fit=max\u0026auto=format\u0026n=qlHSvs0nyK6c2s5R\u0026q=85\u0026s=f2b8d4b820c7af262103f73350d3cc4e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getsmartalex.com#website\",\"name\":\"SmartAlex Documentation\",\"url\":\"https://docs.getsmartalex.com\",\"publisher\":{\"@id\":\"https://getsmartalex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system#webpage\",\"url\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system\",\"name\":\"Connect your first phone system\",\"description\":\"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.\",\"dateModified\":\"2026-11-27T04:05:19.000Z\",\"isPartOf\":{\"@id\":\"https://docs.getsmartalex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SmartAlex Documentation\",\"item\":\"https://docs.getsmartalex.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect your first phone system\",\"item\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system#article\",\"headline\":\"Connect your first phone system\",\"name\":\"Connect your first phone system\",\"description\":\"Put your SmartAlex agent on your business phone system as an extension, from Calls → PBX Extensions to your first test call, in about 20 minutes.\",\"url\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getsmartalex.com/telephony/connect-your-first-phone-system#webpage\"},\"dateModified\":\"2026-11-27T04:05:19.000Z\",\"keywords\":\"connect PBX to SmartAlex, connect phone system to AI agent, add AI as PBX extension, first PBX connection, AI receptionist phone system setup, Connect a PBX\",\"publisher\":{\"@id\":\"https://getsmartalex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getsmartalex.com#website\"}},{\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Our PBX cannot take an outside extension\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Use a SIP trunk or number forwarding instead. See Connection modes.\"}},{\"@type\":\"Question\",\"name\":\"The status says Auth failed\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The username is usually wrong. Fix it with Edit connection. See Connection status.\"}},{\"@type\":\"Question\",\"name\":\"Can I connect a second PBX later?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. Click Connect a PBX again, and each connection gets its own card, agent and directory.\"}}]}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SmartAlex Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SmartAlex\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/telephony/connect-your-first-phone-system.md","siteName":"SmartAlex Documentation","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://app.getsmartalex.com"}]},"tabs":[{"tab":"Product","icon":"cube","pages":[{"title":"Product","href":""}]},{"tab":"Pricing","icon":"tag","pages":[{"title":"Pricing","href":"/pricing/start/start-your-free-trial"}]},{"tab":"Help","icon":"circle-question","pages":[{"title":"Help","href":"/faq"}]},{"tab":"Social","icon":"comments","pages":[{"title":"Social","href":"/meta/overview"}]},{"tab":"Telephony","icon":"tower-broadcast","groups":[{"group":"Start here","icon":"flag-checkered","pages":[{"title":"Connect your first phone system","sidebarTitle":"Connect your phone system","icon":"plug-circle-check","href":"/telephony/connect-your-first-phone-system"}]},{"group":"Foundations","icon":"tower-broadcast","pages":[{"title":"Telephony overview","description":"Connect SmartAlex to your PBX or carrier so an AI agent answers calls and hands callers to your team. Keep your numbers, extensions and routing.","icon":"tower-broadcast","href":"/telephony/overview"},{"title":"Telephony architecture","sidebarTitle":"Architecture","icon":"sitemap","href":"/telephony/architecture"},{"title":"Security and compliance","icon":"lock","href":"/telephony/security-compliance"},{"title":"Network requirements","icon":"shield-halved","href":"/telephony/network-requirements"},{"title":"Platform capabilities","icon":"table-list","href":"/telephony/platform-capabilities"},{"title":"Terminology","icon":"book","href":"/telephony/terminology"}]},{"group":"Replacing your IVR","icon":"route","pages":[{"title":"Replacing your IVR","icon":"route","href":"/telephony/replacing-ivr"},{"group":"Conversation flows","icon":"comments","pages":[{"title":"Conversation flow library","icon":"comments","href":"/telephony/conversation-flows"},{"title":"Medical call flows","icon":"stethoscope","href":"/telephony/flows/medical"},{"title":"Automotive call flows","icon":"car","href":"/telephony/flows/automotive"},{"title":"Legal call flows","icon":"scale-balanced","href":"/telephony/flows/legal"},{"title":"Real estate call flows","icon":"house","href":"/telephony/flows/real-estate"},{"title":"Hospitality call flows","icon":"utensils","href":"/telephony/flows/hospitality"},{"title":"Retail call flows","icon":"bag-shopping","href":"/telephony/flows/retail"}]},{"title":"Migration playbook","icon":"road","href":"/telephony/migration-playbook"}]},{"group":"Connection modes","icon":"code-branch","pages":[{"title":"Connection modes","icon":"diagram-project","href":"/telephony/connection-modes"},{"title":"PBX extension mode","icon":"phone-volume","href":"/telephony/native-extension-mode"},{"title":"Connect your PBX with a SIP trunk","sidebarTitle":"SIP trunk (Forward calls)","icon":"network-wired","href":"/telephony/standard-trunk"},{"title":"Forward your number to SmartAlex","sidebarTitle":"Number forwarding","icon":"share","href":"/telephony/did-forwarding"}]},{"group":"Integration guides","icon":"plug","pages":[{"title":"Connect Yeastar to SmartAlex","sidebarTitle":"Yeastar","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/integrations/yeastar.webp","href":"/telephony/yeastar"},{"title":"Connect PortaOne to SmartAlex","sidebarTitle":"PortaOne (Porta)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/portaone.png","href":"/telephony/portaone"},{"title":"Connect 3CX to SmartAlex","sidebarTitle":"3CX","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/integrations/3cx.png","href":"/telephony/3cx"},{"title":"Connect FreePBX to SmartAlex","sidebarTitle":"FreePBX","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/integrations/freepbx.png","href":"/telephony/freepbx"},{"title":"Connect Asterisk to SmartAlex","sidebarTitle":"Asterisk","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/asterisk.svg","href":"/telephony/asterisk"},{"title":"Connect Microsoft Teams to SmartAlex","sidebarTitle":"Microsoft Teams","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/integrations/microsoft-teams.svg","href":"/telephony/microsoft-teams"},{"title":"Connect RingCentral to SmartAlex","sidebarTitle":"RingCentral","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/integrations/ringcentral.png","href":"/telephony/ringcentral"},{"title":"Connect Grandstream UCM to SmartAlex","sidebarTitle":"Grandstream UCM","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/grandstream.png","href":"/telephony/grandstream"},{"title":"Connect Avaya IP Office to SmartAlex","sidebarTitle":"Avaya IP Office","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/avaya.svg","href":"/telephony/avaya"},{"title":"Connect Mitel MiVoice to SmartAlex","sidebarTitle":"Mitel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/mitel.svg","href":"/telephony/mitel"},{"title":"Connect Euphoria Telecom to SmartAlex","sidebarTitle":"Euphoria Telecom","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/euphoria-telecom.png","href":"/telephony/euphoria-telecom"},{"title":"Connect Switch Telecom to SmartAlex","sidebarTitle":"Switch Telecom","icon":"https://mintlify.s3.us-west-1.amazonaws.com/smartalex/images/logos/switch-telecom.png","href":"/telephony/switch-telecom"},{"title":"Connect any SIP phone system to SmartAlex","sidebarTitle":"Any SIP system","icon":"plug","href":"/telephony/generic-sip"}]},{"group":"Operations","icon":"gears","pages":[{"title":"Call routing and transfers","icon":"arrow-right-arrow-left","href":"/telephony/call-routing-transfers"},{"title":"Connection status and diagnostics","icon":"signal","href":"/telephony/connection-status"},{"title":"Testing and validation","icon":"list-check","href":"/telephony/testing-validation"},{"title":"Troubleshooting","icon":"wrench","href":"/telephony/troubleshooting"},{"title":"Capacity, limits and SLA","icon":"gauge-high","href":"/telephony/capacity-sla"},{"title":"Observability and reporting","icon":"chart-line","href":"/telephony/observability"}]},{"group":"Regional","icon":"earth-africa","pages":[{"title":"South Africa","icon":"earth-africa","href":"/telephony/south-africa"}]},{"group":"Enterprise FAQ","icon":"circle-question","pages":[{"title":"Enterprise FAQ","icon":"circle-question","href":"/telephony/faq"}]},{"group":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","icon":"clock-rotate-left","href":"/telephony/changelog"}]}]},{"tab":"Developers","icon":"code","pages":[{"title":"Developers","href":"/mcp/overview"}]},{"tab":"Build","icon":"hammer","pages":[{"title":"Build","href":"/build-with/overview"}]},{"tab":"Trust","icon":"shield-check","pages":[{"title":"Trust","href":"/trust/find-a-legal-document"}]},{"tab":"Learn","icon":"graduation-cap","pages":[{"title":"Learn","href":"/learn"}]},{"tab":"Compare","icon":"scale-balanced","pages":[{"title":"Compare","href":"/comparisons/overview"}]}]},"basePath":"","title":"Connect your first phone system - SmartAlex Documentation","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CG7QalVD.js","DynamicMarkdown-B_9ywLDq.js","zoom-image-lightbox-uS0aI388.js","lightbox-handle-r17bVUz3.js"]}