Open source contact center on Asterisk

A self-hosted Asterisk contact center keeps call audio, queue data and customer records inside your environment. This page explains what regulated teams must settle before choosing queue, recording, reporting and CRM components.

On this page

Why an open source contact center on Asterisk changes the build for regulated teams

An open source contact center on Asterisk is workable for a regulated team, but only if you accept that you are assembling it. Asterisk gives you the telephony core: SIP trunking, call legs, dial plans, and the application hooks that route a call. It does not hand you a finished contact center. Queue management, agent desktops, call recording with retention, supervisor tools and reporting come from separate components that you select, integrate, test and operate. For a bank, insurer, health system or public agency that must keep call audio and customer records inside its own network, each of those components becomes a design decision with its own security, data residency and support implications.

The build changes in three places that matter most to regulated teams. First, the recording path: where audio is written, how it is encrypted at rest and in transit, who can play it back, and how retention is enforced must be settled before the first agent logs in. Second, the customer data path: screen pops that pull records from a CRM depend on integration logic you will write or buy, and that logic handles personal data on every call. Third, the operating model: someone must own Asterisk versions, FreePBX or other management layers, queue tuning and failover. Each of these is a place where a commercial add-on, a different open-source project or an implementation partner may fill a gap. Confirm with each vendor which of these capabilities are in the community edition and which sit behind a commercial license before you commit to a design.

This page walks through queue strategies, IVR design, recording and reporting, CRM screen pops, workforce sizing, and where commercial and other open-source options fit. Start by listing your recording, retention and data residency obligations with your compliance lead, then test each component against them in a lab before any production traffic moves.

Which recording, retention and audit requirements shape the contact center design

This table maps each recording, retention and audit requirement to the design decisions it forces in an Asterisk contact center. Read each row as a question to answer before building: what the rule asks for, what it means for recording and storage, and what your own counsel and compliance team must confirm for your calls.

RequirementWhat it means for the designWhat to confirm
SEC Rule 17a-4(b)(4) preservation of business communications (broker-dealers)Recordings and copies of communications relating to the business must be kept for at least three years, so call recordings need a retention store separate from the live Asterisk host, with tamper-evident storage and a defined purge process.Whether your calls, voicemails and chat transfers fall in scope, and which retention period and format your compliance team requires.
Inter-office and internal callsCalls between staff, queue transfers and supervisor barge-ins can be communications relating to the business, so recording rules cannot stop at customer-facing trunks.Which internal extensions and queues are recorded, and how recording policy follows agents who work from home.
HIPAA 45 CFR 164.312(e)(1) transmission security for ePHISIP signaling and RTP media carrying patient information need encryption in transit (for example TLS for signaling and SRTP for media), plus restricted trunk and softphone access.Whether your carrier and softphone clients support encrypted signaling and media, and where unencrypted segments remain.
HIPAA 45 CFR 164.312(b) audit controlsAccess to recordings, CDR records, queue reports and agent screens needs logs that record who accessed what and when, retained and reviewed under your own procedures.Which systems produce audit logs (Asterisk logging, FreePBX, recording store, CRM), where they are sent, and who reviews them.
Call detail records and reporting dataCDRs and queue logs are evidence of activity. They should be kept in a store that cannot be altered by agents or administrators and reconciled with recording files by call identifier.Whether CDR and queue log retention matches recording retention, and how deletion requests are handled for individual calls.
Voicemail and IVR promptsVoicemail and IVR input may contain PHI or account data. Storage, playback access and deletion must be governed like recordings, not left in default mailboxes.Whether voicemail is in scope, how it is encrypted at rest, and who may play it back.
CRM screen pops and integrationScreen pop and disposition data copy customer identifiers between systems. Each integration needs its own access control, logging and retention, so recording metadata links to the correct case.Which fields pass between Asterisk, the CRM and the recording store, and whether each integration is in your audit scope.
Queue and IVR designQueue strategy and IVR flows determine what is recorded, announced and disclosed. Recording notices, opt-out paths and routing to compliant handling must be part of the flow design.Required recording announcements by jurisdiction and whether callers can decline recording.
Workforce and supervisor accessSupervisors who monitor, whisper or barge in create access events that must be logged. Role-based permissions should separate listening, export and deletion rights.Who may export or delete recordings, and whether that approval is recorded.

How queue strategies and IVR flows differ by call type

Sales calls are often time-sensitive and revenue-linked, so the design goal is to reach a qualified agent quickly and keep the caller from dropping while they wait. On Asterisk, this usually means a queue with a strategy that spreads calls across available agents, a short IVR that separates new prospects from existing customers, and an overflow path that moves calls to a second group before the caller gives up. The menu should stay shallow because every extra keypress is a chance to abandon the call.

  • Strategy choice: Ring-based strategies such as ringall or round-robin variants suit small sales teams, while least-recent or fewest-calls strategies spread work more evenly across a larger group. Confirm the behavior in your Asterisk version before you commit.
  • Priority and callback: Existing pipeline accounts can be given a higher queue priority, and a callback option can hold a place in line instead of forcing a wait.
  • Overflow: Define a timeout or maximum queue length that sends calls to a backup group, voicemail or a scheduled callback.
  • IVR depth: Keep the first menu to a few clearly named options and let the CRM lookup handle identification where possible.
  • Recording and screen pop: Confirm that the CRM record is opened before the agent answers, since that step depends on your integration.

Check that the overflow rules and IVR wording match the sales team's own call flow, and confirm the staffing that makes those rules workable during workforce sizing.

Which open-source components fit each contact center layer

A contact center on Asterisk is a stack of layers, and each one has a different license, support model and feature gap. The cards below cover the telephony core, administration, case handling, shared documents and the agent desktop and reporting layer. For each, confirm feature coverage against your own queue, recording and reporting requirements before you commit to a component.

Asterisk as the telephony core

Asterisk handles SIP trunks, call routing, queues and the dialplan that drives your IVR. It is the layer where call routing logic and queue strategies are decided, so every later choice depends on it. Confirm which queue strategies, agent login and pause behavior, and call detail record fields your build needs, since core Asterisk does not ship a full agent desktop or supervisor console. Check the Asterisk version you plan to run against its published lifecycle before go-live.

FreePBX for administration

FreePBX provides a web interface for managing extensions, inbound routes, ring groups, queues and IVR menus on top of Asterisk. It reduces hand-edited configuration, but it also sets a version dependency that must match your Asterisk release. Confirm that the queue, recording and reporting modules you need are available in the edition and version you select, and that their licensing fits your deployment. Test administrative changes in a staging system before they reach agents.

Zammad or FreeScout for case handling

Zammad and FreeScout are helpdesk systems that track customer cases, email and channel history, and assignments. Both are licensed under AGPL-3.0, which applies obligations if you modify the code and make it available to users over a network. Calls do not arrive in these tools natively, so you must confirm how call events create or update tickets, whether through a supported integration or custom work, and how caller identifiers are matched to customer records. osTicket, licensed under GPL-2.0, is an alternative to evaluate against the same call-linkage requirements.

Nextcloud for call documents

Nextcloud stores shared files such as call scripts, recorded-call request forms, escalation procedures and knowledge articles that agents need during a shift. It is licensed under AGPL-3.0, so the same network-use obligations apply if you alter it. Nextcloud does not manage calls or recordings, so confirm how access controls for call-related documents are set, how files are linked from case records, and whether any recordings or transcripts are stored there at all. Keep recordings in a system built for their retention and access rules unless your review confirms otherwise.

Agent desktop and reporting options

Agent desktops, screen pops, real-time wallboards and supervisor reporting are the most common gap in a pure Asterisk build. You can fill it with a commercial add-on, a commercial contact center platform that integrates with Asterisk, or a separate open-source project, and each path changes support obligations. Ask each candidate for the features your agents use daily, the CRM and helpdesk connectors it ships, how it reads call detail records, and who supports it when the telephony and desktop layers disagree. Do not assume a feature exists until a demonstration in your environment confirms it.

Call recording and retention controls

Recording is a separate layer from queues because retention, consent notices and access rules are set by your policies and by any regulation that applies to your industry. Recording components must store audio, metadata and access logs in a way you can search, export and delete under your schedule. Confirm where audio is written, how it is encrypted in transit and at rest, who can play it back, and whether the audit trail covers playback. Regulated firms should check these requirements with counsel and their compliance team before selecting a recorder.

How call recording and retention rules shape storage and access

Recording policy decides how much storage you need, who can hear a call, and what evidence you must keep. Settle four things before sizing anything: which calls are recorded (all inbound queue calls, only certain queues, or only calls with agents in regulated roles), how callers are told (a consent announcement played in the IVR before the queue, with wording reviewed by counsel), how long recordings are kept, and whether any recording can be frozen under a legal hold. On Asterisk, recording is usually handled through MixMonitor or the queue and agent recording settings in your dialplan or FreePBX, so confirm which mechanism your build uses and test that the announcement plays on every path, including transfers and callback routes. Storage scales with concurrent recorded calls, average handle time, codec and retention window. Ask your implementation partner for a written sizing model that states those inputs, and confirm the codec and channel count with your own call volumes rather than a generic estimate.

If your firm is a broker-dealer, the retention clock is set by 17 CFR 240.17a-4, which requires preservation of communications relating to the business for not less than three years. Whether voice calls fall under that duty, and in what form, is a legal determination for your compliance team, so do not let the telephony build assume the answer. Build the retention rule so it can be set per queue or per user group, keep recordings in a write-once or access-logged store where your counsel requires it, and make deletion a logged, approved action rather than a scheduled cron job nobody reviews. Hospitals and clinics face a different question. Where calls carry ePHI, 45 CFR 164.312 requires encryption of ePHI in transit under the transmission security standard and audit controls under 164.312(b) that record and examine activity in systems holding ePHI. Encrypt recordings at rest, encrypt SIP and media paths with SRTP and TLS where your carriers support them, and confirm both with your partner's test evidence.

Access and audit are where recording programs usually fail. Define roles separately: agents hear only their own calls, supervisors hear their team's calls, quality reviewers hear sampled calls, and compliance staff hold a separate role that can place legal holds. Every playback, download and export should write a log entry with the user, the recording identifier, the time and the reason where your policy requires one. Test this by playing back a call as each role and checking the log, not by reading the configuration. Also decide whether recording metadata, such as caller number and agent ID, is itself sensitive, since it can reveal patient or client relationships. The decisions to put in writing before build are the recorded population, the consent wording and jurisdictions it covers, the retention period per queue, the legal hold procedure, the encryption standards and key ownership, and the list of roles allowed to play back audio.

How a contact center rollout moves from discovery to supported operation

This sequence takes an Asterisk contact center from agreed requirements to a supported, documented queue operation. Each phase closes with a named output that the next phase depends on, so go-live decisions rest on evidence rather than assumption.

  1. Map requirements and recording rules

    The implementation partner and your operations, compliance and telephony leads document queues, skills, service levels, IVR intents, CRM systems, and the call recording and retention rules that apply to your business. Where US multi-line telephone rules or sector recordkeeping rules apply, each obligation is mapped to a design decision and an owner. Confirm with your compliance team which retention periods apply, since these depend on your regulator and your own policies. This step is done when a signed requirements register lists every queue, integration and recording obligation with an accountable owner.

  2. Design queues and IVR with test scripts

    The partner designs the dial plan, inbound routing, IVR menus, queue strategies, skill groups and overflow paths, then writes a test script for each caller path, including after-hours, failover and abandoned-call scenarios. Agents and supervisors review the call flows against real call reasons from your current data. This step closes when every routing path has a written test case with an expected result, and the operations lead has approved the call flow diagrams in writing.

  3. Build the CRM integration and screen pops

    The integration team connects Asterisk events to your CRM or ticketing system so that an inbound call can open the matching record and pass caller context to the agent desktop. The build covers identifier matching, authentication of the integration, handling of unknown numbers, and logging of call outcomes back to the CRM. Each integration point is tested with sample accounts that your team provides, and any personal data used in test cases is handled under your data protection policy. The step is complete when screen pops and call disposition writes pass the agreed test cases in a non-production environment.

  4. Configure recording and retention controls

    Engineers configure call recording triggers, storage location, encryption, access permissions, playback logging and automated deletion according to the requirements register. Supervisors and compliance staff verify that recordings start and stop as designed, that restricted roles cannot play back calls they should not hear, and that retention jobs run as scheduled. The output is a recording configuration record and a test log showing that each retention rule was executed and checked. Confirm the storage and retention design with your legal and compliance owners before any live calls are recorded.

  5. Run load and failover tests

    Testers simulate peak call volumes, agent logins and concurrent queue activity against a staging environment that mirrors production sizing, then rehearse failure of trunks, the primary server and the database or reporting components. The team measures queue wait behavior, call setup under load and recovery time, and records any tuning changes made to queue strategies or resource limits. This step produces a test report with measured results and open defects ranked by severity. It is complete when the operations and telephony leads accept the results against the availability targets set in the requirements phase.

  6. Pilot one queue with live agents

    The team moves one low-risk queue and a small group of agents onto the new platform while the existing system continues to handle all other traffic. Supervisors monitor live calls, recording behavior, screen pops and reporting accuracy, and the partner logs each defect with a fix and retest record. The pilot ends when the agreed exit criteria are met and the operations lead signs off the observed results. Ask the partner to show how pilot findings feed back into the test scripts before any wider rollout.

  7. Cut over with runbooks and handover

    The team moves the remaining queues, numbers and IVR flows according to a dated cutover plan, with a rollback procedure and named decision makers for each step. Runbooks cover routine changes, queue and IVR updates, trunk failover, recording retrieval, incident escalation and backup restoration, and each runbook is tested by the staff who will use it. The step closes when production traffic is stable, the runbooks and configuration documentation are handed over, and support responsibilities are confirmed in writing for the period after go-live.

What auditors and regulators ask to see from a call recording system

This table maps the evidence an assessor typically requests from an Asterisk-based contact center to the component that produces it. Read each row as a question an auditor may ask, then confirm with your compliance lead which records your retention rules actually require. DeployOpen prepares this evidence, but auditors and regulators decide whether it is sufficient.

Evidence requestedWhat it showsComponent that produces it
Call recording policy documentWhat is recorded, which queues and lines are in scope, consent notices and retention periodsWritten policy owned by compliance, referenced by the recording configuration
Retention configuration exportHow long recordings are kept and when they are purged, per queue or tenantRecording storage settings and the retention job or script on the Asterisk and storage host
Playback access logsWho listened to or downloaded a recording, when, and from which accountRecording web interface or CDR and application logs, forwarded to a central log store
Change records for IVR and queue editsWho changed a menu, prompt, queue strategy or member list, with before and after valuesVersion control of dialplan and queue files, plus the FreePBX change log and ticket references
Failover and recovery test resultsThat recording continues or fails safely during a node or trunk outage, with dated resultsTest scripts, monitoring alerts and signed test reports from the operations runbook
CRM integration audit trailWhich screen pops, call logs and case links were created, and whether records were alteredCRM connector logs, API audit records and the integration middleware log
Storage integrity and encryptionThat recordings are unaltered and protected at rest and in transitStorage checksums or immutability settings, plus TLS configuration for SIP and recording transfers
Access control reviewWhich staff roles can play back, export or delete recordings, and when the list was last reviewedDirectory groups, FreePBX user roles and the periodic access review record

What buyers ask before building an Asterisk contact center

What drives the total effort of building an Asterisk contact center?

Effort is driven mostly by how much of the contact center is custom work rather than configuration. The main inputs are the number of queues and skill groups, the complexity of the IVR and call flows, how many CRM or ticketing systems need screen pops, the recording and retention rules you must meet, and the reporting your supervisors expect on day one. Each added integration and each compliance requirement adds design, testing and documentation work. Costs are one-time for design, build and testing, and recurring for hosting, telephony carriers, licensing where a commercial module is chosen, and support. Ask any partner for a written scope that lists each queue, integration, recording rule and report, because that list is what the quote should follow.

Can an internal IT team run an Asterisk contact center on its own?

A capable internal team can run it, but the work is more than installing a PBX. Operating a contact center needs skills in SIP trunking, dial plan logic, queue tuning, call recording storage, reporting databases, and change control for IVR scripts that business owners edit often. Asterisk also has a published lifecycle, so someone must track version support and plan upgrades. Many organizations split the work: internal staff own daily changes and supervisor reporting, while an implementation partner handles the initial build, hardening, backup design and documented upgrades. Decide which of these tasks you will staff in-house, who covers them outside business hours, and what happens if the one person who knows the dial plan leaves.

How is workforce sizing done for an open source contact center?

Workforce sizing starts with traffic data, not with the number of seats. Pull call volumes by interval, average handle time, and the share of calls that abandon before an agent answers. Traffic modeling methods such as Erlang C convert those inputs into the number of agents needed to meet a service level target, such as the share of calls answered within a set time. Add allowances for shrinkage from breaks, training, and absence. Then test the result against queue settings such as ring strategy, maximum wait and overflow rules, because these change how calls are distributed. Asterisk does not produce sizing models by itself, so ask any partner which method and which historical data they will use, and confirm that your service level targets are written down before the build starts.

When are commercial add-ons for Asterisk contact centers worth paying for?

A commercial add-on is worth evaluating when the feature gap affects revenue, compliance evidence, or the number of people who must be trained. Common candidates include wallboards and real-time supervisor dashboards, quality management with scored call review, advanced workforce scheduling, and agent desktops with rich CRM integration. Compare each option against the cost of building and maintaining the same function yourself. Check the license terms, the per-seat or per-channel pricing model, support commitments, and whether the vendor's roadmap matches your Asterisk and FreePBX versions. Also confirm that the add-on can run inside your infrastructure and export data in open formats, so you are not locked into a platform you cannot leave.

How long does an Asterisk contact center rollout take?

No duration can be stated here without a written scope, so treat any single number with caution. The timeline depends on the number of queues and IVR flows, how many systems need integration, whether existing phone numbers must be ported, how much call recording and reporting is in scope, and how many rounds of testing and agent training your organization requires. Parallel work on carrier trunks and number porting often sets the critical path, because carrier lead times are outside the project. DeployOpen delivers most engagements as fixed-scope projects, with scope, deliverables and timelines agreed in writing before work starts. Ask for a milestone plan that names each dependency and the owner of each one.

Does DeployOpen issue compliance certifications for a contact center?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. For a contact center, evidence can include recording configuration, retention settings, access logs for supervisors and agents, change records for IVR and dial plan edits, and documented 911 test results where US rules apply. DeployOpen can help you assemble and test that evidence against your own control set. Confirm with your auditor which records they expect and in what format before the build is finished, so that the evidence is collected as the system is built rather than reconstructed afterward.

What to ask an implementation partner before signing

Ask the partner to put every answer in the signed statement of work, not in a sales call. Start with the Asterisk version policy: which major release the build will run, the date that release reaches end of life according to Asterisk's published lifecycle, who applies security patches after that date, and whether the partner will support a move to a later release during the contract term. Ask for the matching FreePBX or other management layer version and its compatibility statement, because a contact center build usually depends on both. The partner should also state, in writing, which parts of the queue, IVR and reporting configuration are custom and therefore need retesting on every upgrade. Next, ask how queue and reporting behavior is verified. Request a written test plan covering queue strategies such as ring all, round robin, least recent and linear, along with wrap-up time, ring timeout, overflow and max-wait routing, and the IVR paths that send callers to queues, voicemail or external numbers. Ask which test cases the partner runs before each cutover and which ones the buyer's supervisors sign off on. For recording, require a written design for where recordings are written, how long they are kept, how they are encrypted at rest and in transit, who holds the keys, and how access is logged. Confirm which retention periods the buyer's own policy sets and which of those the partner is not qualified to set, since legal and compliance teams should decide that. Finally, request evidence for the CRM integration method, load testing, failover and post-cutover support. Ask whether screen pops use a supported API, a vendor connector or a custom script, and who maintains it when the CRM is upgraded. Ask for load test results at the agent count, call volume and recording load the buyer expects at peak, with the test profile and hardware described, not a general claim of capacity. For failover, require a documented design for a standby server or site, the process and time it takes to switch, and how queued calls and agent logins behave during a switch. Last, ask who answers a production fault at night, what the response targets are in the signed agreement, and who owns the Asterisk and FreePBX patch cycle after go-live.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.