call-logs

Retrieve call logs via CallLogsRequest with pagination and filters.

31|9|Updated Mar 10, 2023
One-click install
npx skills add https://github.com/cometchat/calls-sdk-ios --skill call-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: call-logs
Source: https://github.com/cometchat/calls-sdk-ios/tree/main/skills/call-logs
Command: npx skills add https://github.com/cometchat/calls-sdk-ios --skill call-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

You need an easy way to retrieve and display a user's call history, including specific subsets like missed calls, audio/video calls, and calls that have recordings, without manually managing paging.

Core Features & Use Cases

  • Call history retrieval: Fetch call logs via CallLogsRequest with pagination (next/previous).
  • Filtering and narrowing results: Filter by call type, status, direction, presence of recordings, and specific users.
  • Recordings access: Read recording URLs and durations for call logs that include recordings.

Quick Start

Use the call-logs Skill to fetch the latest call history for your app by building a CallLogsRequest with a page limit and running fetchNext to receive call logs.

Frequently Asked Questions about call-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch call history with pagination in a WebRTC calls SDK?

Fetch call history by executing CallLogsRequest with forward and backward pagination. Set a page limit using CallLogsBuilder and run fetchNext to retrieve the latest call log session identifiers, status, and duration.

Can I filter call logs by call type, status, and direction?

Yes, you can filter call logs by applying CallLogsBuilder parameters including callType, callStatus, and callDirection. This narrows results to specific subsets like missed calls, audio or video calls, and inbound or outbound sessions.

How do I access WebRTC call recordings and their metadata?

Access call recordings by filtering call logs with the hasRecording parameter. The returned call log entries include optional recording URLs and durations for sessions where recordings are available.

How do I retrieve call history for a specific user or group?

Retrieve call history for specific targets by passing the uid parameter into CallLogsBuilder. This filters the CallLogsRequest results to show only call log sessions involving the specified users or groups.

Do I need an SDK token to retrieve call logs?

Yes, retrieving call logs requires SDK token resolution from stored login state. The CallLogsRequest execution depends on valid authentication to return session identifiers, status, duration, and optional recordings.

What's the best way to narrow call log results by recording availability?

Narrow call log results by setting the hasRecording filter in CallLogsBuilder. This targets only sessions with recordings, returning their metadata alongside standard call status and duration data via CallLogsRequest.