Reporting and Analytics
OPBX provides call detail records and real-time monitoring to help you track call activity and system performance.
Overview
Reporting features include:
- Call Logs (CDR) - Call detail records from Cloudonix
- Live Calls - Real-time active call monitoring
- Call Notifications - Webhook configuration for call events
- Export - Download CDR data for analysis
Call Logs (CDR)
What are Call Detail Records?
Call Detail Records (CDR) are records received from Cloudonix at the end of each call. They contain:
- Call duration and billable seconds
- Call disposition (answered, busy, no answer, failed)
- Caller and destination numbers
- Call timestamps (start, answer, end)
- Cost information (if available)
- Raw CDR data from Cloudonix
Viewing Call Logs
- Navigate to Call Logs in the sidebar
- View the list of call records
- Use filters to narrow results:
- From number (caller)
- To number (destination)
- Date range
- Disposition (answered, busy, etc.)
Call Log Details
Each record shows:
- Date/Time - When the call occurred
- From - Caller number
- To - Destination number
- Duration - Total call duration in seconds
- Billsec - Billable/connected duration
- Disposition - Call outcome
Click on a record to view detailed information including the raw CDR data from Cloudonix.
Role-Based Access
| Role | Access |
|---|---|
| Owner | All calls |
| PBX Admin | All calls |
| PBX User | Only calls involving their extension |
| Reporter | All calls (read-only) |
Exporting CDR Data
Export call records to CSV:
- Apply desired filters
- Click Export button
- Download the CSV file
The export includes:
- Session timestamps
- From/To numbers
- Duration and billsec
- Disposition
- Raw CDR JSON data
Live Calls
Overview
Live Calls shows real-time active calls in your organization. This includes:
- Currently ringing calls
- Active (answered) calls
- Call direction (incoming/outgoing)
- Call duration
Viewing Live Calls
- Navigate to Live Calls in the sidebar
- See all active calls in real-time
Refresh Options
Configure how often the data refreshes:
- No Refresh - Manual refresh only
- 1 Second - Real-time updates
- 5 Seconds - Recommended default
- 15/30/60 Seconds - Less frequent updates
Live Calls uses WebSocket connections for real-time updates with HTTP polling fallback.
Call Information
Each live call shows:
- Caller ID - Who is calling
- Destination - Where the call is going
- Direction - Incoming or outgoing
- Status - Ringing, answered, etc.
- Duration - How long the call has been active
Disconnect Calls
This action is available to Owner and PBX Admin roles only.
To disconnect an active call:
- Find the call in the list
- Click Disconnect
- Confirm the action
Call Notifications
Overview
Call Notifications allow you to configure webhooks that receive call event notifications from OPBX. This enables integration with external systems.
Features
- Webhook URL - Your endpoint to receive notifications
- Authentication - HMAC SHA256 or Basic Auth
- Event Selection - Choose which call events to receive
- Retry Logic - Automatic retry on failure
- Rate Limiting - Configurable per-minute limits
Configuration
- Navigate to Call Notifications in the sidebar
- Configure webhook settings:
- Webhook URL - Your HTTPS endpoint
- Auth Method - HMAC SHA256 or Basic Auth
- Auth Secret - Secret for signature verification
- Enabled Events - Select call events to receive
- Retry Attempts - Number of retries (default: 3)
- Rate Limit - Max notifications per minute (default: 500)
Available Events
- Call initiated
- Call answered
- Call ended
- Session updates
- CDR received
Notification Logs
View delivery logs to debug webhook issues:
- Delivery status (success/failed)
- HTTP response codes
- Request/response payloads
- Retry attempts
Testing
Send a test webhook to verify your endpoint:
- Configure settings
- Click Test Webhook
- Check your endpoint received the test event
Blocked Call Logs
If you use the Inbound Blacklist feature:
- Go to Inbound Blacklist page
- View the Blocked Call Logs section
- See:
- Blocked caller numbers
- Date and time
- Target DID number
- Rejection strategy used
Statistics show:
- Total blocked calls
- Blocked today
- Blocked this week
- Most frequently blocked numbers
Troubleshooting
Missing Call Data
Problem: Calls not appearing in logs.
Solutions:
- Verify Cloudonix integration is configured
- Check CDR webhook is receiving data
- Wait for call to complete (CDRs are generated after call ends)
- Check date range filters
Live Calls Not Updating
Problem: Live calls list is stale.
Solutions:
- Check refresh interval setting
- Verify WebSocket connection status
- Manually refresh the page
- Check browser console for errors
Webhook Not Receiving Notifications
Problem: Call notifications not reaching your endpoint.
Solutions:
- Verify webhook URL is accessible
- Check authentication configuration
- Review notification logs for errors
- Ensure events are enabled
- Check rate limit status
Next Steps
- Inbound Blacklist - Block unwanted calls
- Cloudonix Integration - Configure data sources
- User Management - Control access
Related Documentation:
- Call Routing - Understand call flow