Agora Call
This module enables audio and video calling functionality using Agora platform for real-time communication.
Features
- Voice Calls: High-quality audio calls between users
- Video Calls: Face-to-face video communication
- Call History: Complete log of all incoming and outgoing calls
- Call Notifications: Real-time push notifications for incoming calls
Requirements
- Open Core Business Suite (Base System)
- OC Connect module (for chat integration)
- Agora account with API credentials
Installation
- Download the Agora Call module package
- Extract the module to
Modules/AgoraCall - Run the installation command:
php artisan module:enable AgoraCall
php artisan migrate
- Configure your Agora credentials in the environment file:
AGORA_APP_ID=your_app_id
AGORA_APP_CERTIFICATE=your_app_certificate
- Clear the application cache:
php artisan optimize:clear
Usage
Making Voice Calls
Initiate voice calls directly from conversations:
- Open a chat conversation in OC Connect
- Click the phone icon to start a voice call
- Wait for the recipient to accept
- Use mute/unmute controls during the call
Making Video Calls
Start face-to-face video communication:
- Open a chat conversation in OC Connect
- Click the video camera icon to start a video call
- Grant camera and microphone permissions when prompted
- Use video controls to toggle camera on/off
Call History
View and manage your call records:
- Navigate to Communication > Call History
- Filter by incoming, outgoing, or missed calls
- View call duration and timestamps
- Click on any entry to call back
Call Notifications
Receive real-time notifications for incoming calls:
- Push notifications on mobile devices
- In-app notifications on web interface
- Call ringtone with accept/decline options
Configuration
Access module settings at Settings > Agora Call to configure:
- Default call quality settings
- Video resolution preferences
- Call timeout duration
- Ringtone selection
- Notification preferences
Agora Account Setup
To use this module, you need to:
- Create an account at Agora.io
- Create a new project in the Agora Console
- Enable the Voice and Video Calling products
- Copy your App ID and App Certificate
- Configure the credentials in your application
Technical Notes
- Agora provides global infrastructure for low-latency calls
- Supports adaptive bitrate for varying network conditions
- End-to-end encryption available for secure communications
- Compatible with web, iOS, and Android clients