Connect Bicom PBXware
Bicom PBXware is a phone system (a PBX) that runs on your own server or a hosted one, often with many tenants on one server. StackJack connects an AI assistant to the PBXware API of one PBXware…
Written By Christopher Scaminaci
Last updated About 1 hour ago
Bicom PBXware is a phone system (a PBX) that runs on your own server or a hosted one, often with many tenants on one server. StackJack connects an AI assistant to the PBXware API of one PBXware server.
Connecting Bicom PBXware to StackJack gives your AI assistant a family of pbxware_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an
AI assistant can call through StackJack. With them, your AI can:
- Read the PBX - list tenants, extensions, trunks, providers, service plans and packages, read an extension's settings, enhanced services and balance, read the schedules of extensions, DIDs, IVRs, ERGs, queues, dial groups and routes, and read greetings, voicemail settings and the event publisher's webhooks
- Watch calls and queues - list live calls, read real-time and daily statistics of ERGs and queues
- Work with contacts - list, search and read contacts and their activities, and export them as a CSV file (on Pro plans)
- Change the PBX (on Pro plans) - create, change and delete tenants, extensions, trunks, departments, dial groups, service plans and packages, change schedules and enhanced services, import contacts from a CSV file, and manage webhooks, emergency buttons and SMS numbers
- Act (on Pro plans) - place, transfer, record and hang up a call, send an SMS, and request a call transcription or summary
- Run AI services (on Pro plans) - manage AI voice agents, AI providers, live transcription, text-to-speech and voicemail transcription
StackJack builds on PBXware 8.2, the latest released version. A tool can answer "not found" on an older PBXware that does not have its operation yet.
How StackJack authenticates to Bicom PBXware
PBXware takes an API key and the address of your PBXware server. StackJack sends the key in the Authorization header (as a bearer token) to that address only.
There is no sign-in exchange: the key is used as it is.
Every API key belongs to one Permission Group. The Permission Group decides what the key may do (its scopes, for example extensions:list) and which tenants it
reaches: one tenant, several, or all. Each tool's description names the scope its operation needs.
Getting the key
- In PBXware, create a Permission Group with the scopes your automation needs, and only the tenants it should reach. Add system scopes too if it should manage tenants, trunks or server settings.
- Create an API key, assign it that Permission Group, and choose its tenants.
- Copy the key. PBXware shows it only once.
Bicom: API keys has the details.
One connection is one PBXware server
A connection reads and changes one PBXware server, with every tenant its key reaches. If you work with several servers, add one named connection for each.
Connect it in StackJack
- Open Connectors, then Bicom PBXware.
- Enter your PBXware address, the address you open the PBXware web interface at, for example
https://pbx.example.com. Add the port if it is not 443. The address must be public and use https with a valid certificate: StackJack reaches your PBX from the internet. - Paste the API key.
- Click Save. StackJack stores the connection and then checks it: it reads the country list, which changes nothing. A key whose Permission Group does not include that read still passes, because PBXware accepted the key before it refused the read.
To check a saved connection again later, use Test on its row. The test uses the key that is saved, so save a new key before you test it.
Enter the address and the key again whenever you save this form. To rename a connection, use Rename in the connections list: a rename needs no key.
What is worth knowing before you start
Tenant codes
Most tools work inside one tenant and ask for its code: default on a single-tenant PBXware, or the tenant's number, such as 200, on a multi-tenant one. Ask your
AI to list the tenants first if you do not know the code.
Changes that are marked destructive
Most changes are Pro and are marked destructive, because each one changes how calls and messages reach people, or acts right away:
- Calls and messages - placing, transferring, recording and hanging up a call, and sending an SMS, happen at once and cannot be called back.
- Extensions and departments - creating, changing and deleting extensions, their enhanced services and schedules, crediting or debiting an extension's balance, and changing or deleting departments.
- Routing - changing or deleting dial groups, and the schedules of DIDs, IVRs, ERGs, queues, dial groups, routes and tenants.
- Tenants and the server - creating, changing and deleting tenants, packages and service plans, the server settings, trunks and the STIR/SHAKEN certificates.
- Integrations - webhooks, emergency buttons, SMS numbers and the DNO settings.
- AI services - AI voice agents, AI providers and transcription settings, and an on-demand call transcription or summary, which uses your AI provider.
- Contacts - changing, merging and deleting contacts, removing favorites and links, importing a CSV file and cancelling an import.
Six changes are not marked destructive: creating a contact, adding a favorite, linking a contact, creating a department, creating a dial group, and testing a webhook address.
StackJack marks these tools as destructive. Whether your AI application asks for confirmation depends on its settings: some clients prompt before every tool call, some prompt only for tools the server marked destructive, some remember an earlier "always allow", and some never prompt. Review those settings, and leave out the tools a connection does not need. How tools work has the details.
StackJack never sends a change twice. When PBXware does not confirm a change, the tool says so: read the record back before you try again, so that a second extension is not created and a second message is not sent.
Files
- Contacts export gives a link to the CSV file, valid for 30 minutes.
- Contacts import takes one CSV file of up to 25 MB.
- STIR/SHAKEN certificates take a private key file and a certificate file, in PEM format, up to 1 MB each.
Secrets in answers
An extension's SIP secret, user password and PINs, an AI provider's API key, a trunk's secrets, a tenant's passwords, a route's PIN and a webhook's credentials are secrets. StackJack removes them from answers unless you ask for secrets on that call. One tool answers with nothing but an extension's SIP secret: it returns it only in its answer, never behind a download link.
Rate limit
StackJack paces one connection at about two calls a second, and waits when PBXware answers that there are too many requests.
When Bicom PBXware refuses a call
- The key was refused (401): the key is missing, not valid, revoked or expired. Create a new key and save it on the connection.
- Something else answered: a proxy or a firewall replied instead of PBXware. The key was not judged. Check the PBXware address and try again later.
- Not allowed (403): the key's Permission Group does not include the scope the tool names, or does not reach that tenant.
- The contacts service refused the call (401 on a contacts tool): PBXware gives one answer for a missing contacts scope and a key that is no longer valid. Check the Permission Group's contacts scopes first; other tools working on the same connection mean the key is fine.
- Not found (404): check the tenant code and the id. Ask your AI to list them first. A PBXware older than 8.2 may not have the operation.
- A refused request (400): a value was missing or not accepted. PBXware's answer names the problem.
- Too many requests (429): wait before you try again.
- An outage (5xx): wait and try again.
Tool reference
See the generated Bicom PBXware tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.
Bicom PBXware tools
pbxware_ · 202 tools · Free 109 · Pro 93
System
AI voice agents
AI services
Calls
Contacts
Departments
Dial groups
DIDs
DNO
UADs and emergency buttons
Enhanced services
ERGs and queues
IVRs
Routing and schedules
Media and voicemail
Event publisher
Extensions
Trunks and providers
Service plans and packages
SMS
Tenants
Was this helpful?
More in Connector guides
Connect 3CXConnect AbleSignConnect Acronis Cyber Protect CloudConnect Action1Still need help? Ask the team