Firestore Sync
-- ms Sync Live
FreePBX Latency
-- ms Connected
WhatsApp Gateway
99.9% Active
Server Telemetry
100% Uptime: 2d 5h
Total Orders

0

WhatsApp Sent

0

Calls Triggered

0

Order Dispatch Simulator

Simulate a live order event to verify alert gateways
Food Presets:

Realtime Gateway Activity

Waiting for live order events... Logs will stream here in real-time.

Real-time Dispatch Board

No orders captured yet. Trigger a test order or send database entries to start monitoring.

FreePBX Voice Settings

Configure Asterisk Manager Interface (AMI) parameters & call variables

FreePBX Asterisk Dialplan Config

Paste this custom dialplan context inside your FreePBX Asterisk settings

The node application connects to FreePBX AMI on port 5038 over your Tailscale VPN network and originates calls passing the TTS_TEXT channel variable. Add this to /etc/asterisk/extensions_custom.conf:

[custom-order-notify]
exten => s,1,NoOp(=== Incoming Custom Order Notification Call ===)
exten => s,n,Answer()
exten => s,n,Wait(1)

; If Google TTS AGI script is installed:
exten => s,n,agi(googletts.agi,"${TTS_TEXT}",en-IN)

; Alternate fallback: Play beep and generic accept prompts
; exten => s,n,Playback(beep)
; exten => s,n,Playback(incoming-call-1-accept)
; exten => s,n,Playback(beep)

exten => s,n,Hangup()
              

WhatsApp Gateway Settings

Configure official Meta WhatsApp Business Cloud API parameters

WhatsApp AI Ordering Bot

Enable WhatsApp Food Bot

Allow users to place orders and converse with the chatbot over WhatsApp.

Leave blank to use the built-in regex-based local NLP ordering parser.

Send Test WhatsApp Message

Send a manual template-based test alert to verify recipient configuration

Promotional Campaign

Send WhatsApp marketing offers directly to customers.

Campaign History

Operator Customer Number Status Sent At

Firebase / Simulation Config

Control order listeners, simulation states, and master toggles

System Mode

Simulation Mode

Disable to use live API credentials. Enable for offline visual sandbox.

Firestore Listener Settings

Ensure your service account key is saved as firebase-service-account.json in the project root.

Full Gateway Logs

Audit real-time logs, debug webhooks, API requests, and voice call originate events

Logs will populate here as events occur.

Add Operator Account

Create a new authenticated console account

Authenticated Console Users

Manage console operator accounts and roles
Username Role Created At Actions

Add Console Role

Define a new access role with specific privileges

Defined Console Roles

Active access roles and their permission grants
Role Name Description Permissions Actions

Operator Sign In

Change Password