Workspace Role Admin

Manage operations, users, and allocations

LeadOne Dynamic Operations Hub

CRM Performance Dashboard

Monitor dynamic KPIs, track conversion rates, map industry-wide leads distribution, and analyze team productivity in real-time.

Total Leads

0

All time captured
Today's Leads

0

Fresh arrivals
Assigned Leads

0

Routed to agents
Follow-ups Due

0

Pending action
Won Deals

0

Successful conversions
Lost Leads

0

Unsuccessful closures
Conversion Rate

0%

Won vs Total
Revenue Forecast

₹0

AI scoring projected

Pipeline Funnel

Lead progression stage metrics breakdown.

Team Performance (Top Agents)

Assigned leads volume and won conversions per agent.

Agent Name Total Assigned Won Leads Performance Ratio

Lead Source Analysis

Breakdown of leads by their onboarding channel/category.

Industry-wise Leads Distribution

Aggregate lead volume across system categories.

Unassigned Leads 0
Assigned Leads 0
Total Leads Queue 0

Unassigned Lead Queue

Select pending leads below to allocate to active agents.

Lead Detail Phone Number Status

Routing & Distribution

Trigger round-robin allocation engine or assign manually

Auto-Allocation System Distributes all pending queue leads automatically.
Manual Direct Assignment Select agent below to route selected checkbox leads.
Bulk Equal Distribution Distribute checked leads equally among selected agents.

Agent Load Trackers

Select agents for bulk equal lead distribution

Total Staff Onboarded 0
Active Agents 0
Online Staff 0

Employee Directory

List of all active administrative and agent user profiles for this tenant portal.

EMP ID Employee Detail Role Type Workload Capacity Status Actions

Geofence & Attendance Console

Location Onboarding, Radius Audits, and GPS Compliance Reports

Approved Geofences

Location Name Office Address Coordinates (Lat, Lon) Radius Checkout Check Status

Geofence Distance Calculator

Simulates the Haversine radial checks that block out-of-bounds agents dynamically.

Attendance Geofence Compliance reports

Total Attempts Logs
Blocked Attempts
Successful Check-Ins
Geofence Match Rate
Agent Name Action Timestamp GPS Coordinates Distance Checked Matched Location Result status
Agent Name Attempt type Time Distance Checked Office Target Blocked Reason
Office Location name Branch / Office Code Total Checked-In Employees

Customer Visits & Lead Inquiry Console

Track field footfalls, verification photo proof and executive conversions

Total Footfall Today
Interested Leads
Not Interested
Conversion Rate

Photo Verification & GPS Audit Log

Customer Executive / store Photo proof GPS coordinates Store Proximity status

Pending Inquiry Follow-ups

CRM SLA Compliance & Escalation Console

Configure shifts, track inactivity heartbeats and audit hierarchy alerts

Login SLA Score
Lead Response Score
Follow-up Score
Active Breaches

Active SLA Breach Incident alerts

Agent Breach Type Severity Incident time Lead Match Action

Live agent status tracker

Real-time status changes captured from user actions, breaks and SLA breach flags.

Online Workforce
Agents on Break
Inactivity SLA Breached
Offline Executives
Total Campaign Forms 0
Leads via Campaigns 0

Campaign Forms Directory

List of all active public-facing lead generation landing forms created for this tenant portal.

Campaign Detail Category Public Landing Link Form Lead Volume Actions

Knowledge Base Articles

AI Bot Services Console

Enable and configure CRM context-aware AI support operators for outbound and inbound chats.

Model Gateway Settings

Dynamic Context Injection

LeadOne AI Bot operates on an advanced context injection model. When responding to clients, the bot automatically reads:

  • 👤 User Profiles: Customer names, email details, and location telemetry.
  • 📊 Lead Statuses: Active CRM stages, allocations, and priorities.
  • 🎫 Service Tickets: Recent unresolved issues and SLA deadlines.
Security Architecture

API keys are stored using industry-standard AES-256-GCM encryption natively tied to your CRM Application Encryption Key. This prevents raw database reads from exposing your credentials.

Integrations Hub

Configure external API credentials and toggle integrations services.

Cloud Telephony Platform Console

Multi-Tenant FreeSWITCH Originator & Billing Webhook Manager

Tenant Accounts Directory

Wallet balances, active API Keys, and virtual number bindings.

Tenant Name API Key (X-API-KEY) Wallet Balance Mapped DIDs Actions

DID Inventory Management

Virtual inventory mapping to route inbound call legs.

Virtual Number Assigned Tenant Status Provisioned Date

Click-to-Call Simulator

Simulates the Laravel Core request `/click-to-call` triggered by a client CRM, passing auth API keys in the header.

CDR Webhook Simulator

Simulates the FreeSWITCH callback to `/telephony/fs-cdr` when calls hang up. Demonstrates real-time pulse wallet deduction & unique transaction logging.

Centralized CDR Logs (Telephony Database)

Permanent logs written inside isolated database transactions.

Call UUID Tenant Context Numbers (From → To) Duration Deducted Status Recording URL (AWS S3)

Custom Android Dialer & LeadOne CRM Integration Guide

Complete native architecture blueprint for mobile app developers to implement Number Masking, Auto-Call Recording Sync, and Inbound Callback Blocking.

Developer Integration Parameters

Copy these parameters to replace static template configurations inside the Kotlin SDK below:

API Endpoint:
API Key Header: X-API-KEY: [Selected Tenant Key]

The native Android app coordinates background SIM dialers and tracks call progress dynamically to sync assets to the CRM. The core layout flow is mapped as follows:

Component Responsibility Mechanism / API Used
LeadOne Web Portal Supervises agent dashboard, captures telemetry, and schedules click-to-call sequences. POST /api/v1/click-to-call
Firebase Push (FCM) Sends high-priority silent background data messages to target handsets instantly. FCM Data Payload (High Priority)
Custom Mobile App Triggers outbound dialer, intercepts call state, locks directory, and captures recorded audio files. TelecomManager, FileObserver, RoleManager

To mask customer numbers from agents, the app displays a masked format string in the mobile user interface while executing the background telephony dialing using the genuine phone number parameter.

Manifest Permissions (Androidmanifest.xml)
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
Kotlin Implementation Spec
fun initiateMaskedCall(context: Context, realNumber: String) {
    // 1. String Manipulation to Mask Number (e.g., 98XXXXXX12)
    val maskedNumber = if (realNumber.length >= 4) {
        realNumber.take(2) + "X".repeat(realNumber.length - 4) + realNumber.takeLast(2)
    } else { 
        "XXXX" 
    }
    
    // Update UI TextView so Agent only sees masked format
    agentUiTextView.text = maskedNumber

    // 2. Trigger Native SIM Call in Background with REAL Number
    val intent = Intent(Intent.ACTION_CALL).apply {
        data = Uri.parse("tel:$realNumber")
        flags = Intent.FLAG_ACTIVITY_NEW_TASK
    }
    if (ActivityCompat.checkSelfPermission(context, Manifest.permission.CALL_PHONE) == PackageManager.PERMISSION_GRANTED) {
        context.startActivity(intent)
    }
}

Because Android restricts programmatic call line recording, the stock device recording must be turned on. The app runs a background FileObserver to detect fresh audio files and syncs them automatically to the LeadOne CRM.

Kotlin FileObserver & Retrofit Handshake
class CallRecordingObserver(path: String, val leadId: String) : FileObserver(File(path), CLOSE_WRITE) {
    override fun onEvent(event: Int, path: String?) {
        if (path != null && (path.endsWith(".mp3") || path.endsWith(".m4a") || path.endsWith(".wav"))) {
            // Call ended and file writing completed. Trigger upload instantly.
            uploadRecordingToLeadoneCRM(File("$parentPath/$path"), leadId)
        }
    }
}

fun uploadRecordingToLeadoneCRM(file: File, leadId: String) {
    val requestFile = RequestBody.create(MediaType.parse("audio/*"), file)
    val body = MultipartBody.Part.createFormData("recording", file.name, requestFile)
    val idPart = RequestBody.create(MediaType.parse("text/plain"), leadId)

    // Retrofit API Call to Leadone CRM
    ApiClient.leadoneService.uploadCallLog(body, idPart).enqueue(object : Callback<ResponseBody> {
        override fun onResponse(call: Call<ResponseBody>, response: Response<ResponseBody>) {
            // File Synced Successfully, delete local cache if required
        }
        override fun onFailure(call: Call<ResponseBody>, t: Throwable) {
            /* Handle Retry Logics */
        }
    })
}

To prevent customers from dialing back directly to personal SIM lines, the app intercepts incoming rings and checks the number against the CRM local lead database. It programmatically terminates the call leg within milliseconds to render a BUSY status.

Kotlin Telephony Broadcast Interceptor
class InboundCallReceiver : BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent) {
        val state = intent.getStringExtra(TelephonyManager.EXTRA_STATE)
        if (state == TelephonyManager.EXTRA_STATE_RINGING) {
            val incomingNumber = intent.getStringExtra(TelephonyManager.EXTRA_INCOMING_NUMBER)
            // Check if this number belongs to Leadone CRM lead database
            if (isCrmLead(incomingNumber)) {
                rejectCallWithBusyTone(context)
            }
        }
    }
}

private fun rejectCallWithBusyTone(context: Context) {
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
        val telecomManager = context.getSystemService(Context.TELECOM_SERVICE) as TelecomManager
        if (ActivityCompat.checkSelfPermission(context, Manifest.permission.ANSWER_PHONE_CALLS) == PackageManager.PERMISSION_GRANTED) {
            // This immediately disconnects the call at network switch level, rendering a BUSY status
            telecomManager.endCall()
        }
    }
}
  1. RoleManager Verification: Call blocking functionality requires the app to hold the default dialer role. Request user action for RoleManager.ROLE_DIALER input validation checks.
  2. Foreground Execution Protection: Prevent battery optimization constraints from killing background sync routines. Use a sticky Foreground Service coupled with constant WakeLock allocations.
  3. High Priority Push Config: Click-to-call sequences must send silent push messages with high priority (priority: high data messages) rather than system notification payloads.

Agent break & attendance reports

Track agent daily working hours, break utilization and policy limits violations.

Total Active Agents
Violations Today
Break Compliance
Daily Login Target 8h 30m
Agent Name Email Address Login Time Logout Time Total Working Hours Total Break Time Break Limit Status
Agent Name Breaks Count Total Break Taken Break Breakdown Details
Agent Name Violation Date Total Break Taken Allowed Break Time Excess Break Duration
Tenant Partner Company Reporting Admin / Manager Name Total Violations Logged
Agent Name Employee ID Days Present (This Month) Average Working Hours Policy Compliance Rate

Call Recording Store

Listen to or download synced inbound and outbound call recordings history.

Call Date / Time Lead Info Phone Number Call Type Status Duration Audio Playback Actions
Communication Channels:

Call Outcomes & Disposition Fields Setup

Configure how many dropdown status layers and text areas agents see when logging call feedback outcomes.

Field Configuration List

Infinite Dynamic Category & Sub-Category Mapper

Configure hierarchical classifications of calls for granular agent tracking and operations reporting.

Category Tree Map

Omnichannel Resolution & Bot Trigger Rules

Define trigger milestones. When lead status moves to these stages, reply via customer's incoming channel automatically.

Active Automation Paths

Total Leads
In your pipeline
This Page
Loaded leads
Page
Pagination
Industries
Configured
UID Lead Name Contact Source Priority Status Assigned Deal Value Added Actions
Showing of leads

Lead Detail

Name:
Company:
Mobile:
Email:
Status:
Priority:
Deal Value:
Assigned To:
City:
Source:
Description:

Activity Timeline

No activities yet for this lead.

Role & Access Permissions Management

Configure custom user roles and restrict access to modules, omnichannel communication channels, and actions.

Role Name Reporting Manager Role Type Permissions Overview Actions

This module is currently being migrated.