Call flow designer: feature parity with the 3CX Call Flow Designer #36

Closed
opened 2026-11-27 16:16:21 +00:00 by jonasled · 1 comment
Owner

The designer from #10 had only four step types. The 3CX Call Flow Designer offers many more building blocks. Reference: https://www.3cx.com/docs/manual/cfd-components/

Caller interaction

  • menu: retries, timeouts, own prompt for wrong / missing input
  • user input (collect digits with length check)
  • speak the digits of a value
  • record a message, record and e-mail
  • several prompts per step; spoken numbers, letters, dates and times
  • authentication as one block (PIN or ID:PIN list)
  • survey, results in the UI and as CSV
  • text to speech (needs an OpenAI compatible speech service, can be self-hosted)
  • speech input (same service)
  • credit card input

Logic and data

  • variables, set / add; system wide global values
  • conditions on variables and call data, several combined with all / any
  • time condition with holidays
  • loops (a call is limited to 100 steps)
  • reusable sub flows (transfer to another flow; variables are kept, no return)
  • HTTP / REST requests
  • database access (MariaDB, PostgreSQL, bound parameters)
  • CRM lookup: phone book block; external CRMs through HTTP requests

Call control and integration

  • transfer, disconnect
  • send e-mail
  • make a call (numbers from variables only with allowed prefixes, limited per minute)
  • attach call data (call history, name on the answering phone); read through built-in variables
  • extension status, queue status and waiting callers, global values
  • write to the log

Designer

  • markers for incomplete steps, undo, duplicate
  • copy / paste between flows, templates, duplicate a flow
  • test run: walks through a flow without a call, marks the way taken
The designer from #10 had only four step types. The 3CX Call Flow Designer offers many more building blocks. Reference: https://www.3cx.com/docs/manual/cfd-components/ **Caller interaction** - [x] menu: retries, timeouts, own prompt for wrong / missing input - [x] user input (collect digits with length check) - [x] speak the digits of a value - [x] record a message, record and e-mail - [x] several prompts per step; spoken numbers, letters, dates and times - [x] authentication as one block (PIN or ID:PIN list) - [x] survey, results in the UI and as CSV - [x] text to speech (needs an OpenAI compatible speech service, can be self-hosted) - [x] speech input (same service) - [x] credit card input **Logic and data** - [x] variables, set / add; system wide global values - [x] conditions on variables and call data, several combined with all / any - [x] time condition with holidays - [x] loops (a call is limited to 100 steps) - [x] reusable sub flows (transfer to another flow; variables are kept, no return) - [x] HTTP / REST requests - [x] database access (MariaDB, PostgreSQL, bound parameters) - [x] CRM lookup: phone book block; external CRMs through HTTP requests **Call control and integration** - [x] transfer, disconnect - [x] send e-mail - [x] make a call (numbers from variables only with allowed prefixes, limited per minute) - [x] attach call data (call history, name on the answering phone); read through built-in variables - [x] extension status, queue status and waiting callers, global values - [x] write to the log **Designer** - [x] markers for incomplete steps, undo, duplicate - [x] copy / paste between flows, templates, duplicate a flow - [x] test run: walks through a flow without a call, marks the way taken
Author
Owner

Done in f3a0d81.

Test state: real SIP calls against Asterisk with real key presses cover authentication, card entry (right and wrong check digit, expired date), survey, call data and display name, combined condition, text to speech and speech input, phone book lookup, status of extensions (available, offline, do not disturb) and of a queue, call back and database queries. Full suite on MariaDB, the flow tests also on PostgreSQL.

Limits of the tests

  • The speech service was a fake one in the test; no real TTS or recognition service was tried.
  • Spoken numbers, dates and times were only checked to run through, nobody listened to them (German prompts included).
  • Sending card data to an https service has no call test; the rules for where card data may go have unit tests.
  • Record, e-mail steps and holidays of a flow still have no call test.

Things to know

  • The credit card block checks the number, stops call recording and only allows the data in the body or headers of a POST/PUT to an https URL. It does not make an installation PCI DSS compliant. The data passes the Asterisk manager connection unencrypted (loopback or private container network).
  • The test run is a separate implementation from the dialplan; it can differ in details. It does not debug live calls.
  • Database connection strings are stored unencrypted. Use accounts with minimal rights.
  • This list covers the blocks named in this issue; it is not a guarantee of complete 3CX parity.

Please reopen if a block you need behaves differently from 3CX.

Done in f3a0d81. **Test state:** real SIP calls against Asterisk with real key presses cover authentication, card entry (right and wrong check digit, expired date), survey, call data and display name, combined condition, text to speech and speech input, phone book lookup, status of extensions (available, offline, do not disturb) and of a queue, call back and database queries. Full suite on MariaDB, the flow tests also on PostgreSQL. **Limits of the tests** - The speech service was a fake one in the test; no real TTS or recognition service was tried. - Spoken numbers, dates and times were only checked to run through, nobody listened to them (German prompts included). - Sending card data to an https service has no call test; the rules for where card data may go have unit tests. - Record, e-mail steps and holidays of a flow still have no call test. **Things to know** - The credit card block checks the number, stops call recording and only allows the data in the body or headers of a POST/PUT to an https URL. It does **not** make an installation PCI DSS compliant. The data passes the Asterisk manager connection unencrypted (loopback or private container network). - The test run is a separate implementation from the dialplan; it can differ in details. It does not debug live calls. - Database connection strings are stored unencrypted. Use accounts with minimal rights. - This list covers the blocks named in this issue; it is not a guarantee of complete 3CX parity. Please reopen if a block you need behaves differently from 3CX.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jonasled/openpbx#36
No description provided.