Skip to main content

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

  1. Download the Agora Call module package
  2. Extract the module to Modules/AgoraCall
  3. Run the installation command:
php artisan module:enable AgoraCall
php artisan migrate
  1. Configure your Agora credentials in the environment file:
AGORA_APP_ID=your_app_id
AGORA_APP_CERTIFICATE=your_app_certificate
  1. 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:

  1. Create an account at Agora.io
  2. Create a new project in the Agora Console
  3. Enable the Voice and Video Calling products
  4. Copy your App ID and App Certificate
  5. 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