WonderCX configuration guide

WonderCX is configured inside the app. WCX Server Setup and WCX Client Setup fix the application role at build time, with no startup role selector. Server starts automatically; Client requests a server URL/fingerprint once and reconnects on subsequent launches. Application connection is accessible before sign-in and from the workspace header; business settings and channels are available after sign-in. Connection settings are persisted in wondercx-network.json in this installation's separate user-data directory. Server offers standalone/LAN access; Client cannot host or create a local workspace.

Settings navigation: choose Voice & PBX, Channels, Business rules, Automation, Integrations, or Workspace, then select the setting within that category. On smaller windows, use the Category dropdown. Find a setting searches all settings available to your account, including field names such as IMAP, quiet hours, certificates and backup encryption. Enter opens the first result; Escape clears the search. Only the selected section is shown; navigation stays available while that section scrolls. Switching sections within Settings preserves drafts, but does not save them. Business rules and Flow API allowed hosts use Save workspace changes; channels and integrations retain their own save/test/review controls. Leaving Settings or signing out does not retain drafts.

Start with the operations and FreeSWITCH startup guide for the dependency checklist, platform preparation, minimal internal-call configuration, deploy/start/stop sequence, ports and troubleshooting. The sections below define the full configuration and safety contracts.

Administrator-managed phone assignments

Open Settings → Telephony provisioning as an Administrator with users.manage and channels.manage. Select an active Agent, enter the customer PBX's secure WebRTC/WSS endpoint, the Agent's SIP address and authorization username, and set the SIP password. Review the exact account and enable the assignment. Blank passwords retain existing credentials; explicitly removing a password also requires disabling the assignment. Revision checks reject stale edits. An enabled account cannot be assigned to another Agent at the same endpoint.

Phone and messaging sections appear at the top of Settings, not Administration. Use Telephony & Agent phones or WhatsApp, SMS & social accounts to jump directly to the corresponding Administrator panel. In the messaging panel, select Add account, then choose the provider, such as Meta WhatsApp Cloud, Telnyx, Vonage, AWS SMS, Messenger or Instagram.

On the Agent desktop, open Softphone → Connect assigned phone. Agents can choose/test microphones and use call controls, but there are no editable SIP server, account or password fields. The Server authorizes provisioning for the signed-in Agent only; extra user-ID arguments cannot select another account. WSS SIP credentials are delivered to SIP.js in that Agent's process memory solely for registration, never stored by the Client or exposed in administrator summaries. Obsolete local wcx-sip-settings preferences are removed rather than trusted/imported as administrative configuration. Existing agent-managed configurations must be provisioned again by an Administrator.

The Server stores phone assignments in its PostgreSQL database as OS-encrypted records. No plaintext credential enters the database, audit details or portable workspace backups. Assignments from an older pbx-settings.sqlite are imported once on upgrade and the file is renamed. Existing telephony-accounts.enc files are transactionally validated/adopted and retained unchanged as recovery evidence, not a second active settings authority. Preserve the database, retained migration evidence and original OS keystore in a separately secured whole-profile recovery plan. The registry supports up to 100 assignments and 48 KB of serialized content; a limit, keystore or storage failure is explicit. A valid backup restore durably disables phone assignments before replacing the workspace; administrators must review and re-enable each assignment afterward. Unsupported backup formats fail before disabling them.

If the installer selected an existing PBX, its domain/endpoint/transport are stored in the Server database and prefilled only for new Agent assignments. Existing assignments are never overwritten. Each Agent still needs their own SIP address, authorization username and password; setup collects no shared SIP login.

Connected phones recheck assignment state every ten seconds. Disabling or editing an assignment disconnects that phone when the change is observed, including active calls; changes require explicit administrator review. Disconnected Clients cannot observe revocations until Server connectivity returns, so use PBX-side account revocation for immediate signaling enforcement. Authentication/account revocation follows the existing host session invalidation behavior. Administrator save intent and completion, and Agent provisioning, are signed audit events. If storage fails after saving an assignment, the error explicitly requests review rather than reporting success.

Windows native SIP preview for a PBX without WebRTC

Select Phone connection → Windows native SIP (preview) on the same Administrator form. Enter an explicit SIP proxy and port, for example sip:pbx.example.com:5060, the Agent's SIP address, authorization username and masked password, and select UDP, TCP or TLS. Do not put credentials or transport parameters in the proxy field. TLS normally uses port 5061; use the actual PBX port. For a private PKI, supply one currently valid CA certificate in PEM format, not a private key or leaf-only server certificate. Public roots are included; server certificate and hostname verification cannot be disabled.

The Agent computer needs the explicit Windows native-SIP preview installer. The Agent opens Softphone → Connect assigned native phone, selects a Voice queue, and uses call/answer/decline, hold/resume, mute, DTMF and hangup controls. Native credentials travel only from the Server to Client main-process memory and the inherited helper pipe; the renderer receives safe phone state, never the SIP password. No Agent-side SIP setup, extra service or development tools are required. Set the default microphone/speakers in Windows Sound settings and allow desktop microphone access in Windows Privacy settings.

Native authorization checks run every five seconds with a five-second deadline and before registration/control. Loss of assignment, session or Server connectivity ends native registration and active calls; reconnect explicitly after review. An unconfirmed hold/resume also disconnects after eight seconds rather than leave uncertain audio state or pretend the PBX accepted it. Logout and renderer shutdown stop the local helper. Answered calls enter wrap-up, unanswered outgoing calls end without an answered outcome, and actual SIP Call-IDs are bound to Voice interactions. Failed binding does not interrupt the physical call and offers an exact-ID retry; failed interaction completion remains explicit and retryable. Incoming caller identity is not exposed by this preview, so records use a generic incoming-call label.

The preview supports one G.711 customer call and one consultation using default Windows audio, terminal-confirmed blind/attended transfer and dialing configured conference rooms. A matching helper enables Consult first, Complete transfer, and Cancel consultation and resume customer. Managed native consultation additionally requires Server tracking and a fresh deployment with the consultation-aware dialplan; upgrading or restarting an older deployment does not enable it. Local recording and automatic NAT traversal remain unavailable. External-account UDP/TCP signaling and RTP are unencrypted; TLS protects that external signaling only. The managed PBX can separately require TLS and SRTP as described below. Standard installers remain WebRTC-only; macOS enables the native phone only in its explicit source preview. Real Windows build/install/launch, audio-device, firewall and customer PBX/TLS checks remain required before deployment; local macOS synthetic tests are not Windows certification.

Neither mode claims vendor desk-phone control or certification against a PBX family. The separately configured signed PBX report endpoint below verifies outcomes; it is not a vendor call-control adapter.

PBX configuration draft (FreeSWITCH)

Open Settings → PBX as an Administrator with users.manage and channels.manage. Connected Administrator Clients edit the Server's encrypted draft; Agents and Supervisors cannot read or edit it, even with those permission overrides.

Saving a draft alone is configuration-only. The standard all-users Windows x64 Server installer offers optional downloaded FreeSWITCH or an existing PBX; no separate PBX build flag is required. For a new built-in PBX, reviewed LAN settings are automatically saved, deployed and started after the first local Administrator sign-in; subsequent changes remain explicit save/deploy/start operations. Existing PBX drafts/deployments/assignments are not auto-replaced. An explicitly enabled macOS development runtime provides a user-domain service adapter. Standard macOS/Linux installers permit drafts but do not deploy/download an engine; no installer bundles the FreeSWITCH MSI. The draft API's stage: configuration-only describes the saved draft prior to explicit deployment. Review your network parameters and carrier credentials before starting telephony services.

The draft editor covers:

Section Draft configuration
Network PBX DNS domain, explicit Server/media IPv4 addresses, separate Agent/carrier SIP ports, optional Agent TLS/SRTP, RTP range and canonical Agent CIDRs
Extensions Up to 100 unique numbers, optional active-Agent assignment, explicit enabled/outbound/voicemail flags
Trunks Up to ten fixed-IPv4 UDP/TCP carriers, optional registration, masked credentials and explicit inbound carrier CIDRs
Inbound routes Exact DID plus trusted trunk networks, internal destination and opt-in recording
Outbound routes Longest numeric access prefix, bounded remaining digit length, strip/prepend, authorized caller ID and carrier
Queues Up to 30 voice queues with enabled extension members, ring strategy, bounded wait and non-looping overflow
IVR Up to 20 menus with a local WAV filename and distinct single-DTMF options to internal destinations
Conferences Up to 20 rooms, masked 6–12 digit participant PIN and bounded participant count

Defaults are empty and loopback-only (127.0.0.1, ports 5060/5080, RTP 16384–16484), unless initial Windows built-in setup applies the installer-reviewed LAN domain/address/Agent CIDRs with mandatory TLS/SRTP on port 5061. A DNS domain, distinct SIP/control/media ports, existing internal targets and explicit inbound carrier networks are required. IVR/overflow loops, disabled queue members, duplicate numbers/routes and expression/path injection are rejected. The compiler targets controlled IPv4 networks with G.711. Native Agent signaling/media can use plaintext or mandatory TLS/SRTP; optional managed WebRTC uses WSS and DTLS-SRTP. Carriers remain UDP/TCP with plaintext RTP. Reviewed browser STUN/TURN and a separate advertised media IPv4 are optional. Ensure network firewalls permit bidirectional UDP traffic on the configured RTP media port ranges.

Select a section, edit its rows, review the network/dialing/recording acknowledgment and choose Save PBX draft. Exact revision checks reject stale changes. Blank trunk passwords retain only the same saved carrier endpoint, transport and username; changing any requires a new credential. A non-registering IP-authenticated trunk has a blank username/password. Supported carrier credentials are 1–128 restricted printable characters; variable expressions, quotes, backslashes and control characters are intentionally rejected. Blank conference PINs retain an existing room's PIN, not a newly numbered room's PIN.

Extension SIP passwords and eight-digit voicemail PINs are generated on the Server and never returned in configuration summaries. Native credentials remain main-process/helper-only; a WebRTC Agent receives only their own deployed SIP credential in renderer memory. Extension reassignment, phone-type changes or a PBX domain change rotates draft credentials without changing a deployed phone. Conference PINs are masked in every read/save response. Drafts, active/previous/pending deployment records, TLS/WSS private keys, installer state and external phone accounts are held as separate OS-encrypted records in the Server database. Audit/portable workspace backups contain no PBX passwords or PINs; the database contains ciphertext, never their plaintext. First startup transactionally adopts validated legacy pbx-engine.enc, pbx-deployment.enc, .previous/.pending and phone files, preserving the originals. Conflicting/new legacy histories or any unreadable record block startup rather than silently creating defaults. Preserve the database, retained migration evidence and original OS keystore. The draft remains limited to 48 KB, including imported certificates; keystore, capacity and persistence failures are explicit. Preparation/completion audits contain operation/revision metadata, not secrets. If an operation succeeds but its completion audit fails, reload and inspect storage before retrying.

An internal compiler generates a minimal FreeSWITCH configuration with no shipped/default users, generated loopback Event Socket authentication, deny-by-default ACLs, per-trunk exact-DID routing, authenticated extension outbound permission and local-only feature destinations. Tags and include directives occupy separate lines because FreeSWITCH preprocesses them line by line. Directory contacts explicitly select wcx-internal so a trunk sharing the domain cannot shadow a registered extension. Unregistered extensions may fall through to their enabled voicemail; conference PIN prompts use the installed English sound prefix. Agent network restrictions use directory auth-acl alongside SIP Digest, not profile apply-register-acl, which permits automatic registration for matching IPs in the pinned engine. Secret-bearing generated XML is not exposed through IPC/RPC or written as plaintext by saving a draft. The macOS integration runner additionally exercises actual FreeSWITCH interpretation; source-only configuration checks do not establish it.

Call audio library

On the WonderCX SoftPBX Server, sign in as an Administrator and open Settings → PBX → Media, credentials & rooms → Call audio library. Import and preview recordings or music you have the right to use. The importer accepts formats the installed app can decode, commonly WAV, MP3, FLAC, Ogg Vorbis, Opus and M4A/AAC. Codec support can vary by build; if a file is refused, export it as PCM WAV. Imports are limited to 25 MB and five minutes per source file and converted locally to mono, 16-bit, 8 kHz WAV. No AI, cloud service or external encoder is used.

Use How to assign
Hold and queue music Import once as moh.wav. It loops for the party placed on hold and for callers waiting in queues. Without a deployed file, the built-in tone remains.
Queue announcement Choose the PBX queue number, for example 8001. The PBX plays queue-8001.wav when a caller enters that queue, then plays hold music.
IVR or voice flow prompt Import a name such as welcome.wav, then use that exact name in the IVR or voice flow and save the draft.
Voicemail greeting Choose the mailbox extension, for example 1001. The PBX plays vm-greeting-1001.wav before the recording beep.

Imports, replacements and removals are library changes only. Stop the PBX when idle, deploy the saved draft, then start the PBX to use the new audio. For the same filename, an imported file takes precedence over an enabled generated speech prompt. For other required WAV files, deployment still asks for a folder. A removed IVR or voice-flow WAV must be replaced, supplied from the folder or removed from the saved plan. This does not configure FreeSWITCH or an external PBX's hold music.

The Server keeps the normalized library in pbx-audio-library under its application data directory. Back up this directory separately from workspace exports. Source originals are not retained, and audio is not stored in the application code repository.

Managed Agent encryption

In Network → Agent phone encryption, select Mandatory TLS/SRTP (private PBX CA) and review/save the draft. WonderCX generates a Server-owned RSA-2048/SHA-256 private CA (ten years) and a server certificate (one year) for the configured PBX DNS domain and advertised IPv4 address. Only public fingerprints and the server-certificate expiry appear in settings. The CA and server private keys remain in OS-encrypted records in the Server database; deployment publishes only the server private key/certificate and public CA to protected engine configuration. The CA private key is never deployed or provisioned to phones.

Saving does not change a running service. Review the saved revision, stop when idle, deploy and start it explicitly. A valid existing server identity with more than seven days remaining is reused; otherwise saving renews the server certificate. Changing its host/domain issues a matching certificate under the existing valid CA. A CA with insufficient remaining lifetime is replaced, changing its public fingerprint; review and redistribute trust to standalone phones. There is no unattended renewal/redeployment. Expired or invalid certificates block compilation, deployment/start and new provisioning, but do not prevent authenticated stop/recovery or reading the draft.

The configured Agent port becomes TLS-only (TLS 1.2/1.3); directory-authenticated Agent legs require SRTP AES_CM_128_HMAC_SHA1_80. Assigned native phones trust only that deployment's public CA, verify the server identity and require confirmed encrypted audio before establishing a call. Older helpers lacking mandatory-SRTP support cannot receive secure-profile credentials. SIP Digest and network ACLs still apply; client certificates are not required. Standalone-phone exports include only the public CA, account credentials and the mandatory-SRTP requirement, not either private key. Configure matching server identity and encryption on those devices.

Carrier legs remain plaintext UDP/TCP and RTP. The PBX decrypts media to bridge, mix, record and store voicemail; this is not end-to-end encryption or encrypted-at-rest recording. Protect stored media and carrier networks separately. Without managed WebRTC, tls/wss.pem duplicates the native server identity for pinned Sofia bootstrap compatibility but enables no WebSocket listener. Changing back to plaintext requires the same explicit review/deployment and removing WebRTC assignments/listener; existing drafts default to plaintext for compatibility.

Managed WebRTC and direct WSS

In PBX → WebRTC, enable managed WebRTC, select a distinct nonprivileged WSS port (default 7443), and import an administrator-provided PEM certificate chain and matching unencrypted private key. The chain is leaf-first, at most four certificates/18 KB; the key is at most 6 KB and must be RSA 2048+ or P-256/P-384. Validation checks key matching, DNS SAN identity, chain ordering/signatures and certificate validity; a wildcard SAN may match one DNS label. Agent computers must already trust the issuer and resolve the configured PBX domain to the Server. Import validation is not proof of Agent OS trust. WonderCX neither installs trust nor bypasses browser certificate warnings. Do not reuse the generated native private CA as implicit browser trust.

The imported key is transient input while choosing files, then encrypted in the Server database. Settings returns only fingerprint/expiry metadata, never the saved chain or key. Leave both inputs empty to retain the saved identity; replacing one requires both. Disabling WebRTC removes the key from the editable draft, not retained deployment/recovery snapshots. Expired saved drafts remain readable for stop/recovery, but expired identities block deployment/start and new provisioning. Certificate replacement/renewal requires explicit save, idle-stop, deploy and start; it is not automatic.

Under Extensions, select WebRTC per Agent. Omitted phone types remain native for compatibility. WebRTC requires the secure native profile, but uses a separate imported tls/wss.pem and WSS listener with DTLS-SRTP media, rather than native SDES-SRTP transport settings. Deployed PEM files are private operational configuration, not plaintext application settings. The Event Socket stays loopback-only. Application HTTPS and WSS certificates are independent.

Standard WebRTC Clients use Connect assigned phone, without the native helper. Only the signed-in eligible Agent's enabled, recently verified, immutable deployed WebRTC assignment is provisioned; native credentials still cannot use that renderer endpoint. A deployment/session/permission change invalidates pending provisioning. Managed phones accept one primary call and, on a new consultation-aware Server-tracked deployment, one consultation. Stop when idle, deploy and start explicitly; restarting an older deployment does not enable this capability. When Server tracking is deployed, SIP.js does not create, bind or close duplicate Agent-owned interactions; unmapped deployments retain legacy Agent-selected tracking and blind transfer only. External WebRTC accounts retain their separate attended-transfer implementation.

Without explicitly reviewed ICE settings, this remains a controlled-LAN path with an empty browser ICE-server list and the Agent network ACL applied to media candidates. No default public service, router mapping or firewall rule is inserted. Verify that browser clients can reach the WebRTC WSS signaling endpoint and establish two-way audio over the local network.

Reviewed ICE and public media addresses

Use PBX → ICE & NAT for optional browser STUN/TURN. Review up to four STUN URLs and four TURN URLs, each with an explicit IPv4/DNS host and port: stun:stun.example.com:3478, turn:turn.example.com:3478?transport=udp, or turns:turn.example.com:5349?transport=tcp. TURN TLS uses TCP. Embedded credentials, paths, fragments, arbitrary query parameters, multicast endpoints and IPv6 are rejected. These are syntax examples, not configured providers; the app installs no relay.

Choose direct-or-relay or reviewed TURN relay only. Relay-only requires TURN. Explicitly allow the browser/relay media-candidate IPv4 networks (/8–/32). These compile to a separate deny-by-default media ACL and never widen Agent signaling access, carrier access or Event Socket access. Include the approved relay's actual IPv4 egress range. The original Agent signaling allowlist still controls WSS/SIP authentication and calls.

TURN requires a reviewed TURN REST shared-secret service, such as appropriately configured coturn. Enter the service's 16–128-character shared secret, not a static Agent username/password. It stays in OS-encrypted records in the Server database, is never compiled into FreeSWITCH XML, and never reaches Agents or credential exports. Blank retains it only for unchanged ordered TURN URLs; changing the relay URLs requires the secret again. Disabling TURN removes it from the editable draft, not retained deployment/recovery snapshots. Settings returns only whether it is configured.

Own-Agent provisioning uses the immutable deployed policy and generates one-hour credentials: a timestamp/deployment-generation/extension username and Base64 HMAC-SHA1 password, compatible with TURN REST authentication. With configured ICE servers, SIP.js requests fresh authorized provisioning before each local SDP negotiation, updates that call's peer-connection ICE configuration, and rejects changed assignments, expired credentials or provisioning failures rather than reusing stale configuration. It does not automatically ICE-restart an established call. Credential exports carry their explicit expiry and need renewal; the Server and TURN service clocks must be synchronized.

An optional separate advertised media IPv4 overrides the SDP media address for both PBX profiles; blank preserves the existing advertised SIP/default-media address. Bind addresses, WSS DNS identity, signaling ports, RTP range and manual firewall/NAT mappings remain independently reviewed. No public-IP discovery, UPnP, NAT-PMP or OS/network-rule changes are added. Native phones do not receive browser STUN/TURN settings.

For remote agents connecting over WAN or NAT, ensure TURN relay servers and TLS certificates are configured and accessible.

Deployment and service lifecycle

Build the opt-in Server using the PBX build instructions. Use a dedicated trusted OS account; do not share that account/profile with untrusted Agent users. Its account can decrypt settings and read engine credentials, regardless of the role signed into the application. Initial approved built-in setup runs automatically once after local Administrator sign-in with no extensions/trunks/routes; add real users and carrier settings afterward. Existing PBX setup is preserved for manual review instead. The subsequent/manual Windows configuration flow is:

  1. Review and save a draft with reachable Server addresses, controlled Agent networks, carrier policy and eligible Agent assignments. Disable conflicting external phone assignments.
  2. Locally on the Server, select Deploy saved revision and acknowledge the operation. The all-users Windows PBX Server setup has already downloaded, size/hash-verified and silently extracted FreeSWITCH 1.11.3; deployment rechecks its protected cache and runtime inventory instead of asking for an MSI. If preparation is missing or changed, rerun the matching PBX Server setup rather than bypassing verification. If the draft has IVRs, select a local folder containing every named prompt: mono 16-bit PCM WAV, 8/16 kHz, at most 16 MB/file and 64 MB total.
  3. Approve the Windows elevation prompt. Deployment revalidates and copies the prepared runtime rather than installing the MSI's stock configuration/service, verifies the runtime/modules and publishes private generated configuration. It leaves WCXPBX stopped, under NT SERVICE\WCXPBX. No firewall rules, NAT mappings or unsolicited downloads are created.
  4. Select Start deployed revision and approve elevation. The helper verifies the protected runtime and deployed configuration inventories, starts the service and enables automatic service startup. The Server verifies the live engine identity/revision and both SIP profiles. Agent computers need the separate native-SIP preview installer; Agents configure no SIP parameters.
  5. Before redeployment, select Stop when idle. The Server refuses active calls, pauses new inbound/outbound session admission and checks sessions twice. Elevated stop refuses a replacement service process that was not covered by that idle proof. It stops the service and sets manual startup; it never sends call-kill commands. Cancellation resumes admission on the same still-running process. Unknown completion is not treated as rollback.

An encrypted interrupted-operation journal is written before service dispatch. Failed/uncertain operations or a restart with an unfinished journal quarantine new provisioning. review-stopped means the service was stopped but the candidate deployment was not confirmed; it cannot simply be started. Inspect the machine, stop safely, then redeploy a reviewed draft. Recover previous deployment as a draft copies the last confirmed encrypted snapshot into a new draft revision; it does not change the service. Previous protected runtime/configuration directories are retained for deliberate recovery, not automatically activated.

Remove stopped service removes only its registration. Runtime, recordings, voicemail, CDRs and prior configurations remain. Uninstalling the desktop Server also leaves the independent PBX service/data in place; remove the stopped service first if it must no longer run. Do not delete registries or restore a workspace while it runs. Restore requires both a stopped cached deployment and a live stopped-service check, disables managed provisioning, and requires review/redeployment before reuse.

On macOS, standard Server PKG/DMG installations offer native Homebrew-based PBX setup: defer without parameters, approve local FreeSWITCH with reviewed LAN settings, or record an existing PBX without downloads. The owner-only installer SQLite handoff contains no passwords; live settings/secrets remain OS-encrypted. No service starts until authorized local Administrator sign-in. Alternatively, prepare the source runtime with npm run launch:pbx:mac, or use the separate explicit download-enabled Server preview. The latter collects an optional local/external PBX choice after local Administrator authentication and stores it OS-encrypted in the Server database. External setup skips downloads and supplies only new Agent connection defaults. Local setup downloads the publisher-pinned native archive, verifies all dependencies and applies the reviewed LAN TLS/SRTP configuration before deploying/starting. Existing PBX histories and phone assignments are preserved for review. No root postinstall script or customer Homebrew/Xcode installation is used.

Subsequent Deploy saved revision uses the verified downloaded or prepared engine rather than an MSI; Start deployed revision registers/starts a per-workspace user launchd job without elevation. It survives desktop Server restarts but not logout, does not auto-start at login and does not auto-restart after a crash. Explicit idle-stop waits for process termination before confirming success; removal preserves configuration and media. Private deployment files live under the Server profile's pbx-macos-preview, with a recorded configuration/prompt inventory; downloaded runtime files use separate pbx-macos-runtime storage. Registrar and queue databases are archived on redeployment without deleting voicemail databases. The user-owned service is not a protection boundary against the same OS user or administrators. Hosted ARM64/Intel archives, license review, publisher signing/notarization and clean-machine distribution must still be supplied/qualified.

Download / verify Mac runtime is a local Administrator-only, explicitly acknowledged, audited preparation/recovery operation. It only prepares the immutable publisher-pinned dependency set; it never replaces an existing runtime, changes the original setup choice or triggers draft/deployment/start. Administrators can explicitly opt into this later even after initially choosing an external PBX; the original external choice itself never triggers a download. Interrupted initial automatic setup remains review-required. Correct the cause and explicitly save/deploy/start a reviewed draft rather than resetting the journal. Runtime archives enforce architecture and recorded minimum macOS version.

The prepared version-2 runtime inventory also verifies transitive non-system dynamic-library aliases/bytes and English 8 kHz sound assets before control authentication. Stop and prepare a new runtime after dependency or sound-pack changes; do not edit hashes to conceal a mismatch. Foreground no-console mode avoids unbounded launchd output; diagnostics use private rotating log/freeswitch.log (10 MB, five rotations), with core dumps disabled. Pre-logger startup failures may have only a launchd exit status. Existing legacy launchd output logs remain for deliberate operator review. After a crash, inspect the stopped service and explicitly stop/redeploy the reviewed revision before recovery; no silent restart or automatic rollback occurs.

After an explicit start, SIP profiles allow up to 19 listener-bind attempts five seconds apart, accommodating transient TCP port retention after a crash. Both platform drivers wait up to 100 seconds for authenticated profile readiness. This repeats only read-only inspections, not the service-start operation; malformed responses, identity mismatches and failed peer proof stop verification immediately. A missing startup profile blocks phone provisioning but does not prevent an authenticated, double-checked idle stop. A start timeout remains unconfirmed and requires operator inspection.

FreeSWITCH core uses MPL-1.1; bundled components have their own notices/source obligations. Review applicable vendor/component terms before use or redistribution. Windows installation, normal-user/elevated ACL/process inspection, service recovery, real carrier routing, audio, IVR, queue, conference and voicemail behavior still require Windows qualification.

Agent provisioning, call observations and media

Draft assignment alone is not a phone assignment. A confirmed running deployment provides each eligible Agent's own native credentials directly to the phone main process, or their own WebRTC credential to SIP.js in memory; neither is stored on the Client. Native passwords never reach the renderer. Provisioning generations and the pbx source marker prevent an old managed phone from being authorized as a same-revision external account. Draft changes do not affect running credentials.

The authenticated persistent observer subscribes to managed offered/answer/hangup events and checks calls/profiles and queue eligibility about every five seconds. Assigned queue members need both an active, authorized Ready Agent and a registered phone. Agents with an active interaction (including digital work), pending wrap-up or a live managed call leg are unavailable for queue offers. Unassigned standalone desk phones are independently available. A changed registration contact or Ready-state transition refreshes managed eligibility; repeated polls do not continually reset the engine's no-answer protection.

Server-owned call tracking is opt-in per deployment. In PBX → Network, select an existing Default Voice tracking queue. Extensions can override their direct/outbound tracking queue; PBX queues can override their WonderCX Voice queue. These are actual queue IDs, not matching names or PBX extension numbers. Save/deploy/start validates Voice support and assigned Agents' permissions, team and skills. A deployed mapping prevents deleting its queue or removing/changing its Voice admission, team or skills; first remove the mapping and deploy while idle. Renaming retains the stable mapping. Losing queue eligibility disables new phone authorization and queue offers rather than silently using another queue.

Phone calls follow the PBX queue's overflow. A managed call overflows after the PBX queue's maximum wait to its overflow target; the WonderCX queue's Overflow after and Fallback queue do not move phone calls. When a mapped Voice queue has a fallback that admits Voice, deploy and queue edits require them to agree: the PBX queue must overflow after the same number of seconds to a PBX queue mapped to that fallback. Remove the fallback, or use a fallback without Voice, when the phone overflow should differ. Required-skill relaxation applies only to digital routing; PBX queues ring only the explicitly deployed members that meet the queue's team and skills.

In this mode, the Server creates one normalized interaction record from the engine's root UUID and instance, preserves original event times and records signaled caller identity even without an Agent window. Caller ID is a signaling assertion, not verified customer identity. Generic interaction routing cannot claim these calls. Eligible answered Agent legs establish incoming ownership; an outgoing Agent is marked busy when offering a call. An unanswered direct call is Not answered; a queued incoming call without an Agent answer is Queue abandoned. Queue/IVR early answer is not automatically an Agent answer; explicitly served voicemail/conference calls are distinguished from missed calls. The interaction detail shows the observed PBX state, and manual cancellation, reassignment or completion cannot substitute for ending/transferring the physical call. Disposition remains an explicit Agent action after call end. Managed native and WebRTC phones omit duplicate client-created interactions; external accounts and deployments without a mapping retain their existing Agent-selected tracking.

The native phone supports one customer call and one consultation with a matching helper. Managed blind transfers can reach configured internal extensions/features, not outbound carrier routes. Target ringing is not completion: the PBX must confirm the terminal REFER result. A rejected destination bridge explicitly rejects the transfer and reconnects the original parties; wait for restored audio before attempting another transfer. Timeout, lost transport or an ordinary call closure without confirmation leaves the outcome uncertain and is never automatically retried. For tracked incoming and outgoing calls, answered blind-transfer target legs retaining the same managed root update the existing interaction rather than creating a second customer call. Outgoing ownership requires the PBX-provided transfer-source chain back to the originating leg, not simply an answered dialed extension or a REFER request. Consult first waits for confirmed customer hold, then calls one configured Agent extension. Mute and DTMF target the consultation. Cancellation or recipient rejection closes the consultation and requests customer resume; confirm the resulting hold state before proceeding. Complete transfer requires both established dialogs and confirmed customer hold, then sends REFER/Replaces. Consultation answers never change customer ownership. Only an engine-observed bridge to the expected customer promotes the recipient; retained last-bridge identity and time recover that ownership after feed loss. A feed reconnect that missed the consultation answer cannot infer live ownership from a bridge alone; retained CDR recovery reconciles it when the leg ends. Ending the original Agent leg does not end the interaction while retained customer/recipient legs remain active. Original event times, transfer links and ownership survive retained-CDR recovery; late historical answers cannot replace a newer recipient. Managed SIP.js consultation remains separately disabled. Users can dial configured conference rooms. Conference profiles explicitly disable unconfigured participant DTMF controls after PIN admission; local phone mute/hangup still work.

Live conference controls in the local Server's Settings → PBX let Administrators inspect deployed rooms and review mute, unmute, remove, lock or unlock actions. Participant numbers identify engine channels, not verified people. Each mutation is bound to the current deployment generation, room UUID and, when applicable, participant UUID; unsaved draft rooms and stale participants cannot authorize actions. Preparation audit must persist before dispatch, and success requires both the exact command acknowledgment and the observed native effect. Removing a participant ends that conference leg. If the acknowledgment/effect or completion audit is lost, inspect and refresh before reviewing another action; no command is automatically repeated. Held participants cannot be muted/unmuted through these controls. Controls require users.manage and channels.manage, are single-flight, and are not exposed to remote Clients.

Queue wait is FreeSWITCH's max-wait-time, not a hard wall-clock deadline: a callback already ringing when it expires is allowed to finish its up-to-60-second offer before overflow. One queued caller may receive multiple callback offers. Three completed unanswered offers move an Agent to On Break; repeated unchanged Ready/registration observations must not reset that protection.

Legacy live events still require the exact managed instance/revision, Agent ID and previously bound SIP Call-ID; they only annotate history and do not reassign or apply the separate signed-outcome workflow below. Early legacy events can wait up to 30 seconds for binding. Observer loss blocks new managed connections, not an already-authorized call solely because its diagnostic feed failed; account/session revocation and changed deployment generations still invalidate the native phone.

XML CDRs persist physical legs independently. Bounded automatic replay checks them about every five seconds and preserves original times. With reviewed Server tracking, recovery reconstructs missing interactions and reconciles late/duplicate root and Agent legs; legacy replay still waits for an existing binding. Records must belong to this managed instance and a current or older revision, never a future revision. File identity, chronology, content and size are validated. Only bounded selected tracking metadata enters the database, never raw SIP/authentication or diagnostic dumps. Root hashes and normalized leg records deduplicate across restart. Privacy erasure removes caller/leg identities but retains the root-hash tombstone so replay cannot resurrect erased content. Retained CDR/media files remain a separate operator-managed privacy inventory; replay does not delete them. Recovery errors are explicit and block new provisioning pending inspection.

Open recordings, Open voicemail storage and Open call records are local Administrator operations requiring audit.read. Windows media lives beneath %ProgramData%\WonderCX\PBX; macOS development media lives under the Server profile's pbx-macos-preview. Call records use log/xml_cdr. These folders are outside workspace backups. Apply a separately approved backup/retention/consent policy; no silent media pruning is implemented. Voicemail language files and the official English sound pack are used; dial *98 and enter the mailbox PIN. The pinned engine discards recordings shorter than its three-second minimum and can automatically play new messages after successful authentication.

Export private credentials explicitly saves a deployed extension's SIP password and voicemail PIN to a new operator-selected file, never to the renderer. Choose a private destination and secure the plaintext export; existing files are not overwritten. Generated Agent phones require no export or manual setup.

Revocation boundary: user deactivation/permission loss removes application provisioning and managed queue eligibility, but static directory credentials on an exported/extracted standalone SIP device are not instantly revoked. Disable or unassign the extension in the draft, stop safely and deploy the updated configuration to revoke engine access. Deployments archive stopped registrar/queue databases to prevent old registrations/memberships surviving reassignment; voicemail databases and retained audio are preserved.

Read-only engine inspection

In Settings → PBX → Engine connection, choose Inspect PBX service. Only Administrators can invoke this operation, including through a connected Client; it runs on the Server, not the Client. This one-shot inspection never retries and cannot install/start/stop/reconfigure a service, originate calls or send arbitrary console commands. Platforms without an enabled runtime report their unsupported inspection state without opening a socket.

On the supported Windows x64 Server, the control connection is fixed to IPv4 loopback 127.0.0.1:8021. Before sending its encrypted-registry control password, a bounded read-only Windows PowerShell inspection checks the established connection's owning process (not just whoever currently listens on the port). It must be the running WCXPBX service under the dedicated NT SERVICE\WCXPBX virtual account, executing the protected managed FreeSWITCH path with explicit base/module/config paths and -nonat -nonatmap.

The managed-layout gate expects %ProgramFiles%\WonderCX\PBX\engine and a protected sibling runtime-manifest.json; configuration is expected under %ProgramData%\WonderCX\PBX\active\conf. The deployment helper creates that layout, inventory and service. Runtime/config paths must be non-reparse, owned by SYSTEM, Administrators or TrustedInstaller, and not writable by other principals. Config content must be readable only by those principals, the service's SID and the Server process's OS account. The protected runtime manifest must match the pinned release/MSI SHA-256, list all runtime files with exact size/SHA-256, and include every module in the compiler's shared allowlist. Files, parent directories, x64 PE architecture and unexpected/reparse entries are checked. Bounds: 2,000 files, 256 MB/file, 512 MB total, 512 KB manifest, five-second verification process deadline. Static inspection of the hash-verified MSI found 1,657 payload files totaling 388,023,214 bytes, a largest file of 89,329,152 bytes and AMD64 headers in all 142 executable/DLL payloads. Administrative-extraction layout, filesystem permissions and cold-disk verification duration still require Windows qualification. A stock/manual unrelated FreeSWITCH installation intentionally fails verification. Process-image queries use limited-information access, not privileged main-module inspection; normal-user and elevated behavior still require Windows qualification.

Windows deployment also publishes a protected active\configuration-manifest.json. Startup and every control peer proof verify exact hashes/sizes and a complete allowlisted inventory: thirteen compiler XML files, two English voicemail XML files, all three TLS PEMs or none, and at most twenty named prompts. Missing, changed, duplicate, extra, linked, publicly readable or untrusted-writable configuration is rejected before startup/control authentication; the manifest is bounded to 32 KB and configuration to 38 files, 16 MB/file and 64.5 MB total. Retained recordings, voicemail and CDR data remain outside this inventory. Older preview deployments without this manifest require explicit redeployment. Stop them when idle using the matching old Server before upgrading; the new verifier will not disclose control credentials to an unverified legacy deployment. Do not add a manifest or edit hashes manually to bypass verification. Rebuild the PBX preview installer when updating the privileged helper so its packaged helper identity matches.

macOS development control defaults to 127.0.0.1:18021 because 8021 can belong to a macOS system service. Verification uses the exact launchd job PID, executable/isolated arguments, owner UID and established client/server socket tuple; it checks prepared engine/module/core-library hashes, the exact core-library alias and deployed configuration/prompt inventory before authentication. It refuses an unrelated stock engine, even on the expected port. Lifecycle startup can poll read-only admission status within a bounded 45-second readiness allowance; stopping waits up to 30 seconds for the exact process to exit.

Only after verification does the one-shot Event Socket client authenticate and request a fixed read-only sequence: version, managed instance tag, managed revision, admission readiness, call count and SIP-profile status. Paused/not-ready admission blocks new provisioning; explicit verified stop/resume operations remain possible. Generated XML contains a non-secret instance tag derived from the random control credential and the exact draft revision. An older/different configuration rejects instead of reporting a current engine. Overall per-connection deadline is eight seconds, with strict frame/header/content limits, duplicate-header rejection and no late credential transmission after timeout. Missing/malformed responses never become zero calls or a healthy profile.

The UI receives only pinned version, matched revision, bounded active-call count and running/stopped state for the two managed SIP profiles, plus non-secret platform/control-port capability metadata. It does not receive control passwords, instance tags, carrier/caller details, executable paths or raw command output. A stopped profile remains visibly stopped; an authenticated connection is not call-routing/media certification. Inspection uses the deployed identity when one exists, otherwise the draft identity. A relevant revision/generation change, logout/relogin or authorization loss invalidates a pending result. This explicit action is one-shot and read-only; the running-deployment observer described above is separate. Inspect profile status and active call counts directly from the WonderCX management interface.

Digital routing offers

Auto-routing offers each waiting chat, email, messaging, Voice or callback conversation to one Ready Agent instead of assigning it straight away. The Agent sees the offer in a banner with Accept and Decline; the conversation stays Waiting and its capacity is reserved for that Agent until they respond. Accepting makes the Agent the owner and the conversation Active. Declining, or letting the offer lapse, sends it to the next eligible Agent; an Agent who declined or let it lapse is skipped until every eligible Agent has had a turn. An offer is withdrawn when the Agent leaves Ready. Manual assignment, takeover and transfer clear any offer.

Set the time in Settings → Routing, Service Levels & Workload Capacity → Offer time to accept (seconds): 5–300 seconds, default 30. Offers are checked on the five-second routing cycle, so a lapsed offer moves within about five seconds of expiring. Set 0 to assign directly without an offer, as in earlier versions. Managed PBX and WhatsApp calls are not affected; they ring through their own queues.

Voice flows (IVR)

Build call menus in Flows with the channel set to Voice, then let a PBX number answer with them. Calls run on the WonderCX SoftPBX; a FreeSWITCH deployment refuses a plan that contains voice flows (use PBX → IVR menus there).

Steps available on calls:

Step What it does
Play prompt Plays a recorded WAV prompt (mono 16-bit PCM, 8 or 16 kHz).
Gather keypad Plays an optional menu prompt that callers can interrupt with a key, then collects keys into a variable. Settings: fewest and most digits, seconds to wait for each key, the key that ends entry (#, * or none), tries, accepted entries (for example 1,2,3,0), a retry prompt, and where to go after the last failed try. The entry is also in system.dtmfDigits.
Branch / Condition Route on any variable, for example the keypad choice or system.businessHours.
Set variable, Pause As in chat flows; Pause is silence.
Transfer Sends the caller to a PBX number: a queue, extension, conference room, IVR menu or another voice flow.
Booking Self-service by keypad: lookup_booking or cancel_booking (booking number from a Gather keypad step, with system.callerId as phoneVar), or create_ticket (for example a callback request). The result variable gets the booking or ticket number, <variable>_ok is yes or no, and lookups also set <variable>_status (for example booked), so a Branch step can play a recorded prompt for each outcome. When the action cannot be done, the call goes to the step's failure path.
Hang up Ends the call.

Typed messages, spoken answers and API steps are not available on calls. Neither are find_slots, hold_slot and book, because a recorded prompt cannot read out the times offered. The designer lists everything that must be fixed before the flow can publish, and Test call runs the draft with an on-screen keypad, caller ID, call time, a business-hours switch and a Booking steps fail switch (test calls never touch real bookings or tickets).

Booking steps on calls run on the Server as the administrator who last saved the PBX plan routing to the flow, with that account's permissions (for example bookings.manage to cancel, tickets.manage to open tickets); if that account is deactivated, the steps fail until an active administrator saves the plan again. Caller ID is only a weak check (it can be spoofed), so: a lookup or cancellation also needs the booking number; calls from withheld numbers cannot look up or cancel; each call gets 3 attempts and each booking 5; and all calls to one flow share a limit of 20 failed attempts per hour, after which callers take the failure path (route it to an agent). Where a wrongful cancellation would be costly, use lookup_booking and transfer to an agent instead of cancel_booking. Every booking step on a call is recorded in the audit log.

Call variables: system.callerId, system.calledNumber, system.hour, system.minute, system.weekday (0 = Sunday), system.date (all in the workspace time zone) and system.businessHours (open or closed, from the workspace business hours and holidays).

Answer a number with a flow:

  1. Publish the voice flow.
  2. In Settings → PBX → IVR → Voice flows, add a number and choose the flow. Inbound routes and IVR menu options can then send calls to that number.
  3. Save the plan. The Server pins the flow's latest published version, with the workspace time zone and business hours; later draft edits never reach calls, and a newly published version takes effect after you save the plan again and deploy. Saving checks that every transfer reaches an enabled PBX number and that menus, voice flows and queue overflows do not form a routing loop.
  4. Deploy. You are asked for the folder holding every prompt the plan uses (IVR menus and voice flows).

Safety limits: a call ends safely after 200 steps (a menu that loops forever), if a transfer fails, or when the caller hangs up; a missing prompt plays a short tone instead of silence. Recent calls in the designer shows how calls through the flow ended for 30 days, with caller numbers shortened to the last four digits and keypad entries of three or more digits masked.

Signature-verified PBX outcomes

In Settings → Signature-verified PBX outcomes, an administrator with users.manage and channels.manage reviews and enables one independently obtained Ed25519 public SPKI PEM key. Keep its private key only in your customer-owned PBX or authorized PBX adapter; never paste it into WonderCX. This is an optional signed-report contract, not a bundled Asterisk/FreeSWITCH/other vendor adapter, conference control implementation or live PBX certification. It shares the configured Electron Server Connection listener; no separate WonderCX service is required. Use validated HTTPS outside numeric loopback. Standalone mode does not open a listener.

The SIP softphone records the real primary INVITE's Call-ID on its Server-owned Voice interaction. Inbound binding occurs after native interaction creation; outbound binding occurs when SIP.js creates the primary session. Consultation sessions never overwrite primary binding. A binding failure is explicit but does not interrupt the telephone call. A Call-ID is agent-reported correlation, not independent evidence of a call outcome; it is immutable, unique across retained calls and removed by live-content erasure.

An authorized customer PBX adapter sends POST /pbx/v1/outcomes, Content-Type: application/json, with compact UTF-8 JSON.stringify-equivalent JSON without duplicate keys, extra whitespace or a trailing newline. The exact body contains eventId (UUID), callId (the primary SIP Call-ID, 1–200 supported ASCII token characters), sequence (positive safe integer, strictly increasing per call), kind, and canonical UTC occurredAtUtc (for example 2026-10-11T10:30:00.000Z). Supported kinds: answered, ended, transfer-completed, transfer-failed, conference-started, conference-ended. Only transfer-completed additionally requires targetUserId, the exact WonderCX user UUID mapped and verified by your PBX administrator. No customer identity, audio, disposition, queue name, arbitrary user fields or private RPC operations are accepted.

Send exactly one X-WonderCX-Timestamp header containing ten-digit Unix seconds and one X-WonderCX-Signature header containing an unpadded base64url Ed25519 signature (86 characters). Sign the concatenation of UTF-8 wondercx.pbx.v1.<timestamp>. and the untouched exact request body bytes. The signature timestamp must be within five minutes of Server time, and outcome occurrence must be within five minutes of the signature time. Your adapter must deliver in sequence, keep a durable event ID/content outbox, and retry the same ID and exact outcome body after transport uncertainty; re-sign with a fresh timestamp only while occurrence still satisfies the window. Late/offline reports beyond the window are explicitly unsupported; do not falsify occurrence times to bypass it. The private signing key is not a WonderCX bearer/API/OAuth credential. A valid signature proves possession of the configured key, not telephone event truth.

The Server verifies before lookup/mutation, rechecks policy after body intake, requires an existing exact binding and commits original signed evidence plus receipt/audit before 200 acknowledgment. Successful responses contain interactionId and duplicate; matching event ID/body replays do not append another event, while changed content or stale sequence rejects. Unknown/unbound calls return a retryable conflict; bind first, then retry within the signature/occurrence window. Evidence and public verification keys persist only on the Server and in its protected operational backups, never on Clients. No customer/provider secret is collected.

In the scoped Voice interaction, Signature-verified PBX outcomes displays accepted reports separately from Agent-observed SIP events. Nothing is automatically reassigned, completed or dispositioned. Review only the latest unapplied current-policy ended or transfer-completed report for an unheld active interaction. Exact event ID plus acknowledgment confirms a five-minute actor/session/version-bound review. End moves to Wrap-up, preserving manual disposition/completion. Transfer requires a supervisor/administrator and a currently active, authorized queue/team/skill-eligible signed target; it changes ownership only, not queue or disposition. Scope, target eligibility, policy, latest report and version are rechecked immediately before atomic persistence. New reports, policy/security changes, conflicting mutations and expired/other-session reviews reject.

Bounds: four KB/report, sixty requests/minute/source, 10,000 simultaneous source buckets, 200 reports/call, 5,000 retained receipts and 1,000 transient reviews, with explicit capacity failures and no silent eviction. Restart preserves signed evidence/receipts and loses native reviews. Restore verifies retained signatures/linkages before replacement, disables the policy and invalidates reviews; old-policy evidence cannot be reconciled after re-enabling without a new current-policy report. Erasure removes Call-ID and signed evidence but retains event UUID/digest/interaction-ID receipts for deduplication. Historical signature checks use the original public key, not a newly rotated key; authenticity is relative to the administratively trusted signer, not independent custody. Provider adapter deployment, key custody, clock synchronization, actual transfers/conferences/NAT/WSS, recording consent and live certification remain customer-owned.

User-authorized OAuth on the Electron Server

In Settings → Electron Server user OAuth, administrators with users.manage and channels.manage review an exact reachable Server origin and explicitly enable the policy. The origin must match the customer-owned listener/proxy and TLS setup; HTTPS is mandatory outside loopback. It is not derived from untrusted incoming Host headers. Register approved public applications with an immutable client ID and only queues:read and/or interactions:read. Each registration requires review; IDs are public, not proof of application authenticity, and no client secret is created. The policy defaults disabled and shares the existing Connection listener. Standalone Server mode does not create a listener. No external identity provider or separate WonderCX service is required.

This implements RFC 8628 device authorization and authorization-code with mandatory S256 PKCE, not OpenID Connect, federated SSO or password grants. Discover the configured issuer and endpoints at GET /.well-known/oauth-authorization-server. Request a device code using form-encoded POST /oauth/device_authorization with exactly client_id=<registered UUID>&scope=queues:read%20interactions:read (select only required registered scopes). The response contains a random device_code, displayed user_code, verification_uri, expires_in=600 and interval=5. Treat the device code as secret. Do not put it in URLs, logs or browser code.

For authorization-code clients, register up to five exact return URLs, one per line. Each must be canonical HTTPS or numeric-loopback HTTP (127.0.0.1 or [::1]), without queries, fragments, credentials, wildcard hosts or path normalization. Ports and paths must match exactly; dynamic loopback ports are not supported. Blank redirects preserve device-only access. Redirect edits invalidate all live authorizations, including connected Clients.

Generate a cryptographically random 43–128-character unreserved PKCE verifier and a fresh unpredictable 16–256-character printable state. Retain both only in the requesting application's pending transaction. Navigate to /oauth/authorize with exactly client_id, response_type=code, redirect_uri, scope, state, code_challenge_method=S256 and code_challenge=BASE64URL(SHA256(verifier)) (without padding). The Server validates registration before producing any redirect. A static, no-script, no-referrer waiting page displays the native consent code. Review/approve in Electron Account security, including the exact return destination; then click Continue on the waiting browser. No browser is automatically opened by Electron and no password or consent is accepted on that page.

The callback contains code, unchanged state and iss. Before exchanging, verify state against the pending transaction and iss against the configured issuer; never accept unexpected callbacks. Codes expire after sixty seconds and are single-use. Exchange using form-encoded POST /oauth/token with exactly client_id, grant_type=authorization_code, code, redirect_uri and code_verifier. The redirect must exactly match the authorization request. Wrong client/redirect/verifier cannot obtain a token or revoke another grant. Replaying a correctly bound code revokes its previously issued grant; replay tombstones remain until that grant expires. No refresh, implicit grant, token-in-URL response, client secret, browser CORS or automatic exchange retry is available. Codes/handles/verifiers/state/tokens must not be logged by the requesting application; the Server retains only transient state and code/token hashes, never backup copies.

The verification page at /oauth/device gives native instructions; it never accepts credentials or approval in a browser. The user opens WCX Server or WCX Client, signs in with their existing Server account and MFA when enabled, then goes to Account security → User OAuth access. Enter the exact displayed XXXXX-XXXXX code, review the registered application name and ID, exact Server issuer and scopes. Approval requires typing the same code and acknowledging the sensitive read exposure; denial requires the exact code. Approve only a connection you initiated. The code is not evidence that the requesting application is genuine. Never provide a password, MFA code or recovery code to the third-party application.

Poll form-encoded POST /oauth/token with exactly client_id, device_code and grant_type=urn:ietf:params:oauth:grant-type:device_code. Respect the initial five-second interval. authorization_pending means no approval yet; slow_down requires increasing the interval by five seconds for subsequent polls. Stop on access_denied or expired_token. Approved codes are consumed once. A lost token response cannot be recovered by replaying the code; request fresh consent instead. Tokens use token_type=Bearer, a wcu_ namespace, expires_in=900 and the exact approved scope; there is no refresh token or automatic renewal.

Use that token in the Authorization header for the existing /integrations/v1/queues, /integrations/v1/interactions and /integrations/v1/interactions/CX-N reads (and the static OpenAPI contract). It is not a private RPC login or a dedicated wcx_ key and cannot authorize intake POST, customer sends, transcripts/media/notes or administration. Current active account/password-change state, account security/role/team/permission/queue scopes, client revision, issuer policy and requested grants are rechecked at consent, exchange and every read. Held/erased or hidden interactions remain excluded. Interaction metadata includes customer identities: organizational/provider privacy rules still apply, and already-read receiver data cannot be recalled.

In Account security → Your issued access grants, refresh after the application exchanges its code, review a grant and type its exact ID to revoke future requests. Only the approving user can revoke their own grants; administrators can disable/edit a registration or issuer policy to invalidate access. Saving either clears current codes/reviews/grants, including other registrations on that Server. Account changes invalidate affected tokens. There is no automatic approval. In-memory limits are 1,000 pending devices, 1,000 reviews and 1,000 active grants; durable registrations cap at 100 without eviction. HTTP forms cap at 4 KB and 60 requests/minute per socket-observed source. Browser Origin requests, unsupported/duplicate fields, arbitrary parameters, client secret authentication and other grant types reject.

Device secrets, authorization request/code hashes, consent reviews and access-token hashes exist only in Server memory; plaintext access tokens are returned once to the requesting third-party application, never to the WonderCX Client renderer or portable backups. Audit contains client/grant IDs/scopes and socket-observed request sources, not passwords/codes/verifiers/state/tokens; approval/code issuance/token issuance/revocation only succeed after atomic audit persistence. Restart loses all grants and requires new consent. Restore disables issuer policy and every client registration and clears live grants; explicitly review/re-enable afterward. These safeguards do not defeat direct filesystem/clock rollback or certify a third-party OAuth client. Live integration/native-keystore/TLS certification remains customer-owned.

Dedicated Server integration API

In Settings → Dedicated integration API, review network exposure and explicitly enable the policy. It shares the existing Electron Server listener configured under Connection; standalone mode does not create a listener. LAN requires the existing validated TLS configuration. The Server must remain running and awake. No tunnel, cloud component, extra service or browser/CORS access is created. If using a customer-controlled reverse proxy, expose only /integrations/v1/; never expose private /rpc credentials or endpoints.

Issue a credential for an active dedicated non-administrator account that has completed its first password change. Select only required grants: queues:read, interactions:read, interactions:create, tickets:create; underlying current role/permission and queue/team scopes still apply. Review the exact account, grants and 1–90 day expiry. The token is displayed once in renderer memory and must be copied manually into the approved integration vault. Only its SHA-256 hash/security binding persists on the Server, never the plaintext token or a Client business/credential file. Configuration metadata and portable backups omit the raw token. Type the exact key ID to revoke. Password/security changes, account deactivation and expiry block future requests; restore disables the policy and all restored keys. Enabling policy does not reenable restored keys.

Trusted server-to-server requests use the dedicated token in the Authorization header (Bearer scheme), never in URLs/browser code. Supported endpoints:

Method Endpoint Contract
GET /integrations/v1/openapi.json Static OpenAPI 3.1 contract; enabled policy and any active dedicated key required
GET /integrations/v1/queues Current scoped queue names/channels
GET /integrations/v1/interactions?limit=50&cursor=CX-N Ascending creation-time/ID pagination, limit 1–100; use returned nextCursor, omit cursor initially
GET /integrations/v1/interactions/CX-N One currently visible non-held/non-erased interaction
POST /integrations/v1/interactions JSON customer (1–200 characters), queue (1–80), channel (Chat or Social) only; requires Idempotency-Key UUID
POST /integrations/v1/tickets Opens a ticket (for example from a website form). JSON typeId, subject, requester (name, email and/or phone), optional description (kept as an internal note), queue, priority, tags, fields; requires Idempotency-Key UUID and the tickets:create grant on an account with tickets.manage. Returns 201 with the ticket ID, number and replay status. Tickets are tagged api and run the normal triggers, targets and assignment; user OAuth tokens cannot use it (403)

Reads return ID, customer, channel, queue, status, lifecycle timestamps and version, not transcripts, attachments, notes, dispositions, agent identifiers or provider details. Treat returned customer metadata as sensitive. If a cursor becomes hidden/held/erased, restart pagination explicitly. Intake returns only ID/creation timestamp/replay status; it does not send a customer message or expose a routed conversation. Reuse the same key, UUID and exact content after an uncertain request: the receipt and intake persist atomically and return the original ID. Changed content rejects. Receipts survive restart; restore invalidates old credentials. New credentials have a separate idempotency namespace, so reconcile uncertain intake before rotating credentials. There are no automatic client retries or exactly-once claims across unmanaged file rollback.

Retrieve the machine-readable contract from the same Server origin using a dedicated bearer key or separately consented user read token. It documents exact request/response schemas, current endpoints, error statuses, pagination, intake idempotency and the separate manually reviewed outbound webhook receiver contract. It contains no workspace records, active configuration, keys or provider destinations and creates no business mutation. It is authenticated under the presented credential's own policy, rate bounded and no-store; browser origins, query parameters and unsupported methods reject. Relative server URLs target the requesting Server, never a WonderCX cloud. x-wondercx-required-grant identifies required read/intake grants; dedicated keys are not advertised as OAuth credentials. Only dedicated keys allow intake. The webhook receiver uses its own configured token, not an integration key. User token metadata describes the implemented device/authorization-code PKCE flows; SSO federation, generic CRM writes and an embedded CRM widget are not implied by this OpenAPI document.

Limits are 60 calls/minute per key/socket source, a shared pre-authentication listener guard, 16 KB intake and 128 KB responses. Requests from browsers, unsupported fields/methods and noncanonical paths reject. Registration is capped at 100 keys. Integration receipts are retained without a record-count ceiling or silent eviction, preserving original-key replay protection within the 64 MB workspace limit. Intake fails explicitly if that shared content limit is exceeded; this is not an unbounded ingestion service. No key deletion/reset bypass or receipt eviction is exposed. License recovery restricts creation while preserving permitted reads/security operations. Customer-owned proxy/TLS/live-integration certification remains required.

Reviewed outbound webhooks

In Settings → Reviewed outbound webhooks, configure one exact canonical public HTTPS endpoint after adding its hostname to the Flow API destination allowlist. Query strings, credentials in URLs, alternate ports, IP literals and normalized/encoded traversal paths reject. Review the destination and metadata exposure before saving. The policy defaults disabled; enabling requires a bearer credential. The credential is OS-encrypted in webhook-token.enc on the Server, outside portable backups. Authorized Clients forward saves and retain entered tokens only transiently, never in a local credential or business file. Blank replacement retains the existing token; removing it requires disabling the policy.

Transmission is manual, not a background subscription or automatic interaction trigger. Enter an exact interaction ID and review the endpoint and five disclosed metadata fields: interaction ID, channel, queue, status and version. The request wraps these as {"eventId":"<stable UUID>","event":"wondercx.interaction.snapshot","data":{...}}; the UUID also appears in Idempotency-Key. Customer identity, messages, media, notes, disposition and provider fields are excluded. Queue names can still be sensitive. Five-minute single-use reviews bind actor/session, interaction version and policy revision. Current permissions, queue scope, session, license, hold/erasure state, endpoint allowlist and Server credential are checked again after DNS before dispatch.

Every request also includes X-WonderCX-Timestamp (UTC Unix seconds for that dispatch) and X-WonderCX-Signature (v1= followed by lowercase HMAC-SHA256 hex). Compute the HMAC with the exact receiver bearer token as the key over UTF-8 wondercx.webhook.v1.<timestamp>. immediately followed by the untouched raw request body bytes. Verify the bearer credential and signature before parsing or processing. Reject duplicate/combined headers, malformed signatures and timestamps more than 300 seconds in either direction; use constant-time digest comparison and keep both clocks synchronized. Do not reserialize JSON before verification. The exported verifyWebhookSignature helper in electron/outbound-webhook.ts applies those signature/freshness rules; a false result must reject the receiver request. Receiver HTTP handling must additionally reject duplicate headers, authenticate the bearer credential and deduplicate event IDs. Retries preserve event ID/body but generate dispatch-time signature headers. Timestamp freshness limits old signed-request replay but cannot replace durable event-ID deduplication.

This is symmetric shared-secret request authentication, not a publisher signature, nonrepudiation or independently trusted audit evidence. Anyone with the receiver token can generate the same signatures; protect/rotate that token under the receiver's policy and reconcile unresolved events before rotation.

The Server atomically persists preparation before DNS and dispatch/attempt count before POST. Public-address validation and pinned normal TLS use the existing bounded HTTPS transport with an absolute five-second DNS/request deadline, 16 KB response limit and no redirects or automatic retries. A complete 2xx response records HTTP acceptance, not downstream business success. Any post-dispatch non-2xx, redirect, disconnect, deadline or malformed/oversized response is conservatively uncertain. Raw provider response/error text is not retained. Acceptance remains recorded after operator revocation; a persistence failure leaves unresolved state for restart recovery, never another automatic POST. Shutdown drains accepted operations and restore refuses while a send is in flight.

Inspect the receiver before retrying an uncertain delivery. Review same-ID retry requires the original operator, unchanged destination/policy, current access and exact event-ID typing; it transmits the original frozen payload with the same UUID, even if the current interaction metadata changed. The receiver must deduplicate this ID; WonderCX does not claim exactly-once processing. At most five dispatch attempts are allowed per event. Retained delivery history is paged without a record-count ceiling or silent eviction, within the shared 64 MB workspace limit. Closing failed/uncertain local recovery requires exact-ID confirmation and cannot undo receiver processing. Unresolved jobs block content erasure; completed content erasure removes linked terminal delivery metadata. Restart marks interrupted sends uncertain and undispatched preparation failed. Restore disables policy, invalidates reviews and removes the Server token; old jobs cannot be implicitly reactivated.

This is a reviewed metadata webhook, not a generic CRM write API, automatic subscription, browser embed or provider certification. It needs only the running Electron Server and an approved customer-owned receiver; no separate WonderCX service is introduced.

Chat, Social and Voice attachment retention

In Settings → Remaining-channel attachment retention, an administrator with users.manage and channels.manage can review whole-day limits for Chat, Social and Voice. Each defaults to 0 (disabled); 1–3650 days counts from the conversation's recorded closure time. Changing a limit clears the acknowledgment. Saving a shorter policy applies to existing eligible content on the next hourly sweep, not just new intake. Client settings requests forward to the Server and do not persist an operational file. Email mailbox and SMS/WhatsApp retention settings remain separate and unchanged.

The existing Server maintenance worker clears saved attachment bytes only for closed, old-enough conversations with no content hold or unresolved delivery. It retains filename, media type, size and an expiry marker; scope-checked downloads refuse expired attachments. Open, recent and held records remain untouched; reviewed hold release makes the next sweep reconsider the record. This policy does not create a Voice recording/Social provider connector, remove transcripts, or delete provider copies and historical backup files. The Server must be running and awake.

Policy writes and expiry batches are atomic on the authoritative workspace: persistence failure rolls back in-memory changes, surfaces a maintenance error and does not suppress a later retry. Startup and backup validation reject malformed policies and expired markers with nonempty bytes. Application-managed restore cannot undo existing attachment expiry or drop its markers; use a current backup preserving expiry markers or completed content erasure. Restored Chat/Social/Voice policies reset to disabled for explicit review. Direct filesystem/clock rollback and unmanaged backups remain outside these safeguards.

Data location

Standalone/host operational data lives in the Server's PostgreSQL database (a local cluster in the Server's user-data folder unless an existing PostgreSQL server was connected). The user-data folder also holds OS-encrypted credential and audit-key files. Connected clients use the host's store and keep only their own connection/preferences locally:

OS Server path Client path
Windows %APPDATA%\WCX Server %APPDATA%\WCX Client
macOS ~/Library/Application Support/WCX Server ~/Library/Application Support/WCX Client
Linux ${XDG_CONFIG_HOME:-~/.config}/WCX Server ${XDG_CONFIG_HOME:-~/.config}/WCX Client

These profiles do not automatically reuse the legacy WonderCX directory. Migrate using protected backup/restore as described in INSTALL.md; never copy a Server workspace into a Client profile.

Back up with Settings → Backup/restore or by copying this folder while the app is closed. To reset, close the app and delete the folder. Uninstalling does not remove it.

Host and client setup

This procedure applies to Windows, macOS and desktop Linux (Ubuntu/Debian and maintained RHEL/CentOS-compatible distributions). Use the OS-specific installation steps first. LAN access is disabled initially; installing Server alone does not open a shared listener.

1. Plan the Server address and install the roles

Choose a Server computer that can remain running and awake. Have IT assign a stable LAN IP or DNS name and reserve a TCP port (default 8787). The examples below use 192.168.1.20, wcx-server.example.internal and port 8787; replace them with your actual values.

Install WCX Server Setup there and WCX Client Setup on each agent computer. Native Mac DMG/PKG, Windows NSIS EXE and Linux DEB/RPM formats configure the same roles. Installed applications do not ask you to choose Client or Server.

Launch WCX Server, create the first administrator and sign in locally. Configure the intended users, teams and queues using the application's administration/settings pages. Client users must already exist on this Server; Client cannot create the first administrator. For an existing WonderCX workspace, complete the backup/restore migration before enabling LAN access.

2. Obtain and protect the TLS certificate

Preferred: ask IT for a PEM Server certificate and its matching PEM private key, with the actual Server DNS name/IP in the certificate's Subject Alternative Name (SAN). For a CA-issued certificate, have IT prepare the appropriate PEM chain (Server leaf certificate first, followed by intermediates). Do not use a code-signing certificate, PKG signing certificate, SIP password or installer checksum as the Server TLS certificate/fingerprint.

Built-in self-signed alternative: for a controlled LAN where IT approves fingerprint pinning, sign in locally as an administrator, open Application connection, select Host and client, and click Generate and use self-signed certificate. No OpenSSL installation is needed on Windows, macOS or Linux. WCX generates a SHA-256/RSA-2048 Server certificate valid for one year, covering localhost, this computer's hostname and currently assigned IPv4/IPv6 addresses. It fills both PEM paths and displays the new SHA-256 fingerprint and expiry. Click Save connection, then Restart application to activate it; generation alone does not change saved settings or the running listener.

The certificate and unencrypted private key remain in a fresh host-tls-* directory inside this Server installation's user-data directory. On macOS/Linux the directory is owner-only (0700) and both files are owner-readable/writable (0600); on Windows protect the user-data directory with the Server account's filesystem ACLs. Only paths and public certificate metadata are returned to the UI, never the private key. Local generation also works before Server startup or sign-in; it does not start the runtime, save connection settings or enable hosting. Saving host settings still requires a signed-in local administrator. Generation is unavailable to Clients or remote RPC. Existing certificate files are never overwritten, including when generating a replacement. Protect retained files/recovery copies under your organization's policy; do not move or delete configured files.

Manual alternative: use this if you need a specific DNS alias/SAN or a certificate managed outside WCX. OpenSSL 1.1.1+ supports the following single-line command in PowerShell, macOS Terminal and Linux shells. On Windows, IT must provide OpenSSL separately; it is not bundled with WCX or required on agent computers.

openssl req -x509 -newkey rsa:3072 -sha256 -nodes -days 365 -keyout wondercx-host-key.pem -out wondercx-host-cert.pem -subj "/CN=wcx-server.example.internal" -addext "subjectAltName=DNS:wcx-server.example.internal,IP:192.168.1.20"

Run this in a private, persistent directory accessible to the Server's OS user, not a public download/shared folder or source repository. The two output files are:

File Purpose Where it belongs
wondercx-host-cert.pem Public TLS certificate; fingerprint is derived from it Server; its fingerprint may be shared with Clients
wondercx-host-key.pem Private key proving Server identity Server only; never send it to Clients

The example generates an unencrypted private key because WCX's TLS configuration has no key-passphrase field. Protect it using filesystem permissions. On macOS/Linux, from the certificate directory:

chmod 700 .
chmod 600 wondercx-host-key.pem wondercx-host-cert.pem

On Windows, use the directory/file Properties -> Security controls to limit access to the Server's OS account and necessary administrators; remove broad user access according to IT policy. Store recovery copies under the organization's protected backup policy. Certificate/key paths are local file references, not files imported into the application; do not move or delete them after configuration.

3. Enable LAN hosting on WCX Server

While signed in as the local administrator:

  1. Open Application connection from the workspace header.
  2. Under Server access, select Host and client - serve other Electron clients and work here.
  3. Under Listen on, select LAN - all IPv4 interfaces (TLS required) (0.0.0.0). Use the IPv6 all-interface option (::) only if your network is configured for IPv6. 127.0.0.1 and ::1 restrict access to this computer.
  4. Set Host port, for example 8787.
  5. Click Generate and use self-signed certificate to fill both PEM paths, or use Choose next to TLS certificate (PEM) and TLS private key (PEM) to select the certificate/key obtained from IT or OpenSSL.
  6. Click Save connection, then Restart application. Save checks certificate dates and the certificate/key match; resolve any error before continuing.
  7. After restart, sign in locally and reopen Application connection. Confirm Host listening at is displayed without a listener error.

Webhook and website chat listeners (the same screen, standalone or host) sets where the provider callback listener (port 8768), Twilio callbacks and website chat listen. The default, 127.0.0.1, needs an HTTPS reverse proxy or tunnel on this computer. Choose 0.0.0.0 (or ::) when the proxy runs on another machine: the listeners then serve HTTPS with the TLS certificate/key above, and save refuses the change without a valid pair. Point the proxy at https://<server-LAN-address>:<port> and trust that certificate there. Expose only the callback/chat paths; firewall these ports to the proxy, and never publish the private RPC port. Restart to apply.

A listening URL such as https://0.0.0.0:8787 is a bind address, not the address to give Clients. Their URL must be the actual reachable LAN address, for example https://192.168.1.20:8787 or https://wcx-server.example.internal:8787. Use just the origin: no /rpc, credentials, query or fragment.

4. Retrieve and share the certificate fingerprint

From the app (all OSes, no extra tools): on the running WCX Server's Application connection screen, below Host listening at, copy the value labelled Certificate SHA-256 fingerprint. It appears when a TLS listener is running; it will not appear for a new standalone Server or an HTTP-only loopback listener.

From the certificate file: on the Server, run this single-line command in PowerShell or a macOS/Linux shell with OpenSSL available:

openssl x509 -in wondercx-host-cert.pem -noout -fingerprint -sha256

For a certificate in another directory, quote its full path after -in. The output contains a label such as sha256 Fingerprint= followed by 32 colon-separated hexadecimal byte pairs. Copy only the value after =. WCX accepts uppercase/lowercase and removes colons; the normalized fingerprint has exactly 64 hexadecimal characters.

The file-derived value should match the fingerprint displayed by the running Server. If it does not, the Server may be serving a different certificate or may not have been restarted after replacement. Resolve this before connecting Clients.

Send the Server URL and fingerprint through an independently trusted channel, such as your approved IT handoff or a verified direct conversation. The fingerprint is public, not a password, but its authenticity is crucial. Do not learn it only from an unverified network connection or accept an unexpected replacement fingerprint. Never share the private key.

With a fingerprint set, Client pins the exact Server certificate and checks its validity dates before sending HTTP requests or login credentials. With the field blank, normal Node TLS certificate-chain and hostname verification must succeed. A self-signed Server needs explicit fingerprint pinning unless IT has configured a trust chain that the Client's Node TLS transport actually trusts; adding a certificate to an OS/browser trust store alone is not guaranteed to do that.

5. Permit access through the Server firewall

Have IT allow inbound TCP 8787 (or your chosen port) on the Server only from approved agent IPs/subnets. Agent computers need outbound connectivity to that same address/port. Installing WCX does not automatically create firewall exceptions or router port forwarding.

Server OS Firewall configuration
Windows Windows Defender Firewall with Advanced Security -> Inbound Rules: allow the selected TCP port only on the appropriate private/domain profile; restrict Remote IP scope to approved agents
macOS System Settings -> Network -> Firewall -> Options: permit incoming connections for WCX Server; use your organization's network firewall for source/port restrictions where the app-level firewall cannot express them
Ubuntu/Debian If UFW is active, add a source-scoped TCP rule, e.g. sudo ufw allow from 192.168.1.0/24 to any port 8787 proto tcp
RHEL/Rocky/Alma/CentOS-compatible If firewalld is active, have IT add a source-scoped TCP allowance in the actual LAN interface's active zone; apply it to both runtime and permanent configuration

The subnet in the UFW example is illustrative, not a recommendation to authorize every device on a /24. Do not disable firewalls, SELinux or TLS to make the connection work. Do not expose private WCX RPC directly to the internet.

Optional network check from an agent computer (tests TCP reachability, not certificate trust or sign-in):

Test-NetConnection -ComputerName 192.168.1.20 -Port 8787

On macOS/Linux where nc is available:

nc -vz 192.168.1.20 8787

6. Connect and sign in on WCX Client

  1. Launch WCX Client. Its first connection screen is Connect WCX Client, not a role chooser.
  2. Enter the verified URL in Server address, such as https://192.168.1.20:8787.
  3. For self-signed TLS, paste the trusted value into Certificate SHA-256 fingerprint. Do not include the OpenSSL label or =. Leave it blank only when normal certificate-chain/hostname verification succeeds.
  4. Click Connect and continue. Client verifies Server reachability and TLS before saving the endpoint and opening login. A failed connection remains on the connection screen; no local workspace is created.
  5. Sign in with an account provisioned on Server. Complete any mandatory password change and MFA challenge.
  6. Confirm the expected workspace/queues appear. Perform an authorized, non-destructive check, such as opening a queue or viewing a known interaction. Set OS microphone permission and use the in-app audio/device test if SIP calling is needed.

On later launches, Client automatically tries the saved endpoint, then displays login. To change it, open Application connection, edit Electron host URL and Host certificate SHA-256 fingerprint, then Save connection and Restart application. If startup cannot connect, edit the address/fingerprint on the connection screen and retry Connect and continue. A Client cannot switch its role to Server.

7. Certificate renewal and daily operation

Before certificate expiry, arrange a maintenance window, notify agents, and keep a protected recovery copy of the existing certificate/key and settings. Use Generate and use self-signed certificate again, or obtain a replacement certificate and matching key and select them on Server, then save and restart. Retrieve the new fingerprint from the running listener and cross-check it against the replacement file. Regenerate if you need SAN coverage for a changed hostname or IP; use a manually managed certificate for additional DNS aliases.

If Clients use pinning, every certificate replacement changes the fingerprint, even when the private key or hostname stays the same. Verify the planned change through the trusted IT channel and update every Client's fingerprint; never clear a pin merely to bypass a mismatch. CA-trusting Clients need no pin update, but the replacement chain, hostname and validity must still verify. Existing sessions do not survive the Server restart; reconnect and sign in again.

Keep Server running and awake. Closing its window in host mode keeps it in the tray; Quit WCX Server (disconnect hosted clients) stops it. After an OS reboot, an operator must launch WCX Server unless IT separately configures an approved login/startup mechanism; the installer does not create an always-on service. Email, routing, callbacks, flows, QA, reports, Twilio/web-chat listeners and provider secrets execute on Server; SIP audio executes on each agent computer. No separate WonderCX cloud or Node service is required.

Connection troubleshooting

Symptom Check / recovery
No fingerprint on Server Confirm host access is selected, a certificate/key is configured, restart has completed, and Host listening at is shown; inspect the listener error
Connection refused / timeout Confirm Server is running/awake, port and bind address are correct, and firewalls permit the agent; 0.0.0.0 is not a Client destination
Certificate mismatch or expired Verify clocks, certificate expiry and the expected running Server fingerprint through IT; use the approved renewal procedure, not a trust bypass
Self-signed / unable to verify certificate / hostname error Use the independently verified fingerprint, or have IT correct the CA chain and SAN/Node trust configuration
Certificate/key file error Check both PEM paths, local OS-user read permission, certificate dates and key match; moved files require updated Server settings
Address already in use Identify the approved process occupying the port; choose an available port and update firewall rules and every Client URL
Login fails after connection succeeds Check the Server-created account, password-change requirement, lockout and MFA; this is different from a network/TLS failure
Client cannot host / create administrator Expected for WCX Client; install WCX Server separately on the workspace-owning computer

Completion means a running TLS Server listener, independently verified fingerprint (or valid CA trust), a successful Client login to the expected Server workspace, and an approved firewall rule. A TCP probe alone is not end-to-end verification or live PBX/provider certification.

Backups can be exported from an authorized client using its local save dialog. To restore, first switch Server access to standalone and restart, then wait for active operations and mailbox polling to finish. Restore invalidates all sessions; reconnect and reconfigure provider credentials afterward. Host and standalone share the existing local data format. Installed Clients cannot switch to standalone; install WCX Server separately if local hosting is needed. No automatic data merge occurs.

Recovery workload · full Server dataset in the same Host health view reports every retained email/messaging delivery, flow run and outbound webhook state, not only recent interaction lists. Outstanding ages start at delivery creation or the latest persisted flow/webhook change; completed/cancelled records are excluded. Failed/uncertain deliveries, failed/paused flows and prepared/failed/uncertain webhooks need explicit review in their named controls. Email, messaging and flows each cap outstanding work at 1,000; outbound webhooks cap all retained records at 500, including terminal history. This is a read-only metadata view and never retries or deletes work. Future outstanding timestamps produce a clock warning and zero-clamped ages.

Scripted Chat health reports collecting checkpoints, ten-minute idle-expiry eligibility and retained handoffs even when its policy is disabled. Callback health reports scheduled/overdue work, not proof a call occurred. The actual private listener state is shown separately from enabled machine API/user OAuth/PBX/webhook policies; enabled policy does not certify reachable endpoints or providers. A configured but unavailable listener reports an error, and enabled inbound policies without hosting report the missing listener. Current users.manage permission is required, including when a Client requests the Server's full-dataset aggregates; no customer identifiers or content are returned or saved on the Client.

First run

  1. Install the appropriate Server or Client setup. After the splash, the preconfigured role is used automatically; only development/source launches retain the role chooser.
  2. On a Client, enter the server address and trusted fingerprint when needed. Connection verification happens before login. Use an account created on that server; clients cannot create a first administrator or local workspace. If the server is unavailable, retry or change the endpoint; the application does not fall back to local data.
  3. On a new Server workspace, create the first administrator. An existing workspace goes to login instead. Sample data is optional and disabled by default (sample users use password Welcome12345 and must change it at first sign-in).
  4. Configure business hours, queues, skills and reason/disposition codes in Settings. Enable LAN hosting under Connection as a local administrator when required, then restart; Server resumes automatically.

Server OAuth client-credentials references

In Flows → Server API credential references, choose OAuth client credentials (HTTP Basic) for a saved flow. Allowlist both the resource API hostname and identity/token hostname in the flow API settings. Specify a canonical exact HTTPS token URL (no userinfo, IP literal, non-default port, query, fragment, dot-path normalization or encoded traversal), printable client ID/secret, optional space-separated scope and exact API hostname/path-subtree/flow grants. Review and acknowledge the displayed transmission policy before saving. OAuth acknowledgement is enforced on the Server, including Client-forwarded requests. Blank replacement secrets retain the current OAuth client secret; switching to a static bearer method requires a new bearer token and removes the OAuth configuration. Cancelling/editing/method switching clears transient secret inputs.

This is RFC 6749 machine-to-machine grant_type=client_credentials with client_secret_basic, not user login/authorization-code/PKCE, refresh-token grants or SSO. Both Basic components are individually form-encoded before base64 encoding. Providers must accept this contract and return JSON containing a printable Bearer access_token and numeric expires_in of 60–86400 seconds. An explicitly returned scope cannot exceed the reviewed requested scope. Blank requested scope delegates to provider defaults; review those defaults with your provider. No arbitrary extra token parameters or provider-compatibility claims are made.

The Server acquires a token only when an authorized flow/test needs it. Public DNS/normal TLS with the vetted address pinned precedes current account/session/license/flow/run/allowlist/grant checks and a metadata-only token-dispatch audit. Token requests have one five-second DNS/request deadline and a 16 KB response cap; no redirects, raw provider-error disclosure or automatic retries. Unexpected token shapes/scopes, credential rotation, session revocation or flow cancellation reject before use. Concurrent acquisition for the same reference returns an explicit busy error rather than borrowing another operator's pending authorization. Expired or interrupted flows require explicit retry/resume.

Client secrets persist only in api-credentials.enc, protected by the Server OS keystore and private atomic file writes. Acquired tokens stay only in Server memory and are reused after fresh access/grant checks, then reacquired on demand within 30 seconds of expiry. Cache entries are cleared by credential changes/restore and cannot survive Server restart. HTTP 401 from the resource API does not automatically refresh/replay a GET; inspect provider permissions before explicitly retrying. API GET and token-host allowlists are rechecked immediately before transmission and before applying resource values. Token acquisition is a separate metadata audit from resource GET; neither contains credentials or returned tokens. Provider result fields intentionally mapped into flow variables remain sensitive journal/backup data.

Restore validates the workspace and persistently disables credential grants; reconfigure/review after restore. The OS-encrypted credential registry is outside exported backups, and malformed registries are preserved with explicit errors. Clock/filesystem rollback and OS compromise are not prevented. Live provider/client registration/scope/native-keystore certification is still required.

AI deployment compliance

Keep each AI feature off until your privacy or legal owner has approved that specific use, jurisdiction and provider configuration. A WonderCX locale selects a language, not a legal jurisdiction. Determine the applicable rules from the actual deployment, including the locations of the organization, callers or customers, agents, and provider processing and storage. One interaction can involve more than one jurisdiction. Do not infer consent or location from a locale, language, phone number or provider region.

Use the countries represented by the shipped locales as the initial review list; add other jurisdictions wherever you operate or serve customers:

Country Shipped locales Review starting point
United States en-US Applicable federal and state privacy, call interception/recording and employee-monitoring rules; review each relevant state, not just the Server location.
India bn-IN, hi-IN, kn-IN, ml-IN, mr-IN, ta-IN, te-IN Digital Personal Data Protection Act and applicable rules, commencement dates, telecom and sector obligations.
France, Germany, Spain fr-FR, de-DE, es-ES GDPR and applicable EU AI Act requirements; separately review each country's call confidentiality, recording and employment rules.
Indonesia id-ID Personal Data Protection Law, related implementing requirements and call confidentiality rules.
Japan ja-JP Act on the Protection of Personal Information, cross-border disclosures and applicable communications rules.
Philippines tl-PH Data Privacy Act, Anti-Wiretapping Act and applicable sector rules.
Saudi Arabia ar-SA Personal Data Protection Law, transfer requirements and applicable communications rules.

This list identifies what to investigate; it does not determine legal basis or certify a deployment. Record an approval per feature (AI drafts and summaries, live STT, post-call STT, text translation, spoken translation, and generated prompts), covering:

  • People and purpose: document the lawful basis and permitted uses for customer and agent data. Approve accessible notices in the languages actually needed. Where affirmative consent, opt-out or an equivalent non-AI route is required, verify that it works before capture or provider transmission. An administrator's acknowledgement or a generic greeting is not a record of participant consent.
  • Provider and data flow: document what leaves the Server, processor terms and subprocessors, processing/storage locations, transfer safeguards, retention and deletion, and whether the provider can train on inputs. Check these for local servers too. A private endpoint is not proof of residency, isolation or zero retention.
  • Outputs and evidence: set retention and access for transcripts, translations, generated audio, audit data and backups. Test deletion across the workspace, exported copies and providers. Require human verification before relying on AI output for consequential decisions; consider whether synthetic speech requires disclosure. Record the approved configuration, owner and review date, and reassess when the provider, purpose, audience or law changes.

WonderCX does not resolve which law applies or verify that a caller consented. If lawful processing depends on a per-call decision that your deployment cannot enforce before processing starts, leave that AI feature off. Review the same requirements for any future feature that adds AI processing.

Optional human-reviewed AI drafts

AI assistance is disabled by default and requires your own OpenAI account, provider/data-policy approval and billing authorization. It is an optional third-party integration, not a required WonderCX cloud or separate service. In Settings → Optional human-reviewed AI assistance, an account with both users.manage and channels.manage can review and save the fixed endpoint https://api.openai.com/v1/chat/completions, model (gpt-4.1-mini or gpt-4.1), a workspace-wide 1–200 request quota per UTC day and provider token. Changing any field clears the acknowledgement. A blank token retains the current token; removal disables assistance. The Server writes ai-token.enc using OS encryption and private atomic file replacement; the token is not in the workspace JSON or exported backup. Authorized Clients forward configuration without keeping a credential/business file.

For an active/wrap-up interaction, use Conversation → Review AI reply / summary assistance. An operator needs both interaction read/manage permissions and current queue/team visibility; an Agent must be the assigned owner. Erased or held content is blocked. Select 1–5 existing customer/operator messages, at most 6,000 combined characters. Nothing is selected automatically; attachments, system messages, author/account/queue headers and customer identity fields are not added. Basic redaction replaces email addresses, number-like strings and credential-like text. It can miss names, sensitive facts or secrets and can over-redact ordinary numbers: inspect every displayed character and do not submit unsuitable excerpts.

The disclosure shows the exact endpoint, model, goal, fixed system instruction and prefixed/minimized message text. Acknowledgement authorizes only that five-minute actor/session/content/policy-bound review. After public-DNS validation and immediately before POST, the Server rechecks session, license, permissions, ownership, current content/policy and credential, then synchronously persists the request reservation. Failures, timeouts and ambiguous transport outcomes keep that reservation and never automatically retry/refund. Request size is bounded, responses are capped at 64 KB, provider POST processing has a 15-second deadline following the bounded five-second DNS lookup, redirects are rejected and TLS pins the vetted public address with normal hostname/certificate verification. A blocking OS operation is outside JavaScript timer guarantees. No flow GET behavior is changed.

Payload parameters are store: false, max_completion_tokens: 500 and temperature: 0.2; only two text messages are sent, with no tools/functions. store: false is not a guarantee of zero provider-side retention. Quotas/token caps are not a guaranteed billing price. Provider account/model permissions, terms, retention, legal basis and cost remain your responsibility. Malformed, truncated, tool/function/refusal or excessive output is rejected with a fixed safe error rather than showing raw provider error content.

Returned text is unverified advice and is neither saved nor sent automatically. Reply adoption explicitly appends editable text to the normal composer, preserves existing text, blocks over-limit insertion, and still requires the normal channel send action. No insertion is offered during an active send, customer-log mode or a selected provider template. Summaries remain transient text for review, not automatic notes. Content/scope/policy changes during processing discard the result; refreshed interaction versions prevent stale adoption. AI does not complete support actions, autonomously answer customers or make high-stakes decisions.

Audit records retain actor, interaction ID, model/goal, prompt SHA-256 and reservation/result status, not prompt/output text or provider tokens. Pending reviews keep only message references/digests, not duplicate transcript text. Quota metadata is validated on startup/restore; restoring disables AI, removes its credential and preserves higher current quota metadata. Reconfigure explicitly after restore. Direct filesystem/clock rollback, OS compromise, provider erasure and copies intentionally sent through the normal composer remain outside this bounded protection. Live-provider/native-keystore certification and autonomous bots remain pending.

Client installations remember connection preferences but do not persist contact-center data, provider credentials or session tokens. The renderer uses an uncached memory-only Electron session even before connection; theme and non-secret SIP preferences last only until the application exits. Older disk-backed browser profiles are not reused or automatically deleted. Explicitly saved downloads/exports are local files; OS swap/crash dumps remain outside this application-storage guarantee. WCX Client leaves old Server workspaces unopened and untouched. Installed roles cannot be changed.

Optional call transcription, translation and speech

Every speech feature is off by default and stays off after a backup restore. An account with both users.manage and channels.manage turns them on in Settings → AI assistance; spoken prompts are managed with channels.manage:

  • Call transcription (speech-to-text, STT): live transcription of built-in phone calls. Providers: OpenAI, OpenAI-compatible, Deepgram, Google Cloud Speech-to-Text, Azure AI Speech, or a Local server. In the Language dropdown, leave Auto-detect selected or choose a language supported by your provider and model.
  • Speech & translation: a translation provider (Google Cloud Translation, DeepL, Azure Translator, LibreTranslate, an OpenAI-compatible chat model, or a Local server) and a text-to-speech (TTS) provider (OpenAI, Google Cloud TTS, Azure AI Speech, ElevenLabs, OpenAI-compatible, or a Local server). Four separate switches:
    • Translate call transcripts shows each caller line in the agent's language, in live calls and recording transcripts. The target is the configured agent language, else each agent's own language.
    • Spoken translation speaks the caller's translated words to the agent and the agent's translated words to the caller (once the caller's language is detected). It needs live transcription. Injected speech is mixed over the call with the other side ducked; it is not recorded or transcribed again. Agents should use headsets, because speaker audio picked up by the microphone is transcribed again.
    • Transcribe call recordings transcribes (and, when translation is on, translates) recordings of calls that end after the switch was turned on, one at a time on the Server, at least 60 seconds after the call ends. Stereo recordings are labelled agent/customer by channel; campaign calls may have swapped labels.
    • Spoken prompts generates IVR, queue (queue-<number>.wav) and hold (moh.wav) prompts from text. When the phone system is deployed, a library prompt replaces the folder prompt with the same name; a folder is asked for only for prompts missing from the library.

Turning on any feature that sends call content requires the administrator to confirm that callers are told calls may be transcribed and translated and that text and audio may go to the chosen providers. API keys are stored encrypted on the Server; a saved key is refused when its provider, address or region changes until a new key is entered. Daily limits apply: STT minutes per day (shared by live calls and recordings) and characters per day (shared by translation and TTS). Erasing a customer also erases live and recording transcripts and the detected language.

For post-call transcription, the Server rechecks the recording's eligibility and settings before each provider request and before saving any result. Disabling the feature, changing the settings or placing the interaction on hold stops further requests from that job and discards its unfinished result. This does not recall data a provider already received.

Local engines (feasibility)

A Local server provider sends audio and text only to a loopback or private-network address, with no key required. WonderCX speaks the OpenAI-compatible API (/audio/transcriptions, /audio/speech, /chat/completions) and the LibreTranslate API, so these open-source engines work without code changes:

Need Engine License Notes
STT Speaches (faster-whisper) MIT OpenAI-compatible STT and TTS in one server. Systran/faster-whisper-small or distil-large-v3; real-time on a modern CPU for a few calls, GPU for more.
STT whisper.cpp server MIT Metal on Apple Silicon, CUDA on NVIDIA; good for a single Server Mac.
TTS Kokoro-82M (via Speaches or Kokoro-FastAPI) Apache-2.0 Natural voices, faster than real time on CPU; limited language set.
TTS Piper MIT (older releases); piper1-gpl is GPL-3 Very fast on CPU, many languages including several Indian languages.
Translation LibreTranslate with Argos models AGPL-3 server, MIT models Run it as a separate service; quality below cloud providers.
Translation Opus-MT / IndicTrans2 behind an OpenAI-compatible wrapper, or a local LLM (Ollama, vLLM) CC-BY / MIT / model licence IndicTrans2 suits Indian languages. NLLB-200 is CC-BY-NC and not usable commercially.

Limits: phone audio is 8 kHz, which lowers accuracy compared with wideband audio, so use at least a small Whisper model. CPU-only STT handles a handful of simultaneous calls; around 100 concurrent live calls needs one or more GPUs (or live transcription only on selected queues' volume). Latency for spoken translation is roughly speech-segment end + STT + translation + TTS, typically 1–3 seconds locally on a GPU. Recording transcription is batch work and suits CPU-only servers.

Host operations and flow recovery

Administration → Host requires users.manage. It shows server uptime, process memory, workspace/free-disk sizes, email/messaging job counts, connector errors and connected client sessions. Resource reads always execute on the selected Electron server, including when viewed from a client. Low disk space below 100 MB is highlighted. Worker-level errors remain visible until a successful delivery; unresolved individual failures remain in their outboxes.

Server capacity adds memory-only process measurements, sampled on a separate five-second timer. The last five minutes retain at most 60 RSS/heap/event-loop points and the newest 1,000 completed tracked Server operations. P50/P95/maximum latency uses nearest-rank percentiles and includes async provider/IO waits, but excludes Client network round trips, authentication/transport overhead and untracked background/listener work. Total completions, rejected operations and in-flight work refer to this Server process lifetime. No operation names, customer content, errors, identities or tokens enter metric history; only category-level sampling failures enter existing diagnostics.

Expand recent history for per-interval event-loop P95/maximum and observation counts. No observations display explicitly rather than as zero delay. Peak RSS is the largest sampled value, not an exact memory peak. Samples older than fifteen seconds trigger a stale warning even after five-minute history expires. Latency P95 above five seconds suggests inspecting provider waits/resources; it is not a certified SLA or maximum-user recommendation. Counters/history reset on Server restart and are absent from backups and Client files. The monitor stops after shutdown draining; Client/neutral startup creates neither sampler nor timer. Live workload, LAN/provider/PBX soak and failover certification remain separate.

Review an account and socket-observed address before revoking its session. This is a connection identifier, not verified hardware identity. Revocation disconnects that one session and blocks new/queued operations; already accepted work, including provider requests, can finish. Other sessions for that account stay connected. Use Sign out for the current or local host session.

The same panel shows category-only redacted server diagnostics. Records are saved in wondercx-diagnostics.json, bounded to 1,000 and retained for 14 days from last occurrence; consecutive identical events share a count. Fixed messages provide recovery guidance without storing customer content, raw exceptions, credentials, tokens, URLs or addresses. A malformed saved file is preserved rather than overwritten. Persistence errors are shown explicitly; delivery work is not retried merely because logging failed. This is an operational log, not a tamper-proof audit or raw-console capture.

Flows → Flow runs lists the latest 200 runs in the operator's permitted queues; managers can review other operators' runs within their own scope. Runtime execution pins the published version, persists progress before API work and commits one resulting interaction when complete. It does not send bot messages to external channels. A failed API lookup leaves a recoverable run, not a partially created interaction. Review the checkpoint trace and select Review and resume to continue the original snapshot; later flow edits do not change it. An unfinished GET may repeat, but completed steps and successful mapped values are not rerun. Current account permissions and API destination allowlists still apply.

Scripted website-chat automation

Settings → Scripted website-chat bot is a disabled-by-default local automation policy, not a cloud or AI service. Enable the existing website-chat listener first. In Flows, publish a Chat script containing messages, prompted collects, conditions, fixed queue handoffs and an end/queue final step. API steps, credential references, dynamic queue names and unprompted collect steps are prohibited. The configuration owner needs current users.manage, channels.manage, flows.manage, queues.manage, interactions.create and interactions.read permissions, plus scope over both the starting queue and every fixed target Chat queue.

Select the exact published version, review every displayed message/collected variable/condition/queue and acknowledge organizational privacy/human-availability authorization. Saving checks the reviewed version again and pins its exact published steps; later draft edits, publishing or deletion do not silently alter that snapshot. Saving any bot-policy change hands all active automated dialogues to normal agent handling. Current policy-owner account activity, password/security revision, permissions and queue scopes are rechecked at every turn and during routing. An expired enforced license or changed/disabled website-chat policy stops active automation.

New visitors see explicit script/not-person/not-AI disclosure and /human instructions before the first bot prompt. Each collect waits for one subsequent visitor message; condition comparisons are case-insensitive exact matches, not natural-language classification. /human is case-insensitive and always hands off. Attachments are retained through existing scoped chat intake but never interpreted by the bot; they trigger human handoff. Fixed queue/end steps hand off without assigning a disposition, completing the interaction or making external requests. Automatic routing skips collecting bot dialogues. Eligible human assignment, operator edits/transfers/closure and content holds stop automation immediately. Interactions displays current collecting/handoff status and the policy revision; answers remain ordinary sensitive transcript/workspace/backup content.

Limits are 250 collecting dialogues, 100 executed steps across all turns, 30 variables, 1,000 characters per collected answer, 2,000 characters per generated message and ten minutes of visitor inactivity. Oversized input/output or exhausted steps hand off rather than guessing or silently truncating bot variables. Capacity failure is explicit; stale/unauthorized dialogues are released before admitting new ones. Prompt/state/visitor request identity/transcript/handoff audit commit together before HTTP acknowledgment, with rollback on storage failure. Bot-turn request IDs retain up to 100 original normalized-content SHA-256 receipts independently of the ordinary recent-message cache; exact retries cannot advance twice, and changed text/files under the same ID reject explicitly. Server-generated attachment IDs are excluded from the digest, so genuine upload retries remain valid. Restart resumes the persisted prompt without re-emitting greetings; current eligibility/inactivity still apply. Restore disables automation, removes dialogue state and invalidates visitor tokens. Live-content erasure removes retained collected variables/receipts along with transcript content.

This is deterministic scripted automation on the running Electron Server, not an autonomous LLM/voice bot, arbitrary API/tool access, customer identity verification, legal-consent certification or a guarantee that a human is immediately available. Do not collect passwords or regulated information; establish organizational retention and consent policies. Closing/suspending the host or its public HTTPS proxy makes visitor chat unavailable. Clients configure and review through authenticated RPC without storing policy/customer dialogue files locally.

Server recovery-copy privacy

Administration → Host → Server recovery-copy privacy inventories the original wondercx-data.json after a successful migration, application-managed wondercx-data.json.pre-schema-1-<SHA256>.json snapshots and exact wondercx-data.json.<UUIDv4>.tmp interrupted legacy writes on the Server. The original JSON must match the migration source hash stored in the database; it is not an active second database. Client requests are forwarded without opening Client operational files. Administrative users.manage and audit.read permissions are both required. The panel exposes kind, filename/hash, size, modification time and held/non-erased interaction counts, not snapshot customer content. Pre-schema copies must match their original hash-named source; temporary-file hashes bind reviewed bytes but do not establish a trusted/complete recovery point. Supported workspace structure, regular single-link file identity and bounded stable reads must validate; malformed names/JSON, corrupt/changed files, links, more than 100 combined files or more than 128 MB aggregate fail explicitly rather than hiding files. Prepared files from an interrupted legacy migration block inventory with explicit preservation/manual-review guidance; they are never promoted or deleted by these JSON-copy controls.

Interrupted-write files are not automatically promoted, merged or deleted. A file created/changed during the current Server session is inventoried but cannot be retired, even if its filesystem modification time is reset; preserve it and restart the Server before reviewing it again. Current-session checks use modification/change times, not independent clock/OS-compromise protection. Prior-session valid temporary copies use the same exact-name, actor/session/hash-bound review, hold and durable-audit controls below. File identity/change time is rechecked after intent persistence to reject same-length edits with restored modification time.

Retirement is optional and never automatic. Obtain organizational authorization and retain an independently governed recovery strategy before using Review permanent copy retirement. Any live workspace content hold, held snapshot or pending schema adoption blocks retirement. A five-minute review binds the exact file identity, actor and authenticated session. Type the entire filename and acknowledge loss of rollback capability; editing the filename resets the acknowledgment. The Server rechecks current authorization, holds and file identity, durably records retirement intent, removes only the reviewed file, then persists completion audit. Intent failure leaves the copy untouched. If completion audit fails after removal, the error explicitly reports that the copy is already gone; refresh inventory and recover Server storage instead of assuming a retry can restore it. Restore invalidates outstanding reviews.

Retiring a snapshot leaves the active workspace, all other copies and credential files intact. It is not a full-person search, exported-backup/download/provider deletion, forensic secure erase, external-ledger reconciliation or protection against privileged OS filesystem interference/power loss. Hash matching identifies original bytes, not independent custody or customer identity. Copies that cannot validate remain untouched for controlled manual investigation.

Workspace schema upgrades

Historical JSON schema-0-to-1 snapshot/write/rename boundaries are historical; current upgrades import into PostgreSQL instead. Their interrupted wondercx-data.json.<UUID>.tmp files are never authoritative, merged or automatically deleted. Current application persistence uses PostgreSQL. Neither gate is power-loss or cross-version rollback certification.

Current operational files/backups declare schemaVersion: 1. Files without a version are recognized as the legacy format, not as arbitrary future formats. Server startup and restore share collection/identity validation and existing MFA, privacy, formatted-email, published-flow, flow-journal, outbox, consent and audit-metadata validation. Newer, non-integer, null or otherwise unsupported version markers fail explicitly; use a compatible release rather than deleting or editing the marker. The original bytes are not replaced. Invalid JSON, symlinked/empty files and files larger than 64 MB also fail closed.

A legacy unversioned Server workspace is validated entirely in memory first. Before adoption, the Server verifies existing audit integrity through the OS-held key, checks that the original source has not changed and synchronously preserves the exact source bytes in the same private directory as wondercx-data.json.pre-schema-1-<SHA256>.json. The copy uses exclusive creation/private permissions; an existing copy must match exactly. Snapshot failure blocks adoption. Upgrade metadata records source hash/time, and successful server audit initialization records version adoption. Migration then commits into PostgreSQL without replacing the original JSON. Clients never open, upgrade or snapshot their old local workspace. Administration → Host → Workspace schema reports the current version and legacy adoption time.

These pre-upgrade copies are sensitive plaintext operational backups and can contain old customer content, password hashes and encrypted MFA records. Protect them like ordinary backups; they are not silently erased with live-content privacy operations and must be included in your retention/deletion inventory. No automatic deletion/rollback is performed. They exclude separately stored provider/API/audit-key files. Older legacy backup imports receive supported-version metadata; restore still disables integrations/credential grants and pauses unresolved work. Unsupported backups reject before credential-disable hooks. Failed atomic database replacement restores the previous in-memory workspace as well as preserving the old disk file; separately disabled credentials may remain disabled for safety.

The current migration adopts the existing Electron format rather than converting PostgreSQL or inventing missing business data. Optional historical collections retain repository defaults. This is not a complete field-by-field PRD schema, anti-rollback mechanism, cross-version certification matrix or parent-directory-fsync/power-loss guarantee; future versions need explicit validators/migrations and packaged upgrade/restore drills.

PostgreSQL storage and migration

The Server stores the whole workspace in PostgreSQL, its only datastore. The Server installer provisions a local PostgreSQL 16 cluster under the Server's user-data folder (Windows: ProgramData\WonderCX\Database), listening on loopback only with SCRAM authentication; its generated password is kept in the OS-encrypted secret store, not in plain configuration. An Administrator can instead connect an existing PostgreSQL server (host, port, database, user and password; TLS is required for anything other than loopback). Clients never hold a database: they use the Server over authenticated RPC.

The Server keeps an in-memory working model and commits every change to PostgreSQL in order, through a single write connection, before reporting success. A failed commit reloads the affected data from PostgreSQL and reports the error instead of claiming success. Clean shutdown waits for pending writes before PostgreSQL stops. Schema changes use numbered migrations recorded in a schema_migrations table. Settings → Backup shows the database in use. Portable backups remain schema-versioned JSON, optionally password-encrypted; restore keeps the existing permission, content-hold, erasure and connector-disable rules. OIDC links are sensitive identity metadata included in authorized backups; review mappings after a restore. IdP tokens, PKCE verifiers and client secrets are never stored there. See organization sign-in for setup.

Interaction-list queue scope, Agent ownership/Waiting visibility, Open/Mine/Closed/outbox filters, literal case-insensitive search, total count and pages of up to 100 records are selected in SQL before applying the result window. Mine uses immutable user IDs, not display names. The compatibility recent list retains its newest 500 records plus every visible open or unresolved-delivery interaction. Selected histories are reconstructed inside the same revision-bound read transaction, not from cached interaction objects; attachment bodies are never selected for list views. Pending writes are flushed first, and stale/replaced databases fail explicitly. Previous/Next controls retrieve historical work beyond the old window.

Contacts group by canonical email address, exact E.164 phone endpoint or account-scoped provider identity. Mutable display names do not merge identities; an interaction without a reliable endpoint remains separate. Shared endpoints are not proof of a unique natural person, and no automatic email-to-phone person merge is inferred. Contact search includes historical aliases, and contact/history pages preserve current queue and Agent scope. QA pending totals count the full backlog; pending, evaluation and Agent-feedback histories can be paged independently of their display windows.

Inbound normalized plain-text email bodies are preserved without the former 2,000/20,000-character truncation. Existing workspace-capacity and attachment limits still apply; persistence failure leaves intake unsuccessful rather than acknowledging a shortened message. Daily reports and dashboard volume buckets follow Server-local calendar boundaries, including daylight-saving changes. Both use the configured service-level target.

Reports supports the existing 7/30/90-day presets and Custom dates, with both calendar dates included and a maximum of 366 days per request. This is a report-window limit, not a retention limit: older retained history remains available by selecting an earlier window. Dates use the Server's displayed time zone, not a connected Client's time zone; today's data stops at the Server's current time. Invalid dates, reversed ranges, future dates and oversized windows are rejected explicitly.

Choose an optional Queue and Channel, then Apply filters. All metrics, breakdowns, daily counts and Export CSV use that selection and the current user's queue/team and Agent-ownership visibility. Reporting needs dashboard.read; it does not grant additional interaction or queue-management privileges. The queue selector includes permitted queues even when their selected period has no interactions. Edited filters must be applied before exporting. Export performs a fresh Server read, not a frozen snapshot of previously displayed totals, and records the applied dates/filters in the audit log. CSV values remain formula-safe, and exports do not load transcripts or attachment content.

Knowledge search, lookup, save and delete now use the SQL repository. After validation/initial persistence the Store discards its knowledge article array; unrelated flushes preserve the SQL inventory instead of replacing it with a cached copy. Search is parameter-bound and retains locale-aware Unicode matching and title ordering. Article/tag mutations, audit events and the workspace revision commit together, with failure rollback and the same aggregate content limit. Portable backups explicitly reconstruct the complete persisted snapshot, including SQL-owned articles; restore replaces them atomically. Capacity verification currently reads the bounded article collection during writes; it does not reload the full workspace or make that collection a retained cache.

After audit-key initialization and verified persistence, the Store also discards its audit history. Its audit array then holds only uncommitted additions, or a temporary complete replacement during retention/restore; successful commits clear that buffer. SQL list/status/CSV/checkpoint reads verify the persisted signed chain with a streaming cursor, and normal writes append only new event/signature rows in the same domain/revision transaction. Corrupt persisted history blocks reads and writes without replacing the evidence from memory. Retention verifies history before rebaselining retained events under the previous head; backup/restore preserves explicit baseline changes. Streaming checkpoint digests remain byte-compatible with independently archived checkpoints. The aggregate content limit includes persisted history, not just pending additions. Explicit full exports and retention/restore may temporarily materialize history.

Callbacks also have no retained Store inventory after current-format loading or persistence. Queue-scoped lists, source checks for privacy erasure, due selection and aggregate health read SQL directly. Scheduling persists completion and the new callback before returning; cancellation and due consumption commit their audit/revision changes atomically. Due processing creates and routes each replacement interaction in the same transaction that removes its callback, so failed writes or interrupted transactions leave the callback eligible for retry without a duplicate interaction. Deadline comparisons use parsed timestamps, including timezone offsets and the exact due boundary; list ordering remains unchanged. Unrelated flushes preserve callback rows, while explicit backup restores replace them, including removing an inventory omitted by the backup. The aggregate content limit includes SQL-owned callbacks; its verification may transiently read that bounded collection, not the entire workspace. Schedule, cancel and due actions record source/interaction IDs in the audit history rather than customer content.

QA evaluations and their scores/disputes are also SQL-owned, without a retained Store evaluation array. Quality summaries and Agent feedback select only related evaluation histories, in newest-first insertion order with the existing 100-record detail limit. Average/count statistics and sampling exclusions cover the complete related inventory, not that page. Weighted/critical scoring remains unchanged; historical fractional weights, null acknowledgment timestamps and empty score arrays remain readable. Creation, acknowledgment, dispute submission and scoped resolution persist targeted root/child updates with audit and revision changes before returning; feedback updates do not rewrite scores or other evaluations. Open disputes block erasure. Single-interaction and address-batch erasure clear QA comments and dispute text in the same transaction as interaction erasure, preserving scores and history metadata; failed writes roll back the complete operation. Backups reconstruct all evaluations and explicit restores replace the inventory. The aggregate content limit includes SQL-owned evaluation histories, which may be read transiently during capacity verification.

Flow definitions and published version histories now have SQL-authoritative reads and mutations, without a retained Store flow catalog. Parameter-bound lookup selects only the requested flow tree; list results remain in insertion order and expose history summaries rather than published steps. Draft saves replace current steps only, publication appends one immutable history tree, rollback replaces current steps from the selected historical version, and deletion removes only that flow and compacts root ordering. These mutations commit with audit and revision changes before returning; failures restore both the catalog and working state. Name uniqueness retains JavaScript's case folding, including Unicode. Dry runs, API previews, scripted-bot policy pinning and published execution read SQL definitions. Running API flows and scripted bots retain pinned steps independently of later catalog edits, publication or deletion. Backups reconstruct the full catalog; restores replace it, including an omitted catalog. Capacity checks include persisted flow history.

Flow-run checkpoints are SQL-owned too: only the executing run has a transient working object, not a retained Store run inventory. Scoped selection applies ownership, starting/transfer queue visibility and channel support before the newest-200 limit; summaries omit pinned steps and variables. Targeted checkpoints preserve immutable steps, append trace entries and update variables without replacing other runs. Current persisted state and operator authority are checked before provider work and after an awaited GET, so cancellation discards late results. Starting, resuming, cancelling, failure and completion commit with their audit/revision changes. Completion and creation/routing of its one resulting interaction share a transaction; failed completion restores working state, and recovery uses the last committed checkpoint rather than uncommitted API results. Restart verifies the audit key before atomically pausing interrupted runs, never executing them automatically. Health uses SQL metadata aggregates; unresolved capacity covers all runs, and retention removes only the oldest terminal run at the 5,000-record limit. Linked terminal-run removal shares the single/address-batch privacy-erasure transaction. Restore replaces the run inventory, removes it when omitted, and pauses restored unresolved work. Capacity checks stream persisted run trees without assembling their complete array. An uncommitted GET result may be requested again on explicit resume; a successfully committed mapped value is not requested again.

Queues now have SQL-authoritative lookup, scoped listing and targeted creation/update/deletion, without a retained Store queue registry. Name matching preserves JavaScript Unicode case folding and literal parameter-bound values. Queue edits preserve unrelated roots and channel/skill histories; renames update linked interaction queue names in the same audit/revision transaction. Failed writes restore those working references without replacing active interaction objects. Current queue scope, fallback-channel compatibility, fallback references and open-interaction deletion guards remain enforced. Routing hydrates only relevant starting queues and fallbacks in a transient batch per pass; it does not open a new SQL read for each waiting interaction or retain that batch between passes. Integration configuration, inbound routing, flow authorization, callbacks, scope options and reporting queue lookups use the repository too. Startup and content-limit checks stream queue records. Explicit backups reconstruct the full queue inventory; restore replaces it and still rejects a missing required queue collection. Sample setup and old-format migration stage full queues only until their verified commit; ordinary legacy queue reads never implicitly flush a partially built domain mutation.

Integration and PBX receipts, legacy messaging consent, provider-account consent, shared messaging suppression and provider/connector processed-message IDs use SQL-authoritative operations without retained ledger arrays. Parameter-bound reads select exact identities; receipt and consent counts use complete-set SQL aggregates. Intake receipts commit with interaction creation and audit/revision changes; PBX receipts commit with signed evidence, preserve conflict detection and remain available for replay after authorized content erasure. Neither 5,000-receipt inventory silently evicts entries. Inbound STOP revokes matching consent across backends; START grants only the exact sender/provider identity. Connector batches apply these commands in order and roll back completely on a failed write. Provider consent retains its 10,000-record bound; processed-ID ledgers retain the newest 10,000 entries with canonical ordering. Messaging reconfiguration binds previously unbound legacy consent to the old identity before switching configuration. Single/address-batch erasure removes matching connector consent in the erasure transaction while preserving independently retained legacy consent/suppression and replay metadata under the existing policy. Startup validates receipt/account/interaction links and PBX evidence digests. Explicit backups reconstruct the ledgers; restore replaces them, including omitted optional inventories. Legacy reads remain read-only until verified migration.

Initialized current-format startup no longer assembles any operational collection into a complete workspace snapshot. Users, interactions, email/messaging/provider/webhook jobs, mailboxes, campaigns, integration keys, OAuth clients and provider accounts join the SQL-owned queue, article, callback, evaluation, flow, receipt, consent, suppression, deduplication and audit inventories. Startup validates record trees sequentially within one revision-bound read transaction, enforces their aggregate contribution to the exact content limit, checks erased QA text and run/interaction privacy linkage in SQL, and retains only small configuration/audit metadata. Audit-key initialization verifies the complete signed SQL chain using its streaming cursor; a missing/wrong key or invalid count/signature cannot be replaced by an empty baseline. Corrupt trees, missing populated collection markers, order gaps and foreign-key violations stop startup without repairing evidence. Unsigned workspaces needing their first audit baseline and older storage formats retain full loading for verified adoption/migration. Explicit backup exports/restores also retain complete-snapshot validation.

The remaining mutation/read surfaces use a SQL row repository and lazy relational children. Identity and scalar selections query SQL; ordinary business logic receives short-lived tracked records, not a retained workspace registry. Only dirty roots are strongly retained until commit. Multiple changes coalesce into one final row intent; the transaction includes linked domain changes, audit and the optimistic revision. Failed commits restore metadata and pending-record savepoints without allowing rejected mutations to appear in a later flush; nested audited-operation rollback preserves preceding valid pending work. Unchanged user scopes, skills, MFA and recovery hashes are not deleted/reinserted by presence changes. API/IPC results are detached native-cloneable DTOs. Unknown usernames alone use a bounded transient throttle; known-account lockouts and MFA recovery consumption persist in SQL.

Default-mailbox processed IDs use SQL equality selection; additional-mailbox IDs, polling health and UID checkpoints persist with their selected mailbox. Thread matching stays mailbox-local, and both forms survive restart. Delivery claiming, uncertain-send recovery, reviewed retries, campaign recipients and job/transcript links use those same transactional records. Routing selects Waiting interactions, eligible Agents, active workloads and relevant queues in transient batches within a revision-bound read scope; reporting and scope checks read SQL rather than cached registries. Exact logical-size accounting streams initial records and retains only per-collection count/byte totals, adjusted by the committed old/new rows; failed transactions do not advance those totals. Small configuration/checkpoint metadata still uses JSON, as do API payloads, portable exports, qualification reports and OS-encrypted secret serialization. These representations are not operational JSON storage or an in-memory persistence authority.

Upgrading from an SQLite or JSON release. The first time an upgraded Server starts with an empty PostgreSQL database, it imports an existing wondercx-data.sqlite (or older wondercx-data.json) workspace once, in a single transaction, including PBX and telephony secrets. It verifies record counts and the audit chain, and only then renames the source file. The import never runs when PostgreSQL already holds data, and a failed import stops startup with the source left untouched; there is no empty-workspace fallback.

Before upgrading, quit the Server cleanly, keep an authorized application backup and protect the whole user-data folder, including OS-encrypted credential and audit-key files. Start the updated Server, not a Client.

Do not edit or delete source files to get past an import error. Preserve the error, the source file and the OS-encrypted audit key; a missing or wrong audit key fails explicitly.

After a verified import, include the retained source file in recovery-copy privacy governance; an authorized administrator can explicitly retire it after reviewing holds, the exact filename and the loss of rollback evidence. Live-content erasure does not erase retained source files or exported backups. Do not downgrade and run an older SQLite-based release against this profile.

PostgreSQL runs with synchronous commit, so an acknowledged change survives a crash. The database is not encrypted at rest by WonderCX; use full-disk encryption on the Server. Keep the data directory on a local disk, not a network drive or file-sync folder, and back up with the app's backup controls rather than copying live database files.

Restart and backup restore pause unfinished runs for review. Cancel run discards late GET results and prevents interaction creation, but cannot recall an already transmitted GET. Same-session network commands serialize, so cancellation from that connection may wait for its active GET; another authorized session can cancel sooner. Runs allow at most 100 executed steps and 20 recovery attempts, with 1,000 unresolved runs and 5,000 total retained records. Old terminal records are pruned before new runs exceed the history limit. Flow inputs/answers and traces are host-held operational data included in backups; do not place credentials in them.

Drafts and deployed versions. Saving a draft or restoring a version as a draft does not change the steps used by live routes or Run on a server interaction. Publish to replace the deployed version. Website chat still uses its explicitly approved bot version, and Voice uses the version pinned in the deployed PBX plan, until those configurations are updated. To change the channel of a published flow, create a separate flow. Digital Publish checks flag common problems and let you select affected steps. For manual Server runs, they warn about unreachable steps and reachable steps with no configured route to End or Transfer. A route to either destination does not guarantee that a run's inputs will take it. These warnings do not block publishing; the Server still validates flows on publish.

Testing digital flows. The Test console runs the saved draft without creating an interaction. Set Variable, Condition, Switch, and Delay use the same rules as manual Server runs, but Delay is traced without waiting. The simulator does not load workspace secrets, call providers, or perform booking actions. For an API step, choose Return a mock value (the text after response mapping) or Simulate an API error (which sets system.apiError when following a configured error branch). The simulator stops at an unmocked API step or any Booking step.

The digital canvas shows a Start marker linked to the first step. It follows step order and is not an executable step or an editable connection.

Digital AI and API steps can wire Success to another step without reordering the flow or changing their rejection or error paths. Set the same destination in the Inspector under After successful AI output or After a successful API response. Removing an explicit Success wire restores the default next-step behavior. Save the draft to simulate the new route, and publish it to use the route in manual Server runs. Use matching Client and Server builds to author it.

Digital Message and Collect steps can also wire Next to a specific step without reordering. In the Inspector, use After sending the message or After capturing the input; remove the explicit wire to continue in step order again. In scripted website chat, Collect still waits for the visitor's reply and saves it before following the route. Changes to a saved draft do not affect a published inbound flow or a reviewed website chat policy.

Digital Condition steps can wire True and False to separate destinations. Set the False destination on the canvas or under If the condition is false in the Inspector. Clearing it restores the next sequential step without changing the True branch. Voice conditions always take the next sequential step when false.

On the digital canvas, End and Queue have no outgoing wire. To route a Delay somewhere other than the next step, connect its outgoing wire to the destination or set Continue after delay in the Inspector. Removing a Delay jump restores the next-step route without moving nodes. Digital Publish checks also warn about loops with an exit: a route can revisit a step even though End or Transfer is reachable. Test that the loop exits before the run step limit. A missing destination in an effective Switch case or inline default also produces a warning. Matching inputs fall through to the next step in a manual Server run; leaving a default unset to continue is not a warning.

Enter mock values and select Save scenario to reuse them later. Scenarios are scoped to the signed-in user and flow on that device; they are not synced or included in workspace backups. Use fictional values only. Loading a scenario fills only the Test console; it never fills the live Server run form.

To create a variant, load a saved scenario, enter a different name, adjust the inputs or checks, and select Save as new scenario. The original remains unchanged.

Set Expected final step to check that a scenario reaches a specific End or Queue step. The check follows the step if you reorder the draft. It checks the step itself, not whether the resolved queue is available on the live Server.

Use Variable to check and Expected value to check one final variable value, with or without a destination check. The simulation must reach an End or Queue step. Values match exactly, including case and spaces; a missing variable is not the same as an empty value.

Use Step to check to verify a route, even when multiple branches share a final step. Must visit confirms the step was reached, not that its action completed. Must skip requires the simulation to finish at an End or Queue step without visiting the selected step. Either check follows the step if you reorder the draft.

Select Run saved scenarios to rerun all saved scenarios for the current flow using their saved inputs and checks, not the values currently in the form. If a draft edit removes an input or mock used by a scenario, batch replay marks that scenario Could not run and runs the rest. Expand a result to inspect its trace or select Load into Test console to load its saved inputs and checks without clearing batch results. Review the inputs still shown and select Update scenario to fix obsolete inputs before replaying. Scenarios without assertions are reported as unchecked.

After a batch, the Test console counts distinct draft steps visited in its traces. Select Show unvisited steps to find steps that need another scenario. A visit means a step appeared in a simulation trace, not that every branch was covered, its action ran, or its assertions passed.

Select Stop batch to let the current scenario finish without starting the remaining scenarios. Results and coverage counts reflect only the portion of the batch that finished.

The batch also counts routes taken from reachable steps with multiple simulated destinations. Show routes not taken opens the source step for an untested route. Cases that share a destination count as one route; steps that stop simulation, such as Booking, have no outgoing routes in this count. A configured route may still be impossible to take with real inputs.

In a single test or batch trace, select Inspect step to open that node in the Step Inspector. Trace entries from older Servers or steps no longer in the draft remain readable without an inspection link. The batch omits the visit count if any trace entry cannot be matched to the draft.

Select Show path on canvas on a test or batch result to highlight the steps it visited and the connections that can be identified from the trace. Condition, API, and AI simulations record which output was taken, so their wires can be distinguished even when they lead to the same step. When a trace cannot distinguish the wires, the canvas highlights only the visited steps for that transition. A highlight shows what the simulator reached, not whether an action executed or an assertion passed. Select Clear path to return to the normal view; editing the draft also clears it.

An AI step can send confirmed provider rejections (including a rate-limit response) to a fallback step without setting its output or retrying the request. The quota reservation still counts. Timeouts and other uncertain outcomes stop for review even when a fallback is configured. Select Simulate rejection in the Test console to test this branch without contacting a provider.

AI steps in digital flows. Add an AI step in the Flow Designer. Set Input to text or a variable template such as {system.input}, write the Prompt (fixed instructions, not a template), and enter an output name such as aiResult. Use {aiResult} in a later message or select aiResult as a condition variable. The Test console uses a mock output and never contacts a provider. To execute the AI step, publish the flow and use Run on a server interaction. Voice IVR, scripted website-chat bots and automatic inbound routing do not run AI steps.

Live Server runs require AI assistance and its separate Allow published digital flows option in Settings → AI assistance. This sends the prompt and resolved input to the configured provider without the reply-draft review screen and uses the same workspace quota. Vault and secret variables are not available to the AI input; basic redaction is not a substitute for keeping sensitive data out of prompts and inputs. Model output is untrusted text, limited to 1,000 characters, and stored with the run. Review any downstream action that uses it. If dispatch may have occurred and the result cannot be checkpointed, the run requires review rather than automatically resending.

Flows → Server API credential references supports static bearer tokens for GET lookup steps. Administrators with user, flow and channel management permissions save a label, exact allowlisted HTTPS hostname, path subtree (starting/ending with /) and explicit existing flow grants. Review the transmission acknowledgment before saving. Save a new flow first, grant it access, then select the metadata-only reference in its API step and save/publish again. No token is returned by list, editor, audit or backup APIs. Existing credentials may be rotated or disabled; an omitted replacement retains the previous token. Disabling prevents future transmissions, but cannot recall an already transmitted request. Deleted-flow grants cannot authorize a new flow with another ID; review/rotation drops deleted grants and requires at least one current grant.

Tokens live only in api-credentials.enc on the Server, encrypted through its native keystore with atomic private-file replacement. Clients forward authorized saves and keep entered tokens only in transient UI/RPC memory; they never create a vault. Credential IDs remain in draft/published flow snapshots and checkpoints, while tokens and grants are excluded from portable backups. Restore disables all existing server credential grants after backup validation and before workspace replacement; unlock/review and explicitly re-enable them afterward. A new server has no matching secrets and fails referenced steps until reconfigured. A keystore failure during disabling aborts replacement. These separate files are not a single transaction: if later workspace replacement fails, grants may remain disabled, never implicitly enabled.

Every request rechecks current account/session, license, allowed hostname, pinned flow ID, enabled grant and exact host/path before adding the bearer authorization header; current run/scope checks also prevent a cancelled run from transmitting after DNS finishes. HTTPS uses normal certificate validation, a pinned resolved public address, no redirects/embedded URL credentials/alternate ports, an absolute five-second DNS/request deadline and a 64 KB JSON limit. Local, mapped, shared, transition and reserved addresses fail closed. Encoded separators/dot traversal are forbidden for credential paths. Provider-specific path rewriting remains the administrator's responsibility; prefer dedicated narrowly privileged tokens. Machine OAuth acquisition/on-demand expiry renewal is supported as described above; user OAuth/refresh-token grants, API-key header variants and non-GET writes remain unavailable. Responses/mapped values may contain customer data and persist in flow journals/backups; do not rely on this feature for automatic PII redaction.

The credential-use audit entry records an authorized GET dispatch attempt before transport, including requests that later fail TLS/HTTP/JSON validation. Its successful outcome refers to authorization, not provider acceptance or delivery. Credential ID and flow ID are recorded; bearer contents are never included.

Reviewed CRM screen pops

Under Settings → CRM screen-pop destination, administrators with both users.manage and channels.manage approve one exact public HTTPS destination and one to four unique query-parameter mappings. Available fields are interaction ID, customer identity, channel and queue. The destination cannot contain credentials, existing query parameters, a fragment, alternate port or encoded path separators/traversal. Do not put secrets into the label, path, customer field or mappings. Configuration is authoritative on the Server; Clients never create a CRM database or credential file.

In an interaction's conversation panel, select Review CRM screen pop. Review the exact destination and listed transmitted values, acknowledge transmission, then select Open approved CRM URL. Values are encoded with URLSearchParams, not substituted into arbitrary URL templates. The Server checks current interaction scope, erased-content status, active session/account, license, destination revision and interaction version before and after bounded public-DNS validation. Each review is bound to its operator/interaction, expires after five minutes and authorizes at most one dispatch; reviews remain transient and are capped at 200. Configuration changes or interaction changes require a fresh preview. Restore disables the destination and clears outstanding reviews; explicitly review/re-enable it afterward.

The requesting Electron installation alone hands the approved URL to its default browser; remote RPC cannot open a browser on the Server. The audit records authorization/dispatch with the interaction ID, not customer/query values, and does not claim a record loaded successfully. A browser handoff failure is reported explicitly and consumes the review; verify the default browser and request another preview.

This is an explicitly reviewed browser navigation, not an automatic screen pop, embedded CRM login, write API or exactly-once CRM operation. Unlike the flow GET transport, the OS browser resolves DNS independently and can follow destination-controlled redirects; the Server's public-DNS check cannot pin browser transport or prevent later rebinding. Use a trusted endpoint without unsafe redirects. Query data can persist in browser history, destination/proxy logs and subsequent navigation; browser/CRM sign-in, storage and privacy policies are outside WonderCX's control. Live CRM/browser certification is pending.

Portable encrypted backups

Under Settings → Data, backup & restore, enable Encrypt exported backup with a password and enter/confirm a 12–256 character password. The saved JSON envelope encrypts the full operational backup with AES-256-GCM and a fixed scrypt KDF. A client obtains the authorized backup over its trusted host connection, then encrypts/saves it locally; the encryption password is never transmitted to the server or stored in preferences. Keep the password in a separate secure location. There is no recovery if it is lost.

To restore, run the server in standalone mode, enter the Restore password for an encrypted file, confirm replacement and choose the file. Legacy plaintext files do not need a password. Wrong passwords, altered ciphertext/metadata and unsupported formats are rejected before any workspace replacement; normal data-schema validation and active-operation gates still apply. Restore signs users out, pauses unresolved deliveries/flows and requires provider credentials to be reconfigured. Plaintext data is capped at 64 MB and encrypted input files at 96 MB.

Encryption is optional to preserve existing export workflows. Plaintext backups remain sensitive and include customer content, attachments, flow answers and password hashes. Encrypting a new export does not encrypt the live workspace, remove older plaintext copies or change retention of previously saved files.

Offline licensing

WonderCX is free for up to 10 active users. There is no trial and nothing expires. Every active account, including administrators, uses one seat; several sessions for one account still use one seat. To have more than 10 active users, the workspace needs a signed licence: an offline Ed25519-signed file bound to one workspace ID, whose seat count becomes the allowance (never below the free 10). No activation server, renewal or online check is involved.

The publisher's licence public key ships at assets/wondercx-electron/license-public-key.pem (installed under the app's wondercx-electron resource folder), next to the separate release-verification public key. The matching private keys are kept by the publisher outside the repository and must never be bundled or committed. A build without a licence key does not enforce the limit; a malformed bundled key is reported.

Settings → License shows the workspace ID, the active users against the allowance, and lets authorized administrators import a signed licence of at most 16 KB. The signature covers product, licence ID, workspace ID, edition, issue time and seat count. Altered signatures, another workspace's licence, extra claims, future issue times and unsupported keys are rejected on the Server. The signed licence is kept in the workspace and included in backups.

To issue a licence, create a claims file with product: "WonderCX", licenseId, workspaceId, edition, issuedAtUtc and integer seats (1–10000), then run:

node scripts/sign-license.mjs /protected/license-private-key.pem /protected/claims.json /protected/new-license.json

The utility validates the claims and writes a new signed licence without overwriting an existing file. It is a publisher tool, not a runtime dependency.

When the allowance is reached, creating or reactivating a user is refused with a message asking for a licence; two Clients racing for the last seat cannot both succeed. Nothing else is restricted: a workspace that is over its allowance (for example after restoring a backup) keeps working normally, shows a notice, and only cannot activate more users until a licence with enough seats is activated or users are deactivated.

Local audit integrity

Independently retained checkpoints

In Administration → Audit log, users with both audit.read and audit.export can acknowledge checkpoint custody and Export reviewed audit checkpoint. After native file selection, the Server rechecks current access, verifies its retained HMAC chain, atomically records checkpoint preparation and returns a metadata-only SHA-256 commitment. The requesting computer saves a new private JSON file with exclusive creation; existing files are not overwritten. Cancellation creates no checkpoint. A failed local file write may leave the audited preparation, not proof that an external copy was saved.

The checkpoint contains workspace/baseline identifiers, count/head, an audit-prefix digest and local timestamps, not event text, provider secrets or the HMAC key. Retain the original checkpoint independently of the Server together with a matching original workspace/plaintext backup under your custody policy. It is not digitally signed, does not establish trusted time or legal custody, and cannot authenticate its own source. Replacing both the checkpoint and snapshot defeats comparison; never accept a replacement checkpoint from the same suspected compromised Server as independent proof.

Compare reviewed local files selects an independently trusted checkpoint and matching local workspace/plaintext backup through native dialogs. The Electron application reads and compares both on the requesting computer, never uploads them or requires a separate Node service. Current access is checked before/after file selection and comparison. Files are read-only, non-symlinked and bounded (checkpoint 16 KB, snapshot 64 MB). Encrypted backups must first be decrypted locally to a protected plaintext archive. Protect that temporary archive like any operational backup; it is not automatically erased.

A match covers only the committed exact historical audit prefix. Additional events are reported as unanchored, not certified authentic. An older/truncated/changed prefix, wrong workspace/key/baseline, retention rebaselining or restore rejects the comparison explicitly; compare the earlier checkpoint against its original archived snapshot when history was legitimately rebaselined. This does not authenticate later events, verify the HMAC without its Server key, protect business data outside the audit, automatically prevent rollback, or create an immutable external ledger.

Optional source-checkout command after npm run build: node scripts/verify-audit-checkpoint.mjs trusted-checkpoint.json workspace-or-plaintext-backup.json. It uses the same offline comparison, exits nonzero on mismatch/invalid input and requires no secrets/network. Ordinary users can use the Electron controls instead.

Server HMAC chain

Server startup initializes/verifies an HMAC-SHA-256 audit chain using a random key held in audit-integrity-key.enc, encrypted by the server's OS keystore. Server mode now requires an available secure keyring; clients never create/read this key. Missing/wrong/unreadable keys or changed audit records fail server initialization explicitly without discarding the audit history. Keep the original encrypted key and OS-keystore access with your server recovery materials.

Administration → Audit log reports verification of all retained events, count and baseline provenance. Events authenticate their stable content and predecessor; authenticated metadata covers count, anchor and head so truncation/reordering/forged head changes fail verification. Read/export checks verify the chain. Existing pre-integrity audit history is explicitly a local baseline, not retroactively proven historical evidence. Enabled retention verifies the old chain before re-signing retained events with an anchor to the prior head; removed event bodies cannot be recovered from that anchor.

Portable backups include authenticated audit records/metadata but not the audit key. Same-key backup restore verifies the saved chain before replacement. Authorized legacy/foreign-key restores establish an explicit restored baseline under the current server key, anchored to the previous local head; their prior events are not independently verified on this server. A CSV is a human-readable report, not a portable cryptographic verification package. Preserve original server keys when original-chain verification matters.

This detects changed retained records without possession of the server key; it does not prevent an administrator-authorized restore, whole-database rollback, loss of retained history, or compromise of the server/OS/key. It is not an external immutable ledger or compliance certification. Independently retained checkpoint comparison is available as described above; automated external anchoring/custody, audit privacy, upgrade/crash/OS-keystore restore certification and anti-rollback release gates remain separate requirements.

Customer-content holds and erasure

In an interaction's detail view, an administrator with users.manage, interactions.read and current queue visibility can Place a content hold for a legal hold, investigation or retention requirement. Placement/release requires the exact interaction ID and a reviewed version; both are audited. Holds prevent live-content erasure and every configured channel's Server attachment-retention sweep. They do not prevent normal work on an open interaction or authorize extra access. Release requires a fresh review; retention may apply at the next maintenance tick.

For a completed/cancelled interaction without a hold, Review customer-content erasure shows affected message, attachment, terminal-job, linked-flow and QA counts. Resolve/cancel all failed, uncertain or pending deliveries and callbacks and resolve open QA disputes first. Erasure requires a current version, an approved reason, exact-ID confirmation and the operator's authorization acknowledgment; the server rechecks eligibility while serialized with other commands on that interaction.

Erasure removes customer identity, messages/attachment bytes and filenames, notes, disposition text, free-text timeline content, terminal email/messaging jobs (including recipients/template variables), linked flow journals and QA comments/dispute text from the live server database. The row becomes a timestamped tombstone with operator/routing/timing/rating/quantitative QA statistics retained. Scoped contacts no longer list it; attachment access and new QA evaluations/disputes are blocked. Limited provider/message identifiers remain for duplicate suppression: a new email referencing an erased thread creates a new interaction instead of reopening the erased one.

Application-managed restore now checks the current authoritative workspace before changing credentials or operational data. A backup must preserve every existing erasure tombstone with the same interaction ID and erasure timestamp; it must preserve every currently held interaction exactly, including messages, metadata and the hold. Older backups that resurrect erased content, omit protected rows or replace held evidence reject with explicit guidance. A different workspace cannot replace one containing holds/tombstones; preserve the workspaces separately. Holds may only be released through the existing reviewed hold action, never by removing them from a backup. Backups containing erased campaign recipients must also preserve redacted campaign/message/template-variable copies.

Review address-linked erasure in an Email/SMS/WhatsApp interaction scans the complete Server dataset, not only recent history, for 1–100 live records with the exact recorded communication address. Phone identity matches E.164 numbers across SMS and WhatsApp; Email matches the recorded reply address (or address-valued customer field), folds domain case only, and preserves local-part/alias differences. A display name, shared address or telephone is not verified person identity: operators must verify the request and every match, and review alternate addresses/other channels separately.

The Server rejects the entire batch if any matching record is hidden by scope, open, held, already has unresolved jobs/callbacks/disputes/flow runs, or exceeds 100 matches; it never silently chooses the first page or omits inconvenient records. The preview lists IDs, channel, queue and content/job/QA/campaign counts. Exact-address typing, an approved reason and explicit irreversible-erasure acknowledgment use an actor/session-bound five-minute single-use review; changed record versions/membership invalidate it. Every reviewed record and shared campaign copy is redacted in one persisted transaction, with file-failure rollback. This command runs only on the authoritative Server; a Client retains no operational database or request journal. Audit records identify operations/counts, not a new address-bearing batch log. This covers address-linked live records, not a complete customer-wide/provider/backup erasure workflow.

This is scoped live-content removal and application-managed restore protection, not complete anonymization, legal compliance, forensic disk wiping or a tamper-resistant external privacy ledger. It does not automatically find every other interaction for the same person, purge provider-held data, change consent/STOP suppression, alter audit history, remove downloaded files or rewrite older backups. Those copies and customer-wide requests need separate review. Direct OS-level replacement/rollback of the entire workspace and recovery onto a fresh Server without current tombstones can bypass this current-state check. Preserve privacy-safe backups and restrict filesystem/restore access; independent hold/erasure anchoring and full customer-wide privacy orchestration remain pending.

Optional local two-factor authentication

Every signed-in account can open Account security, without an administrative permission. Enter your current password to begin enrollment and add the displayed setup key manually to a TOTP authenticator (issuer WonderCX, SHA-1, six digits, 30 seconds). Confirm a current code within ten minutes; MFA is not active until confirmation succeeds. The server must have an available, unlocked secure OS keystore; insecure plaintext keyring backends are rejected. The client receives transient enrollment/recovery material but never saves an operational database or authenticator secret locally.

After enabling MFA, sign-in on both Server and Client requires the password plus an authenticator code or one unused recovery code. Authenticator codes allow one time step of clock drift and are rejected after use, including across server restart. Keep the server/authenticator clocks synchronized. Five invalid password/MFA attempts lock the account's sign-in and security changes for five minutes; counters reset after five idle minutes or successful verified sign-in, and network source limits also apply. Known-account counts/deadlines persist atomically with the server workspace, survive restart and are validated/preserved during restore. Unknown-account names remain in a bounded transient map and are not stored as lockout records. After a lock expires, a new failure starts at one attempt rather than immediately re-locking the account. An older backup or system-clock rollback can still weaken these controls; tamper-resistant anti-rollback/clock protection remains a separate release-hardening requirement.

Ten recovery codes are shown once after enrollment or regeneration. Save them securely outside WonderCX before dismissing. Only hashes are stored; every recovery-code use is atomically consumed and audited. Regeneration requires the current password and a valid authenticator or unused recovery code and invalidates all previous recovery codes. Disabling MFA requires the same verification. Enabling, disabling, regenerating recovery codes and administrator password resets revoke older sessions; the session that successfully changes its own MFA remains signed in.

An administrator password reset does not remove MFA. Backups retain encrypted authenticator secrets, one-use counters and recovery hashes; restoring on another OS/user may make the secret unreadable. Unused recovery codes remain usable without decrypting the secret: sign in with one, then use another to disable/re-enroll or replace recovery codes. Never migrate without verified recovery codes and a restore drill. Restoring an older backup can roll back consumed codes/counters; backups require strict access control, and tamper-resistant anti-rollback certification remains pending. No automatic MFA bypass or cloud recovery is provided. Customer-owned SSO and packaged native-keystore recovery certification are still outstanding.

Voice (SIP/WebRTC softphone)

  • Requires a customer-provided PBX with WSS/WebRTC enabled (e.g. Asterisk, FreeSWITCH).
  • Grant microphone access: Windows Settings → Privacy → Microphone; macOS System Settings → Privacy & Security → Microphone; Linux: ensure PulseAudio/PipeWire is running.
  • Open outbound TCP 443 (or your WSS port) to the PBX. The server certificate must be trusted by the OS.
  • Administrators provision the endpoint and per-Agent account under Settings → Telephony provisioning. SIP passwords are OS-encrypted on the Server, never stored on Clients; agents select Connect assigned phone rather than entering credentials.

Initial registration must be confirmed by the PBX within 15 seconds; sending REGISTER alone does not enable calls. Unexpected signaling loss retries registration five times with 1/2/4/8/16-second delays and a 15-second confirmation deadline per attempt. Stop reconnecting cancels retries. Interrupted calls are not restored; their server interaction moves to wrap-up or unanswered cancellation.

Consult first holds the customer only after the PBX confirms the reINVITE and dials one consultation leg. For managed Server-tracked phones, the Server authorizes the exact own active Call-ID and deployed assignment revision; its source header is attached only to that consultation INVITE. Mute/DTMF apply to the consultation while it exists. Cancel consultation and resume customer, consultation rejection and consultation closure request confirmed customer resume; inspect the displayed error and hold state if resume fails. For external phones, End consultation instead leaves the customer on hold until Resume. Complete attended transfer sends REFER with Replaces using the exact consultation dialog, requiring a compatible PBX. Transfers display completion/failure only from terminal SIP NOTIFY. After a 60-second timeout or uncertain transport failure, retry and cancellation remain blocked pending reconciliation; review the PBX rather than starting another transfer. A late valid terminal notification can still reconcile that request, but old notifications cannot change a newer transfer's state. A confirmed managed transfer releases local dialogs only: the Server requires an actual customer-recipient bridge or matching retained CDR bridge proof to change ownership. Consultation alone ending never wraps up the customer interaction.

Voice control events are stored in the authoritative Electron server with operator/scope checks. They are explicitly labeled Agent-observed SIP event: a client report is not an independently authenticated PBX webhook and does not automatically reassign or close the interaction. Conferencing, protected recording/playback and live PBX interoperability certification remain outstanding.

Email (IMAP/SMTP)

Settings → Shared email mailboxes selects the mailbox being configured. The existing single mailbox remains Primary mailbox, with its original email-password.enc file and legacy conversations. Add shared mailbox creates a Server-owned immutable profile ID; up to ten profiles total are supported. Each additional mailbox keeps its own queue, sender, signature, scanning/retention policy, IMAP cursor/UIDVALIDITY, deduplication IDs and durable failure diagnostics. Profile creation/configuration requires queues.manage; interaction access/claim/takeover still follows queue/team scopes and existing ownership/version rules. Disable an unused profile and remove its saved credential rather than deleting history-bound IDs.

Set up distinct IMAP accounts/folders: duplicate account/folder identities are rejected, including disabled configured profiles, so competing pollers cannot consume each other's unseen messages. The Server checks enabled profiles sequentially, up to 50 messages each, with the 20-second timer starting another pass only while idle. Sync now checks the selected mailbox. Credentials, diagnostics, import jobs and delivery workers run only on the Server; Clients retain no operational data or mailbox vault. Additional passwords use private, atomically replaced OS-encrypted email-password-<profile-UUID>.enc files. Portable backups exclude all password files; validated restore disables every mailbox and removes credentials for old and restored profile IDs. Reconfigure them explicitly afterward.

New conversations and outbox jobs retain their original mailbox identity, independently of queue transfers. Identical Message-IDs/references in another mailbox never merge its conversations or delivery reports. Repointing a profile to another account/folder resets its polling/deduplication state and prevents new replies to threads pinned to the previous identity until that identity is restored; prefer a new profile instead. Legacy conversations without identity metadata remain associated with Primary mailbox. SMTP workers select the original profile's secret, sender and scanning policy; retention and scoped downloads use the conversation's profile rather than the current settings selection.

Delegated sender aliases allows up to ten unique addresses per mailbox, excluding its primary sender. Configure only aliases this provider account is authorized to send as; WonderCX does not certify provider delegation. A new conversation's To/Cc headers select an approved alias; the primary sender takes precedence, otherwise configuration order selects among matching aliases. Unmatched/Bcc recipient headers fall back to the primary sender. Later customer headers, queue transfers and retries cannot change that conversation's sender. Removing a still-used alias blocks future replies/retries; restore its delegation before replying. SMTP authentication continues to use the profile account, not the alias. Sender identity is visible in the conversation panel.

Mailbox business hours optionally replaces workspace hours/holidays with a seven-day, IANA-time-zone weekly schedule for that mailbox. Same-day opening/closing intervals are supported; overnight intervals are not. Local time-zone conversion handles DST. Closed mailboxes still import/deduplicate email, add the bounded local after-hours timeline notice and leave new work waiting rather than automatically routing it. The notice is not emailed automatically. Explicit authorized manual claims/replies remain available outside hours, as do already accepted delivery jobs; this policy governs automatic routing, not proactive marketing sends. When disabled, existing workspace hours/holidays apply.

Settings clears transient password/removal selections when changing profiles and ignores stale profile/configuration/health responses. The Host health response includes each mailbox's polling diagnostics; Settings displays the selected profile's health. Tests verify real Client forwarding, server-only secret selection, duplicate/alias/thread boundaries, mid-configuration failure safety, DST/routing, restore validation and credential invalidation. Live multi-provider, alias-delegation and packaged backlog/reconnect certification remains pending.

Configure host, ports, TLS, mailbox and the Email queue under the email channel settings, and use Test connection. Use an app password where the provider requires one. Credentials are encrypted with the OS keystore (Windows DPAPI, macOS Keychain, Linux libsecret/gnome-keyring or kwallet; on Linux install libsecret and run a keyring daemon).

IMAP authentication always requires encryption: enable implicit TLS (usually port 993), or leave it unchecked to require STARTTLS (usually port 143). Unchecking implicit TLS does not permit plaintext login. A server that omits or rejects STARTTLS fails both connection testing and mailbox polling before credentials are sent; fix its TLS configuration rather than bypassing verification. SMTP similarly requires implicit TLS or STARTTLS.

Email replies default to plain text. Select Formatted email for escaped basic HTML: paragraphs/line breaks, **bold**, *italic*, - bullet lists and numbered lists. The toolbar wraps selected text; Preview email shows only locally generated escaped markup and locally selected image bytes, never incoming sender HTML or external resources. Raw HTML, scripts, remote-image tags and link markup remain literal text. This is a bounded markup composer, not arbitrary HTML/WYSIWYG authoring. Source remains limited to 2,000 characters. The configured plain-text signature is captured once and escaped literally.

Attach up to five files totaling 5 MB; optionally select Inline image for PNG, JPEG, GIF or WebP in formatted replies. Server checks declared image type against file signatures, rejects SVG/HTML and invalid/duplicate selections, then assigns its own MIME Content-IDs. Images appear below the body and before the signature, with filename descriptions in the plain-text alternative. SMTP emits multipart text/HTML plus related CID images; there are no remote image URLs. Configured attachment scanning applies before SMTP as usual. MIME signatures are not a malware guarantee; keep scanning enabled where required.

The Server persists formatter version, source, frozen signature and selected attachment IDs before sending. Restart/retry regenerates the same content and retains the stable SMTP identifier; later signature edits do not rewrite queued replies. Clients receive readable text and formatted/inline metadata without HTML/attachment bytes in ordinary list responses. Attachment downloads remain scoped; retention and reviewed erasure cover inline bytes and linked message content. Backup/load validates formatter version, text alternative, image references/types and expired-image state before replacement. Supported mailbox/email-client rendering and inline-image behavior still require live provider certification.

To rotate a mailbox password or Twilio token, enter the replacement under its existing channel settings and save. Changes are blocked during active channel work, validate configuration before replacement, and retain the old encrypted file if replacement fails before the atomic rename. New encrypted bytes are written to a private, exclusive temporary file, synchronized and renamed in the same server directory; ordinary interrupted writes cannot truncate the previous credential. Empty replacement fields retain existing credentials. Mailbox passwords preserve exact characters, including surrounding spaces. Replacement and removal cannot be requested together; removal disables the channel. Credential reads reject empty/oversized/symlinked files and tighten existing file permissions. This does not claim an atomic transaction spanning the separate configuration/credential files or a power-loss/native-keyring recovery guarantee; packaged rotation/restore drills remain required.

Polling progress is persisted on the Electron host and resumes after restart. It resets when the IMAP account/folder/server identity or server-reported UIDVALIDITY changes. Messages that fail import or acknowledgment remain unseen and are revisited as the batch wraps; successfully saved threads prevent duplicate ingestion when marking a message seen fails. Emails without a Message-ID use an identifier scoped to the account, folder and UIDVALIDITY, preventing collisions when a server reuses UIDs. Settings changes are blocked while a mailbox poll is running.

Mailbox health is also persisted. Settings → Email → Unresolved messages shows up to 100 recent failed UIDs, attempt counts, timestamps and bounded error summaries. A clean batch does not clear failures from other batches: entries clear only after successful processing or when a subsequent unseen-message search confirms that a message is no longer pending. Account/folder or UIDVALIDITY changes reset the corresponding diagnostics. Interrupted polls are reported after restart and resume through normal unseen-message processing. Connection failures remain visible until a poll completes successfully; the last successful timestamp/count remain paired.

Outbound replies and attachments are saved in a durable outbox on the Electron server before SMTP starts. Interactions → Email outbox lists unresolved replies, including interactions beyond the normal 500-item recent-history window, within the operator's queue/ownership scope. Conversation status shows queued, sending, retrying, sent, failed, uncertain or cancelled. Explicit temporary SMTP rejection retries up to five attempts with exponential backoff starting at 30 seconds. Thread replies are processed in order; a failed or uncertain reply blocks later replies until resolved or cancelled. Credentials are read from OS-protected storage, not copied into jobs. Mailbox configuration and sender authorization are checked again before each attempt.

An outbound reply is recorded as sent only when SMTP confirms recipient acceptance and provides a message identifier. SMTP acceptance is not proof of final delivery. A crash during sending, missing acceptance identifier or ambiguous network failure becomes uncertain and does not automatically retry. Review and retry requires explicit provider review for uncertain messages because SMTP does not guarantee exactly-once delivery, even with a stable Message-ID. Cancel delivery stops subsequent attempts, but cannot recall an accepted email. Restored unresolved jobs require the same review and never automatically resend. Settings changes and backup restore are blocked during active delivery. Pending deliveries must be resolved or cancelled before ownership, queue or completion changes.

An optional plain-text mailbox signature is appended when a reply is queued and retained with that saved reply across retries. Existing canned responses remain available in the composer. HTML mail is converted to text by the mail parser; the app does not render sender-supplied HTML or fetch external tracking/inline images. Inline parts remain scoped downloadable attachments rather than executable content.

Require local ClamAV scanning is opt-in and needs a customer-managed ClamAV daemon listening on the server's loopback address (127.0.0.1, normally port 3310). WonderCX streams bounded files using ClamAV's INSTREAM protocol without a shell or cloud upload. Scanner failures, malware verdicts and incomplete responses fail closed: inbound mail remains unseen, outbound jobs become failed before SMTP, and downloads are blocked. Install and maintain ClamAV/signature updates separately if enabling this policy; the Electron app does not install or certify the scanner. With scanning disabled, attachments are not asserted to be malware-free.

Closed-email attachment retention defaults to 0 (keep files). A positive number removes attachment bytes from completed/cancelled Email interactions after that many days, while retaining filenames, original sizes, expiration times and timeline/audit entries. Unresolved delivery jobs, open interactions and other channels are excluded. The server checks hourly while running; a policy change applies at its next maintenance tick. Expired downloads return an explicit error. Previously exported backups still contain their original content and require your own retention controls. Backup import validates new outbox/scanner/retention fields before replacement; unresolved restored deliveries never auto-send.

Structured message/delivery-status notices are correlated using the original SMTP Message-ID and exact recipient. Failed, delayed and delivered reports appear in the original conversation as unverified email reports, separate from SMTP acceptance. Email DSNs can be spoofed; they do not automatically resend, change ownership, reopen completed conversations or assert authenticated final delivery. Notices without a matching original message/recipient enter normal intake for manual review. Rich outbound HTML and authenticated provider bounce certification remain outstanding.

Waiting interactions are claimed against the reviewed version. Another agent cannot overwrite an existing owner. Active non-voice ownership changes require Review takeover, a supervisor/administrator, a reason and the current version; takeover is recorded in the timeline and audit. Conversation drafts stay in renderer memory while live status refreshes; clients do not save drafts to disk.

Direct messaging and social accounts

For restricted-product approvals, public media-hosting decisions and authorized live-provider evidence, use the social approval and staging requirements. That guide is a prerequisite checklist, not an enabled integration or authority to send test messages.

Settings → Direct messaging & social accounts requires the actual Administrator role plus queues.manage and channels.manage, even when another role has permission overrides. Add an account, choose a channel-compatible queue, configure the exact identities and public callback, and acknowledge the destination/account review. Up to 50 accounts are supported. Sender/provider/remote identity and the configurable HTTP contract are immutable after creation: disable an obsolete account and create another rather than rebinding existing conversations. Revision checks reject stale saves. Agents can send/control deliveries only in their own assigned, scoped interactions.

The implemented native connectors are Telnyx SMS, Vonage SMS, Meta WhatsApp Cloud, Facebook Messenger, Instagram with Instagram Login, LINE, Telegram, reviewed Telegram/LINE groups and Facebook/Instagram public comments. The configurable HTTP SMS adapter is also implemented for compatible JSON/Bearer/HMAC gateways, not every gateway's undocumented protocol. Existing Twilio SMS/WhatsApp remains separate below. All connectors execute in the existing Electron Server process; Clients authenticate to that Server and never create a provider registry, outbox or credential file. No new hosted WonderCX service is needed.

Text limits remain 2,000 characters inbound/social and 1,600 characters for outbound SMS/WhatsApp, except Vonage replies are limited to 70 UTF-16 code units (one Unicode SMS segment, preserving exact provider-ID/receipt correlation; split longer replies explicitly). Media, group, public-engagement and campaign capabilities are bounded below, not universal platform support. Instagram original-post publishing, contact imports, Teams groups/files, Telegram channels/forum topics and provider-side erasure are not implemented. Generic Social integration intake is a local record, not a direct platform conversation, and its renderer does not offer a platform send composer. These additions have local protocol/regression coverage; ensure individual provider credentials and webhook URLs are configured in accordance with each platform's API requirements.

Provider attachments

Authenticated Telegram, LINE, WhatsApp, Messenger and Instagram messages can download supported images, PDF/plain text, and selected audio/video into the existing message attachment store. Telegram/LINE group accounts share their corresponding inbound media support. Downloads use fixed provider routes or approved Meta CDN hosts, public-DNS pinning, normal TLS verification, no redirects, bounded bytes and deadlines; CDN downloads never receive Meta bearer tokens. Provider references and temporary signed URLs are not persisted. The webhook permits two concurrent media-processing requests, five attempted attachments, up to 5 MB of stored attachment bytes and an eight-second aggregate media deadline. Unsupported or failed files preserve the customer's text and create an explicit attachment-review event; review the original provider inbox rather than assuming every file was captured.

Outbound uploads support Telegram, reviewed Telegram groups, Messenger and Meta WhatsApp: one nonempty file per reply, at most 5 MB, using the composer's provider-specific MIME allowlist. Telegram/WhatsApp captions cap at 1,024 UTF-16 code units; Messenger attachments and WhatsApp audio require any accompanying text to be sent separately. Text-only approved templates cannot carry files. Each upload and final message submission rechecks current authorization; saved original bytes survive Server restart and obey existing access, retention, expiry and privacy controls. Instagram/LINE outbound media requires an approved public media-hosting contract not supplied here; Teams file-consent/storage support is also unavailable. WonderCX does not silently publish private attachments to an invented public upload service.

Reviewed groups and public engagement

Group accounts bind one explicit destination per account, not every group the bot can see. Telegram group remote IDs are exact negative group/supergroup IDs; sender is the bot's numeric ID. LINE remote IDs are exact C... group or R... room IDs; sender is the U... bot identity. Bot identity and destination membership are reverified before sending. Other groups are ignored, individual participant IDs are retained separately from the group destination, and the composer warns that everyone in the group can read replies. Telegram anonymous/bot messages and forum topics are excluded. Membership migration requires a new reviewed account. When one bot serves several configured groups, arrange customer-owned callback fan-out that preserves authentication: Telegram/LINE do not provide an independent webhook per group.

Facebook/Instagram public-engagement accounts are separate from private-message accounts. Each new comment retains its own original Graph route, even when several comments share an author. Facebook also accepts signed customer text-post/status additions to the configured Page feed; post and comment routes remain distinct, including when native IDs/authors coincide. Page-owned echoes are ignored. Replies require the composer's explicit public-audience acknowledgment. Dispatch verifies the original comment's owned media/post, or exact visitor-post membership in the configured Page's first bounded 100 feed entries, before posting to the original target. Foreign/unavailable targets fail closed; arbitrary pagination links are never followed. Graph host/version routing is immutable for existing accounts. Instagram does not offer arbitrary customer-post intake here. Comment edits/deletions, live comments, private replies to comments and public-post/comment attachments are not implemented.

Facebook requires a Page access token, app secret, verification token, approved applicable Page access (including pages_read_engagement/pages_manage_engagement, applicable user-content access and subscription access), and signed Page feed subscriptions. Instagram uses Instagram Login, instagram_business_basic and instagram_business_manage_comments, signed comments subscriptions and Advanced Access/App Review where required. Verifying an account ID alone does not certify these permissions or production access.

Reviewed original Facebook Page publishing

Settings → Public post publishing is a separate supervisor/administrator workspace, not a customer interaction or private campaign. It requires channels.manage, interactions.manage and interactions.read, and only exposes Facebook public-engagement accounts in the operator's Social queue scope. The existing OS-encrypted Page token additionally needs approved pages_manage_posts and applicable Page tasks/permissions; WonderCX does not grant them. See Meta's Page posts contract and Page feed callback reference.

Save a label (80 characters) and exact public text (2,000 characters) as a draft. Saving does not send anything. Review the exact Page ID and text, then explicitly acknowledge the public audience and personal-information review. Approval is single-use, actor/session-bound, expires after five minutes and rejects changes to the draft or account revision. The Server commits Queued before dispatch, verifies the Page identity and rechecks current approver activity/role/scope, account identity and quiet hours before submission to the fixed Page /feed endpoint. The shared channel/publishing worker serializes dispatch with account changes and shutdown.

History retains Draft, Queued, Publishing, Cancelling, Published, Failed, Uncertain and Cancelled outcomes and actual accepted provider post IDs. Provider acceptance does not prove audience reach. Cancellation prevents future submission when possible but cannot recall an already transmitted post; later acceptance still records Published. No publishing error, including HTTP 429, automatically retries. Check Page activity/provider logs and acknowledge duplicate-post risk before requesting another review; attempted content stays immutable and at most five attempts are allowed. Startup marks interrupted submissions Uncertain; restore also marks queued/in-flight publications Uncertain and disables provider accounts.

The inventory is bounded to 1,000 records in the Server database, included in authorized portable backups. Terminal Published/Cancelled/Failed records permit explicitly reviewed local text/label erasure, retaining outcome and provider ID; unresolved publications cannot erase their evidence. Restore rejects older text that would undo an existing erasure marker. This does not delete Facebook posts, exported backups or other provider copies. Original-post images/video, scheduled publishing, edits/deletion, Instagram publishing and restricted X/LinkedIn publishing are not enabled.

Automated outbound calling (Progressive, Predictive, Voice Blaster)

The Server places these calls itself through the built-in phone engine (FreeSWITCH is not supported for automated dialing).

  1. Carrier and route: add the carrier trunk and an outbound route whose prefix matches the leads' numbers (for example +1), with the caller ID to show.
  2. Queue: create (or reuse) a PBX queue whose members are the agents' extensions, and link it to the campaign's WonderCX Voice queue (the PBX queue's interaction queue). Agents must be Ready and have their phone registered to be counted as free.
  3. Recorded messages: put WAV files in the PBX prompts folder (prompts in the PBX data folder). Every Progressive or Predictive campaign needs an abandon message: it plays when no agent is free within 2 seconds and should say who is calling and why, and give a number to call back. A Voice Blaster campaign needs its message, and an abandon message too if it offers "press 1".
  4. Campaign: under Outbound campaigns, choose the mode, set calling hours, answering-machine handling (hang up and retry later, or leave a recorded message after the greeting), the most calls at once and the ring time, import leads and tick the consent confirmation, then Activate. The campaign row shows why it is not calling (outside hours, no free agent, no linked queue, a missing message).
  5. Watch the numbers: the leads panel shows calls in progress, how many were answered and the last 24 hours' abandoned-call rate against the target. Predictive pacing drops to one call per free agent whenever the rate reaches the target.

Rules WonderCX applies: no calls outside calling hours or to do-not-call numbers; no automatic repeat call within 72 hours of an abandoned call; retries only after the campaign's delay and up to its retry limit; consent is confirmed by a named supervisor or administrator and lapses when the mode changes. Whether automated or prerecorded calls are allowed at all depends on where the people you call live (for example the US TCPA and Telemarketing Sales Rule, Ofcom's persistent misuse policy in the UK, and TRAI's rules in India); this is not legal advice.

Governed private social campaigns

The existing supervisor/administrator campaign review workflow now supports private Telegram, LINE, Messenger, Instagram and Meta WhatsApp conversations alongside Twilio. Use Social for private social text campaigns and WhatsApp with the original account's numeric approved template ID for Meta WhatsApp; Twilio retains its HX... Content IDs. A campaign uses one original account, unique existing scoped recipients and at most 100 interactions, never groups/public comments/imported contacts. Every recipient must have explicitly sent START, UNSTOP or YES to that exact account. Social consent/suppression keys include the account UUID and provider user ID, preventing coincident numeric IDs on different platforms from borrowing consent or revoking one another.

Review approval is actor/session-bound, single-use and expires after five minutes. The Server checks the exact content, source identity, current consent, privacy/scope, reply windows, quiet hours, recipient versions and whole-batch capacity before atomic queueing. Meta private campaigns do not bypass standard 24-hour windows; WhatsApp uses approved text-only templates and rechecks provider approval at send time. Scheduled sends also evaluate the future reply window and hold changed/missed prerequisites for a fresh review. The provider worker can dispatch due direct campaigns without a configured Twilio account. Late opt-outs, role/scope changes and cancellation block final submission. Shared campaign erasure waits for every unresolved recipient delivery; restored campaigns are cancelled and unresolved provider work remains uncertain, never silently resent. Campaign consent is a technical minimum, not proof of lawful marketing purpose.

Provider accounts and callback setup

Create and own the external provider accounts, production permissions and subscriptions yourself:

Provider Account and sender Credentials and callback prerequisite
Telnyx Messaging profile UUID; provisioned two-way +E.164 sender API key and portal base64 Ed25519 public key; configure profile/message webhooks to the exact callback. Verification covers timestamp|raw JSON, with a five-minute signature window and profile/destination checks. Sending uses /v2/messages with the original from and messaging_profile_id.
Vonage SMS API API key; provisioned two-way +E.164 sender API secret and separate signature secret. Ask Vonage support to enable signed inbound messages and delivery receipts, selecting SHA-256 HMAC. Unsigned/MD5 callbacks reject. Configure the number's inbound URL and delivery callback. GET, form POST and string-valued JSON signed parameter callbacks are supported, with duplicate parameter rejection and a five-minute signature timestamp window.
Meta WhatsApp Cloud WABA ID; numeric phone_number_id (not display number) System-user access token, Meta app secret and independently chosen verification token. Subscribe the app to the WABA messages field; grant the applicable WhatsApp messaging/management access and register the business phone.
Facebook Messenger Facebook Page ID for both remote ID and sender Page access token, Meta app secret and verification token. Publish/subscribe the app for Page messages and delivery events. Production customers require the appropriate pages_messaging permission and Advanced Access/App Review; development access alone covers only app-role users.
Instagram Instagram professional account ID for both fields Instagram Login access token, app secret and verification token; approved instagram_business_manage_messages access and account message webhook subscriptions. Facebook Login token/protocol is not interchangeable with this connector.
LINE Bot userId from GET /v2/bot/info, beginning U, for both fields Channel access token and channel secret. Enable the Messaging API channel webhook. Raw-body x-line-signature HMAC-SHA256 and exact destination are verified. Replies use push messages to the original one-to-one user ID, with a stable retry key; platform quotas/friend/block restrictions still apply.
Telegram Numeric BotFather bot ID for both fields Matching bot token and chosen secret_token (16–256 allowed alphanumeric/underscore/hyphen characters). Register setWebhook yourself using the exact URL, secret_token, and allowed_updates=["message"]. Bot API identity is authenticated before every send; only customer-initiated private user chats are ingested, not groups/channels/other bots.
AWS SMS with SNS Remote ID: 12-digit AWS account ID. Sender: dedicated two-way E.164 number Commercial AWS region, dedicated phone-number/phone-… ARN, same-account/regional SNS topic ARN and configuration-set name. Access key ID, secret access key and session token for temporary credentials are stored as an encrypted bundle. Uses AWS End User Messaging SMS, not SNS Publish. See below for IAM, signatures and reviewed subscription setup.
Microsoft Teams Remote ID: Azure Bot application UUID. Sender: 28:<App-ID> Single-tenant directory UUID, application client secret and exact public-cloud regional Connector serviceUrl, including trailing slash. Enable the Teams channel on the bot and install its Teams app for personal chats. Group/channel chats, Emulator, managed identities, multi-tenant application credentials and sovereign clouds are not supported.

Each callback URL must be canonical public HTTPS with exact path /channels/<account-UUID>, no query/credentials/alternate port/fragment. Route only those paths through your own HTTPS reverse proxy to 127.0.0.1:8768 on the Electron Server (or https://<server-LAN-address>:8768 when Webhook and website chat listeners is set to a LAN option). Preserve the raw request body and provider signature headers, and redact credentials/signatures/query parameters in your proxy logs (especially Vonage signed GET callbacks). Do not publish the private RPC listener. Port 8768 is separate from Twilio and website chat; it is opened only while at least one direct account is enabled. Shared bounds are 64 KB/request, 100 decoded events, 100 connections, ten-second request/header deadlines and 3,000 requests/minute. New inbound message timestamps older than seven days or ahead of Server time by more than one minute reject; delayed valid timestamps do not renew a 24-hour reply window.

Meta GET subscription challenges check the configured verification token; POST notifications independently require X-Hub-Signature-256 against the untouched raw body using that account's app secret. The verification token is not sufficient to authenticate messages. WABA/Page/Instagram identity and phone/recipient IDs must match the configured account before intake. A callback path is account-specific; if a provider app aggregates multiple identities, use customer-owned routing that preserves signatures/raw bodies to the matching account path, or separately configured apps/subscriptions. Do not assume one account path accepts other identities.

Verify saved credentials makes a genuine authenticated provider read; enabling a native account also verifies credentials. It does not create subscriptions, prove webhook reachability or send a test customer message. HTTP SMS has no fake universal account-test button. Listener health proves only local binding; review real provider subscription, message and receipt logs during customer-owned certification.

Meta reply windows and approved templates

Messenger and Instagram text replies are limited to the standard 24-hour customer-initiated window. No human-agent extension, message tag or unsolicited outbound messaging is implemented. WhatsApp free text has the same window. Its timestamp is taken from the signed provider message, not callback arrival.

For WhatsApp, configure template JSON containing numeric template id, approved name and language (for example en_US). The composer accepts the configured ID and bounded numeric JSON variables. Immediately before each template POST, the Server queries that configured WABA's message_templates for the exact name, matches ID/language and APPROVED status, and verifies the body parameter sequence. Only BODY/FOOTER text templates with positional body placeholders are supported. Media headers, buttons and named parameters reject rather than being silently omitted. Up to 100 matching provider results are inspected; a template absent from that bounded response is blocked. Outside the window, an explicit verified inbound START, UNSTOP or YES for that exact account is additionally required. Approval checks do not establish marketing-purpose/legal consent.

STOP-family commands revoke consent and conservatively suppress that exact SMS or whatsapp: address across Twilio and direct accounts; private Social uses the account-scoped keys described above. START-family commands grant consent only to the account receiving them. Group/public comments do not create private campaign consent. Configurable zoned quiet hours block outbound free text/templates. Inbound message IDs, deduplication and account-bound thread identities persist before acknowledgment. Provider/remote account/sender/recipient collisions cannot borrow another conversation's consent, window or receipt.

AWS SMS and reviewed SNS subscription

Provision a dedicated two-way transactional SMS number in AWS End User Messaging SMS. Configure its two-way channel to the exact SNS topic and a configuration set publishing TEXT_ALL events to that same topic. The topic must authorize the relevant AWS service to publish; its HTTPS subscription must have raw message delivery disabled, so the signed SNS envelope is retained. Limit topic publishers/subscribers through IAM/topic policy. The Server credential needs sms-voice:DescribePhoneNumbers, sms-voice:DescribeConfigurationSets and sms-voice:SendTextMessage, scoped to the configured resources where the AWS action supports resource scoping. No AWS resource is provisioned automatically.

Save and enable the account, then create an SNS HTTPS subscription using its exact callback URL. SNS posts a signed SubscriptionConfirmation; WonderCX verifies it and keeps the pending token only in Server memory, without confirming automatically. Reload provider accounts, select the AWS account, inspect the pending topic and subscription endpoint in AWS, check the review acknowledgment and choose Confirm reviewed SNS subscription. Only the validated regional ConfirmSubscription URL with its exact signed topic/token is contacted, with public-DNS pinning and no redirects. Intent/completion are audited. Approval expires five minutes after the signed timestamp and is invalidated by account changes or a Server/listener restart; request a new confirmation if needed. A confirmed subscription does not prove message delivery.

Notifications require the exact configured topic, a five-minute signed-envelope replay bound and RSA-SHA256 or RSA-SHA1 SNS signature verification against a time-valid certificate fetched only from the exact regional SNS hostname and certificate path. Certificates are bounded/cached; notification-supplied URLs are never used as message destinations. Two-way payloads must target the configured E.164 number. Delivery events must match the original number and WonderCX account context, and receipts are correlated to the saved provider message ID and customer. Preserve signed envelopes on retries; notifications delayed outside the replay bound require operator review and fresh provider redelivery, not bypassing signature checks.

Before every send, authenticated AWS reads reverify the dedicated number ARN, E.164 number, active transactional/two-way state and SNS/event configuration. SendTextMessage explicitly supplies that ARN as OriginationIdentity, the configuration set and job/account context. Pools, sender IDs, shared-account numbers, noncommercial AWS partitions and country-specific sender/template registration parameters are not supported. Replies cap at 1600 characters. Accepted submissions are not delivery confirmations; ambiguous sends are never automatically repeated.

Microsoft Teams personal conversations

Create a single-tenant Entra application/Azure Bot registration in the public Microsoft cloud, enable its Teams channel, set this account's callback as the bot messaging endpoint and install the approved Teams app for your users. Keep the tenant/App ID, bot recipient ID and exact regional Connector service URL consistent. Service URLs are limited to canonical HTTPS paths on smba.trafficmanager.net or smba.infra.teams.microsoft.com; custom endpoints and redirects are rejected. Use an independently verified registration/activity to obtain the correct URL; never select a URL supplied by an untrusted message.

Every callback requires a real RS256 Bot Framework JWT: fixed OpenID metadata/JWK endpoints, strong RSA key, msteams endorsement, exact issuer/App ID audience, validity period (five-minute clock skew), and signed serviceurl matching both the activity and configured URL. Keys are cached for one hour with bounded unknown-key rotation refresh. The activity must additionally match the configured tenant and bot and use a personal conversation. Unverified callbacks cannot introduce a new service destination. Plain-text messages are supported; rich text/attachments and unsupported activity types reject rather than being silently treated as successful intake.

The original personal conversation ID and service URL persist with the interaction and queued reply. Two conversations with the same user stay separate. Every send obtains a scoped https://api.botframework.com/.default token from the configured tenant's Entra token endpoint, keeps it in Server memory only and addresses the original conversation on the fixed Connector URL. Tenant/service/recipient/conversation changes cannot retarget queued replies. Credential verification proves token acquisition, not bot installation, webhook readiness or customer delivery. Teams registrations, provider connectivity and public callback routing are external prerequisites; no WonderCX cloud backend or cloud CI is introduced.

Configurable HTTP SMS contract

This adapter supports an administrator-reviewed fixed public HTTPS JSON POST destination with Authorization: Bearer <API token>. Map three distinct simple top-level JSON property names to original from, customer to and text; configure a dot-separated scalar response message-ID path (at most eight properties). There are no scripts, executable templates, arbitrary headers/methods, query credentials, redirect following or request destinations supplied by an agent/webhook. Public DNS addresses are validated and pinned before the final authorization check; private/link-local/loopback/reserved destinations reject. The total request deadline is five seconds and JSON responses cap at 64 KB. If your gateway requires another auth/format/signature protocol, it is not directly compatible; implement and review a customer-owned protocol adapter or a dedicated native connector first.

Gateway callbacks use the exact account path, JSON and the following authenticated contract:

{"type":"message","account":"configured-remote-id","to":"+15551234567","from":"+15550001111","id":"provider-message-id","text":"Hello","timestamp":1792076400}

timestamp is the provider message's Unix seconds. For delivery receipts use {"type":"status","account":"configured-remote-id","to":"+15551234567","recipient":"+15550001111","id":"outbound-provider-id","status":"delivered"}. Recognized statuses are accepted, queued, sending, sent, delivered, read, failed, undelivered, canceled; unsupported statuses are not converted into delivery success.

Send X-WonderCX-Timestamp: <current Unix seconds> and X-WonderCX-Signature: v1=<hex HMAC-SHA256>. The signing input is UTF-8 wondercx.webhook.v1.<header-timestamp>. followed by the untouched raw JSON bytes, keyed with the independently configured signing secret. The header timestamp must be within five minutes of Server time. Account and exact original sender/destination must match after authentication. Re-sign callback retries with a fresh header timestamp while preserving their original message ID and occurrence time. This explicit receiver contract is not a claim that an arbitrary SMS provider natively emits it.

Outbox, credentials and recovery

Direct replies persist in per-record channelDeliveryJobs before dispatch, and appear with Twilio in Interactions → Messaging outbox and Server operations counts. A separate bounded/draining worker preserves per-thread order, checks current active actor/permissions/ownership, original provider/account/sender/recipient, privacy holds/erasure, opt-out/consent, quiet hours and reply windows immediately before actual network POST. Only explicit 429 retries automatically (up to five attempts, 30-second exponential backoff). Other explicit 4xx rejection fails; uncertain network/5xx/missing-ID results require provider-log review and acknowledgment before manual retry. A receipt racing an unfinished dispatch is not acknowledged until the provider retries after the message identity is recorded. Acceptance is not handset delivery; LINE/Telegram acceptance does not imply a delivery/read receipt. Cancellation cannot recall an accepted send. Neither native APIs nor the configurable gateway are claimed exactly-once.

Credential bundles are stored only as private channel-<UUID>.enc files using Server OS encryption, never in the database, renderer summaries, audit, portable backups or Client files. Blank fields retain all saved credentials; replacements require the complete bundle. Disable an account to remove its credentials. Concurrent settings/dispatch and stale async saves are blocked; a synchronous settings failure restores the previous credential bytes and workspace. This is application-level failure recovery, not a power-loss transaction across two files. Backups include validated nonsecret account metadata and outbox jobs; restore disables every account, invalidates credentials and marks unresolved jobs uncertain instead of resending. In-flight jobs block erasure/ownership changes. Governed content erasure removes terminal connector jobs and thread bindings while preserving hashed duplicate receipts; provider copies and older backups remain separately governed.

Botim Official Account (send-only)

Botim's public Open API for Official Accounts (docs.botim.me) can only send messages. It has no callback for customer replies and no voice or video calling API, so WonderCX treats Botim as an outbound-only Social channel:

  1. In the Botim Developer Portal, request an Official Account and open Manage → Overview → API Credentials. Approval creates an OAuth client with the oaDefault scope (followers only) and usually oaNoticeMsg (any Botim user). Botim's Open Platform team issues the production client secret; UAT secrets are shown in the portal.
  2. In Settings → WhatsApp, SMS & social accounts, add Botim Official Account (send-only). Remote ID is the OAuth client ID, sender is the Official Account ID, environment is Production (https://openapi.botim.me) or UAT. Supply the client secret only. No callback URL or reverse-proxy path is needed. Choose a Social queue for the conversations Agents start.
  3. Saving or Verify saved credentials requests a client-credentials token and checks that it was issued to this client. Botim provides no API for confirming the Official Account ID, so check it in the portal.

Agents (with interactions.create and interactions.manage) choose New interaction → Send through → Botim · and enter the customer's international number. This opens a Social conversation that is assigned to them, or reuses an open conversation with that customer. Their replies go through the durable provider outbox to POST /api/officialrs/msg/v2/text, with a fresh token for each send. Botim reports every result as HTTP 200 plus a code: TPS-limit responses retry automatically, 1/Failed to deliver/authorization codes fail, and anything else is uncertain and needs review. Quiet hours and opt-outs apply. There is no 24-hour window. Customer replies stay in the Botim app and never reach WonderCX. Botim sends are text-only, and Botim accounts are excluded from governed campaigns because inbound opt-in cannot be recorded.

Pending providers

  • X: no direct connector. Confirm the customer's approved account-activity/DM products, access tier, API version, subscription and OAuth contracts before implementing/certifying them.
  • LinkedIn: unavailable even when access has reportedly been approved, until the approved messaging product, partner documentation, scopes and callback contract are supplied. No public/general-purpose LinkedIn messaging API is invented.

Additional protocol references: AWS dedicated origination dispatch, AWS two-way SNS payload, SNS signature verification, Microsoft Bot Connector authentication.

WhatsApp calling (Meta Cloud API)

Agents can answer and place WhatsApp voice calls on a Meta WhatsApp Cloud direct-channel account. Twilio WhatsApp senders are not supported for calling.

How it works. Meta sends call signaling as calls webhooks to the account's existing callback (/channels/<account ID>), verified with the same app-secret signature as messages. The Server rings agents, and the agent's computer runs the audio as a WebRTC peer (Opus 48 kHz, DTLS-SRTP, full ICE against Meta's ICE-lite media servers, complete non-trickle SDP). The Server forwards that SDP to Meta with pre_accept and then accept, and sends reject/terminate when calls are declined, time out or are hung up. Audio never passes through the Server, so an answered call keeps its audio while the Server restarts. Ringing or connecting calls at Server start are marked interrupted.

Setup

  1. Add the number as a Meta WhatsApp Cloud account under Settings → Direct messaging and social accounts, enable it and verify it (see above).
  2. In the Meta app dashboard, subscribe the WhatsApp Business Account webhook to the calls field as well as messages. Keep SIP calling off for the number, because Meta disables the Graph calling endpoints while SIP is on.
  3. Under WhatsApp calling in the same Settings section, choose a queue that accepts Voice, set the ring time (15–55 seconds; Meta drops unanswered calls after about 60 seconds) and enable calling. If agents sit behind strict firewalls, optionally list up to three stun: servers (Meta provides none).
  4. Use Turn on calling at Meta (or Meta's WhatsApp Manager) so customers see the call button. Check Meta settings shows Meta's current calling status and warns if SIP is enabled.

Inbound calls. Each call creates a Voice interaction in the configured queue and rings every eligible user at once: role Agent or Supervisor, presence Ready, interactions.manage, the queue in scope with its team and skills met, and no other Voice interaction Active or in Wrap-up. The first to answer gets the call. Agents can decline; the call is rejected when every eligible agent declines, when the ring time ends, or when it arrives outside the queue's hours. Ringing WhatsApp calls are never auto-routed, assigned, transferred or cancelled from the interaction view. Missed calls become Cancelled Voice interactions, so they appear in Missed & Abandoned reporting. Answered calls go to Wrap-up when they end so the agent can record a disposition.

Outbound calls. On an open Meta WhatsApp conversation, WhatsApp call checks the customer's call permission with Meta. If permission is missing, the agent can send Meta's interactive call-permission request, but only inside the 24-hour customer-service window. Template-based permission requests are not sent. Permission replies are recorded on the conversation, not as customer messages. Meta enforces 1 permission request per 24 hours and 2 per 7 days, a limit of 100 connected calls per 24 hours per number, and automatic revocation after 4 consecutive unanswered business-initiated calls. Customers who opted out or are on the do-not-call list cannot be called. Outbound calls are billed by Meta per minute; user-initiated calls are free.

In-call controls. Agents can mute, use a keypad that sends RFC 4733 tones (WhatsApp plays them into the customer's call), and hold. Meta's API has no hold, so WonderCX holds locally: the customer hears a soft tone every four seconds instead of the agent's microphone, the agent stops hearing the customer, and audio keeps flowing so the call stays connected. Hold and resume are recorded on the interaction.

Limits. Calls cannot be transferred, conferenced or recorded. Audio needs outbound UDP from the agent's computer to Meta. One call per agent at a time. Meta's in-call recording/transcription and SIP-mode calling are not used.

References: Cloud API Calling, user-initiated calls, business-initiated calls, call permissions, API and webhook reference, media and ICE requirements. Verified with synthetic webhooks and a mocked Graph API, not a live Meta number.

Protocol references: Telnyx signed messaging webhooks, Vonage signing rules and support prerequisite, Meta Messenger webhooks, Meta WhatsApp webhooks, Instagram Login messaging, LINE raw-body signature verification, Telegram Bot API. Implementation is verified with synthetic data/provider mocks, not live customer sends or production-provider certification.

SMS / WhatsApp (Twilio)

An Administrator with queues.manage and channels.manage enters the Twilio credentials and numbers. Inbound messages need a public HTTPS URL (reverse proxy or tunnel) forwarding to the app's local webhook listener; use the URL shown in the channel settings for the Twilio console.

Additional senders · same Twilio account configures up to nine additional SMS and nine additional WhatsApp addresses, each with a channel-compatible inbound queue; the primary address is required for that channel. Exact E.164 addresses must be unique within their channel. SMS and WhatsApp may use the same numeric number because their channel addresses are distinct. Configure every sender with this account and the same signed public webhook. This does not create Twilio numbers or register/approve WhatsApp senders. Other implemented provider/account profiles use Direct messaging & social accounts, above, not this Twilio form.

Signed inbound callbacks retain exact destination/account identity. The same customer contacting two senders creates separate conversations, reply windows and original-address disclosures. Existing queue transfers do not switch the sender; changing/removing an address or account blocks its pending deliveries/retries/replies rather than silently adopting the primary. Restore the original identity before resuming. Legacy conversations/jobs/consents retain their original primary identity before configuration changes; omitted additionalSenders edits preserve the existing list, while explicit [] removes it. Channel changes on sender-bound conversations reject. Intake commits identity, consent, transcript and duplicate receipt before acknowledgment, rolling back failed persistence.

START/UNSTOP/YES opt-in is specific to the destination/account. Legacy unscoped consent applies only to its primary sender and is pinned before settings changes, never granted to new senders. STOP remains conservative: it blocks that customer's exact SMS or WhatsApp address across every configured sender and revokes all its consent records; a later START establishes consent for only the sender it contacted. Campaigns require all conversations to share one original sender/account and still deduplicate customer numbers. Retention, media access, scope checks and live-content erasure apply normally; erasure removes per-conversation sender bindings but retains independently governed consent/suppression records under the existing privacy policy. Only one Server worker/listener and OS-protected token are used. Client settings/replies do not persist profiles, threads or credentials locally.

Validation precedes token replacement. If the synchronous settings commit fails, the prior in-memory workspace and original encrypted credential bytes are restored; credential rollback failure reports an explicit stop-and-repair error. This is application-level failure recovery, not a cross-file power-loss transaction. Backup restore still disables all senders and invalidates credentials. Live multi-sender provider and native-keystore certification are required before production.

SMS and WhatsApp replies are saved to a server-local durable outbox before the provider request. Interactions → Messaging outbox exposes queued, retrying, failed and uncertain jobs within the operator's scope, including older interactions outside recent history. A single messaging worker orders replies per conversation, rechecks account/sender, ownership, consent and quiet hours, and drains at shutdown. Only an explicit HTTP 429 response automatically retries, up to five attempts with exponential backoff from 30 seconds. Other explicit 4xx rejection is failed; 5xx, missing provider IDs and ambiguous connection outcomes are uncertain. Neither Twilio POST nor retries are claimed to be exactly-once. Interrupted sending and unresolved restored jobs require provider-log review; Review and retry and Cancel delivery are available on the saved reply. Cancellation cannot recall provider-accepted messages. Local job completion is separate from provider queued/sent/delivered/read receipt status.

WhatsApp free-text replies require a verified inbound customer message received within the preceding 24 hours. Legacy conversations without a saved inbound timestamp require a new customer message or a configured approved template. In Settings → SMS & WhatsApp, add Twilio Content SIDs (HX…) and names, save them, then use Check approval to see current provider status. The composer supports numeric JSON variables and re-verifies approval before every template send. Outside the 24-hour window templates additionally require recorded explicit inbound START, UNSTOP or YES consent. STOP and related opt-out commands revoke consent and block free text and templates alike. Retained inbound MessageSIDs prevent duplicate callbacks from renewing the reply window or consent.

Optional Quiet hours use an explicit IANA time zone and start-inclusive/end-exclusive intervals, including overnight and daylight-saving changes. They block all outbound SMS/WhatsApp, including templates. Previously queued jobs wait while quiet hours are active; policy changes or opt-out during template verification are checked again before POST. Verify campaign templates and quiet-hour rules with your messaging provider before scheduling bulk outbound deliveries.

Settings → Governed messaging campaigns requires Administrator/Supervisor role and channels.manage, interactions.manage, and interactions.read. Save or edit a versioned draft targeting 1–100 existing scoped interactions in one channel. SMS uses bounded text; WhatsApp uses a configured Content template and shared numeric JSON variables, never free text. The Server requires explicit recorded inbound START, UNSTOP or YES for every recipient, even within WhatsApp's reply window, and rejects duplicate phone identities, closed/erased/out-of-scope conversations, unresolved deliveries, quiet hours and insufficient outbox capacity. This reuses channel opt-in; it does not establish marketing-purpose consent, legal eligibility or provider campaign registration. Operators remain responsible for those requirements.

Review campaign returns the exact content/template/variables, sender/account and recipient IDs/numbers/queues/consent timestamps. Explicit transmission acknowledgment and a five-minute, actor/session-bound single-use review are required to queue. Draft/recipient/version/consent/sender/policy changes invalidate review. Every job and the campaign transition persist together before the existing Server worker is kicked; file failure rolls back the batch. Clients forward these actions without an operational database or provider credential file. Every provider POST rechecks permissions, ownership, opt-out/opt-in and original sender/account; WhatsApp template approval is verified separately at send time. Template selection and local preview do not certify rendered provider content or approval.

For a one-time send, select Schedule for later and enter a future time in the displayed computer time zone. The local time with its time-zone label and exact UTC instant appear in the transmission review; the Server stores that instant, so different Client/Server time zones do not move the schedule. Invalid local times during daylight-saving clock changes reject. Quiet hours are checked at the selected time during review and again at dispatch. Schedule approved campaign persists the approving account and a digest of the reviewed recipients, versions, consent, content, sender and policy. No delivery jobs or outgoing messages are created early. The existing Server worker checks due schedules every five seconds; the Server must be awake and running. Current account activity, role/permissions, scope and reviewed details must still match before all jobs are created atomically.

An overdue schedule found at Server startup, a delay exceeding one minute while running (for example, sleep), or a changed/blocked authorization moves the campaign to NeedsReview without sending. There is no automatic catch-up. History explains why it was not sent; use Edit saved draft, choose a new future time or turn off scheduling to send now, save and review again. Cancel an approved schedule before replacing it. Already-queued jobs retain the existing per-send checks and quiet-hour waiting behavior; scheduling is not a provider-delivery-time guarantee.

History shows individual delivery states, distinct from receipt. Confirm campaign cancellation cancels scheduled work and queued/retrying/failed jobs but cannot recall sending, accepted or uncertain requests. A cancelled campaign cannot be requeued or its jobs retried; review uncertain provider logs and explicitly cancel individual jobs to resolve them. Drafts and needs-review campaigns can be edited, not duplicated automatically after failure. Campaign history is retained and paged without a record-count ceiling within the shared 64 MB workspace limit; the 100-recipient limit per campaign remains. No arbitrary number import, recurring scheduling or automatic campaign retry is exposed. Restore cancels queued, scheduled and needs-review campaigns, marks unresolved jobs uncertain, disables the connector and clears reviews rather than resending.

Scoped content erasure also cancels/redacts related campaign labels/text/variables and retained campaign delivery message copies in other recipient interactions. The erasure preview discloses this shared effect and requires visibility of every related interaction, no related content hold and no unresolved campaign delivery. Terminal delivery outcomes and limited campaign/job/interaction identifiers remain; this is not provider-side erasure, removal of older backups or marketing-compliance certification.

Optional closed SMS/WhatsApp media retention defaults to 0 (keep files). When enabled, the host removes media bytes from completed/cancelled conversations after the configured days, retaining names, sizes, expiration metadata and audit events. Open interactions and unresolved deliveries are excluded. Previously exported backups remain separate copies. Messaging settings and backup restore are blocked during an in-flight send; restore validates jobs/consent/policies before replacing the workspace and disables credentials/integrations until reconfigured.

Tickets, bookings and business rules

Everything below is configured under Settings → Business rules unless noted. Each area has its own permission; users with saved custom permissions do not receive new permissions automatically.

Permission Default roles Grants
tickets.read / tickets.manage Agents, Supervisors (Quality and Reporting read) Work tickets and complaints
records.admin Administrators Record types, response targets, assignment, triggers, complaint profiles, templates
tickets.approve Supervisors, Administrators Decide approvals on statuses marked Needs approval
macros.manage Supervisors, Administrators Shared macros
complaints.manage Supervisors, Administrators Record compensation
bookings.read / bookings.manage Agents, Supervisors (Quality and Reporting read) Bookings and caller reservation look-up
scheduling.admin Supervisors, Administrators Resources, services, reminders
payments.request Agents, Supervisors Create payment links
compliance.manage Administrators Consent register and breach register
records.sensitive Supervisors, Administrators Sensitive fields in health-data mode
wfm.read / wfm.manage Supervisors, Administrators (Reporting reads) Forecasts, adherence, rosters, goals
quality.calibrate Quality, Supervisors, Administrators QA calibration sessions

Records, tickets and automation

  • Record types and fields define the kinds of records, their custom fields (including sensitive and personal data flags) and status pipelines. A status can pause response targets or need approval.
  • Response-time targets apply the first matching active policy. Clocks use workspace hours, a named calendar (Settings → Business hours → Named calendars) or 24/7. Besides record type, priority and queue, a policy can match organisations by requester email domain (acme.com also matches eu.acme.com) and custom field values. When a target is breached, a policy can notify the assignee and chosen people and reassign the ticket to someone who can work it. The previous assignee is told before the ticket moves.
  • Ticket notifications (the Notifications button on Tickets) collect breach escalations and rule notifications. They are kept for 30 days.
  • Ticket triggers and automations apply all or nothing; triggers fire once per change and stop after 10 rounds; automations are checked every five minutes. Notify sends a ticket notification to the assignee or a chosen person. Email the requester sends a templated reply from the sender set under Reminders and notifications, on a new thread whose replies come back to the ticket; it runs after the rule's other actions succeed, and if it cannot be sent (no sender, no requester email, no Email queue the sender can see) the ticket says why. Because it sends as the reminder sender, adding or changing such a rule also needs scheduling.admin, interactions.create and interactions.manage. To prevent mail loops and backscatter it never replies to no-reply, mailer-daemon, postmaster or bounce addresses, sends at most one automatic reply per ticket and five per address in 24 hours, and does not count as the ticket's first response. Macros cannot send email; their reply text goes into the reply box instead.
  • Ticket assignment can be skills-based: per queue, choose a custom field whose value names the skills a ticket needs, and/or skills per record type. Only agents with every required skill are considered.
  • The "also viewing / replying" notice updates as soon as someone opens, leaves or starts typing on a record: Windows on the Server are told at once, and Clients pick it up from the regular connection heartbeat, besides the usual refresh every few seconds.
  • Email-to-ticket. In a mailbox's settings (Settings → Email), choose Open a ticket for new emails and a ticket record type. Every new email thread to that mailbox then opens one ticket (requester from the sender, subject from the email, tagged email) with the normal numbering, response targets, triggers and assignment. Replies in the same thread, and emails that quote an existing ticket number in the subject, go to that ticket instead.
  • Followers and @mentions. Follow on a ticket adds you as a follower. Followers get a ticket notification when the customer replies, when the status changes and when someone adds a note; whoever made the change is not notified. Typing @username in a note notifies that person (once) and adds them as a follower.
  • CC. Up to 10 email addresses can be copied on every email sent from a ticket (replies, Email requester and automatic replies). The requester's own address is refused.
  • Attachments. Users who can edit a ticket can attach files: up to 5 MB each, 20 files and 20 MB per ticket. Files are kept with the ticket, are not sent with it to other screens, and each download is audited. Erasing the ticket's content also deletes its attachments and CC list.
  • Solved tickets close automatically after 96 hours (Settings → Routing & SLAs).
  • Assets (Tickets → Assets) is a register of equipment and licences: tag, name, category, serial number, status, the email of the person it is assigned to, and location. Users with tickets.manage edit it. A ticket links to an asset when its Asset tag field (in the IT service desk template) holds the asset's tag; the ticket panel shows that asset and the requester's other assets, and Tickets on an asset lists its service history. Address-linked privacy erasure clears matching asset assignments.

Complaints

Add starter profiles under Complaint profiles, check each against its cited source and mark it verified. Changing a profile's deadlines creates a new version; existing complaints keep theirs.

Industry templates and signed packs

First-run setup can ask for your industry (optional). After signing in, administrators with records.admin see a prompt on Overview that opens that template's preview; nothing is applied until they confirm, and Not now dismisses the prompt for everyone.

Industry templates (records.admin) lists the nine built-in packs. Preview shows what a pack would add; Apply adds only what is missing, matched by id, so applying twice adds nothing and your own changes are never overwritten. Reminders are added turned off, and complaint profiles stay unverified until you check them.

Packs from other publishers. A consultant or vendor can publish a signed pack for other workspaces:

  1. The publisher creates a key pair once with node scripts/sign-template-pack.mjs --new-key private.pem public.pem, keeps private.pem secret and gives public.pem to the workspace.
  2. The publisher writes the pack as JSON with the same sections as a built-in pack (id, name, version, description, pipelines, recordTypes, slaPolicies, resources, services, reminderRules, macros, complaintProfileIds, and optionally flows, articles, labels and reportPresets, described below) and signs it with node scripts/sign-template-pack.mjs pack.json private.pem. This writes pack.signed.json.
  3. A user administrator (users.manage) adds the publisher under Trusted publishers by pasting public.pem. Compare the fingerprint shown with the one the publisher gives you through a separate channel.
  4. A template administrator chooses Import signed pack… and picks pack.signed.json. WonderCX checks the Ed25519 signature against the trusted publishers and validates every section with the same rules as its own settings. It refuses ids that belong to built-in packs, unknown complaint profiles, and versions that are not newer than one already imported. The pack then appears in the list for Preview and Apply like a built-in one.

Packs can also carry:

Section Added as Needs
flows (up to 10) Draft flows: review them in Flows, set real PBX numbers and prompts, then publish flows.manage
articles (up to 30) Private knowledge articles to fill in and mark public when ready knowledge.manage
labels Page names in the menu (for example Guests for Contacts, Work orders for Tickets); only Contacts, Interactions, Tickets and Bookings can be renamed, 1–30 letters, digits, spaces, &, ' or - users.manage
reportPresets (up to 10) Saved views on Reports: a name, the report tab (overview, summary, detailed), 7, 30 or 90 days, and optionally a queue and channel users.manage

Sections the applying administrator lacks the permission for are shown as kept and skipped. The built-in Hotel and Clinic templates include a draft phone menu, and most built-in templates include page names and starter articles. User administrators can also change page names under Industry templates → Page names, and save or delete views on Reports → Saved views (up to 30).

Imports, publisher changes and applies are recorded in the audit log, with the pack's SHA-256 and the publisher's key fingerprint. Removing a publisher stops new imports from it; removing an imported pack keeps anything already applied.

Scheduling, bookings and reminders

  1. Add resources and services under Scheduling (or apply an industry template).

  2. Configure Reminders and notifications: choose the sender user and queue, then add rules. STOP, CANCEL, YES and other carrier keywords cannot be reply keywords. WhatsApp reminders need an approved template. For SMS in India, open India SMS: DLT registration on the rule and enter the template ID your operator registered (and your principal entity ID), then the registered type of each variable (numeric, alphanumeric, URL, callback number or email). Before each SMS, every value is checked against its type and the 30-character variable limit; if one does not fit, that SMS is not sent and the next channel is tried. Sent reminders record the DLT template ID. Register the template itself with your operator or SMS provider as usual.

  3. Bookings are stored in their own table (schema migration 5). With the btree_gist extension (bundled with WonderCX's PostgreSQL), the database also refuses overlapping bookings on one resource; on an external PostgreSQL without it, the Server check alone applies.

  4. To reschedule, drag a booking on the Bookings day calendar to another time or resource, or use Reschedule in the booking panel. Dragging picks the nearest free slot and asks before moving, because the customer is notified.

  5. Repeating appointments: in New booking, choose Repeat (every week, 2 weeks, 4 weeks or month) and how many appointments in total (up to 26, or 12 monthly). Each occurrence keeps the same local time in the resource's time zone (also across daylight-saving changes) and uses the same resources where they are free, otherwise any suitable ones. Dates with no free time are skipped and listed. Cancelling one appointment can also cancel the following ones in the series.

  6. Capacity bookings (tables, classes, technician windows) are re-checked by the database at commit (schema migration 6), holding a per-resource lock, so a resource can never be overfilled even by two writers at once.

  7. Reminder report (Bookings → Reminder report, bookings.read): for the last 7, 30, 90 or 365 days, how many reminders were sent, skipped (with reasons) or are waiting, by channel and by rule; and for bookings in the period, how many got a reminder, were confirmed or cancelled by a reply, and the no-show rate with and without a reminder. The comparison is descriptive, not a controlled measurement.

  8. Calendar busy times: to stop bookings over a person's or room's own appointments, open Integrations → External sources → Calendar busy times (.ics), choose the resource and paste the calendar's secret or published address. Google Calendar: Settings → (the calendar) → Integrate calendar → Secret address in iCal format. Outlook/Microsoft 365: Settings → Calendar → Shared calendars → Publish a calendar (Can view when I'm busy is enough), then copy the ICS link. iCloud: share the calendar as a public calendar (webcal:// works). CalDAV servers such as Nextcloud: the calendar's export link. The Server reads the next 60 days every 5 minutes; only start and end times are kept, free and cancelled events are ignored, and the address is stored encrypted. If the address is reset in the calendar app, paste the new one.

Under Payment links, choose Stripe or Razorpay, enter a restricted secret key and the webhook signing secret (stored encrypted by the Server), then point the provider webhook at https://<Server address>/payments/webhook/<provider> through your HTTPS reverse proxy. Card numbers typed into messages, notes and fields are masked before storage unless turned off (audited) under Routing & SLAs.

Secure keypad (card numbers typed on the phone keypad). On an active call through the built-in phone engine, the agent on the call or a supervisor chooses Secure keypad in the call panel. While it is on, the customer's keypad presses (phone events, SIP INFO and tones in the audio) are not heard by the agent or supervisors and the recording is silent. The agent sees only how many keys were pressed, and WonderCX does not work out or store the digits. Turn it off when the customer has finished. WonderCX does not charge the card: use it when the customer keys their card into your payment provider's phone service, or send a payment link. With FreeSWITCH, use Pause recording and payment links.

Co-browsing. Works on website chats (the chat widget must be on the customer's page). In an active chat choose Start co-browsing; the customer sees a request in the chat window and can allow or decline. While they share, the agent sees that page only, with typed form entries masked; elements marked data-wcx-mask on your site are masked too (use it for account numbers or other sensitive text). Click the view to show the customer a marker. Nothing is saved; the customer or agent can stop at any time.

AI providers. Under Settings → AI assistance, choose the provider for reply drafts (OpenAI, Google Gemini, Anthropic Claude, or OpenAI-compatible with the service's API base address such as https://api.groq.com/openai/v1), type the model name and paste your API key. For Anthropic Claude, the suggested models are claude-opus-5-5 (the default), claude-sonnet-5-5 and claude-haiku-5-5. Drafts use low effort; on models that support it, a declined request is retried once by Anthropic on a fallback model (server-side refusal fallback). Anthropic has no speech-to-text service, so it isn't offered for transcription. Tick private network only for a service on your own network. Changing the provider or address needs the key entered again.

Live call transcription. Under Settings → AI assistance → Live call transcription, choose the provider (OpenAI, OpenAI-compatible or Deepgram), model and API key, optional language and daily minutes, tick Transcribe calls and confirm callers are told (for example in your greeting). It has its own key and needs the built-in phone engine. Agents see the transcript and suggestions in the call panel. Pause the recording or turn on secure keypad before card details: no audio is sent meanwhile.

Customer portal, help centre, surveys and invitations

These pages are served by the website chat listener, so web chat must be enabled behind an HTTPS reverse proxy:

Page Path Settings
Customer portal /portal/ Customer portal (needs the email channel)
Help centre /help/ Customer portal → help centre; articles marked Public. With the help centre on, the portal page also searches these articles (before and after sign-in) and suggests matching ones while a customer types a new request's subject
Survey pages /survey/<link> Customer surveys
Widget invitations /chat/invitations Website chat → Proactive chat invitations

Reservation and appointment systems

Under Reservation and appointment systems:

  • Mews and Cloudbeds are polled every five minutes (yesterday to 30 days ahead); tokens are stored encrypted.
  • HL7 v2 SIU listens over MLLP on a loopback or private address and port you choose. MLLP has no authentication, so on a network address you must list the allowed senders (IPv4 addresses or ranges such as 10.0.4.0/24); connections from anywhere else are dropped before any data is read, and refusals are logged on the source at most once a minute. Also restrict the port in your firewall.
  • Webhooks post to https://<Server address>/inbound/<source id> with X-WonderCX-Signature: sha256=<HMAC-SHA256 of the body>.
  • CSV imports map columns to record id, name, phone, email, start, end, status and summary.

Compliance, workforce and quality

  • Compliance (Workspace navigation) holds consents, health-data mode, per-type retention (records are erased automatically after the period) and the breach register. These are records and reminders, not legal advice.
  • Workforce (Work navigation) holds forecasts, rosters, adherence and goals; all views follow team scopes.
  • Quality adds blind calibration sessions and coaching; agents acknowledge coaching on My day.

Website live chat

Enable the web-chat channel, add the exact HTTPS origin(s) of your site to the allowlist, and publish through an HTTPS reverse proxy/tunnel. Do not expose the local listener directly to the internet. Paste the generated embed snippet in your site.

Firewall notes

  • Outbound: PBX WSS, IMAP (993), SMTP (465/587), configured messaging/social provider HTTPS APIs (443).
  • Inbound only if using webhooks/web chat, and only via your HTTPS proxy.

Enterprise deployment

  • Windows: deploy the role-specific NSIS installer via GPO/Intune/SCCM. WCX-Client-Setup-<ver>-win-x64.exe /S defaults to the current user, so run it in the intended Agent's context, not as SYSTEM. The standard WCX-Server-Setup-<ver>-win-x64.exe is all-users with a fixed protected directory; fresh silent setup needs /S plus reviewed local/external PBX parameters and explicit approval. Setup does not initialize a workspace as SYSTEM or replace local Administrator sign-in.
  • macOS: distribute the appropriate signed/notarized .dmg/.zip/.pkg via MDM (Jamf, Kandji, Intune). Microphone PPPC bundle IDs are com.wondercx.server and com.wondercx.client.
  • Linux: host .deb/.rpm in an internal apt/yum repository.

Troubleshooting

Symptom Fix
Linux: app won't start, missing libnss3/libgtk-3 Install the package via apt/dnf (not dpkg -i/rpm -i) so dependencies resolve
Linux: sandbox error in container/root Run as a normal user; as a last resort add --no-sandbox
macOS: "app is damaged" / unidentified developer See INSTALL.md
No audio Check OS microphone permission and the in-app device test
Credentials lost after restore Expected; backups invalidate credentials, so reconfigure channels