Skip to content

eclipse-oniro-mirrors/telephony_cellular_call

Repository files navigation

Cellular Call

Introduction

The cellular call module provides basic call services on carrier networks, including 2G/3G circuit switched (CS) calls and 4G/5G IP multimedia subsystem (IMS) calls (including VoLTE/VoWIFI/VoNR voice, video, and conference calls). It also supports domain selection and handover between CS and IMS calls, as well as emergency calls. This module is compatible with mainstream modem chip platforms.

The following figure shows the architecture of the cellular call module.

Figure 1 Architecture of the cellular call module

The cellular call module consists of three layers:

  1. Cellular call management layer (CellularCallService): consists of CellularCallRegister, CellularCallProxy, and CellularCallHandler. CellularCallRegister provides the function of registering an observer for call information changes; CellularCallProxy functions as a proxy for implementing external APIs of CellularCallService; CellularCallHandler processes callback events reported by the RIL Adapter.
  2. Cellular call service layer (CellularCallStub): consists of CSControl, IMSControl, CellularCallConfig, and CellularCallSupplement. CSControl implements CS call control; IMSControl implements IMS call control; CellularCallConfig implements call information configuration; CellularCallSupplement implements supplementary services.
  3. Cellular call connection layer (Connection): consists of BaseConnection, ConfigRequest, and SupplementRequest. BaseConnection implements the call session connection function; ConfigRequest implements configuration requests; SupplementRequest implements supplementary service requests.

Directory Structure

/base/telephony/cellular_call     # Cellular call module
├─ BUILD.gn                       # Build script (gn)
├─ README.md                      # Readme
├─ services
│  ├─ common                      # Tools
│  ├─ connection                  # Connection layer
│  ├─ control                     # Control service layer
│  └─ manager                     # Management layer
├─ sa_profile                     # SA profile
├─ ohos.build                     # Build code
└─ test                           # Test code

Constraints

  • Programming language: C++
  • Software constraints: This module must work with the telephony core service (core_service) and Call Manager (call_manager).
  • Hardware constraints: The accommodating device must be equipped with a speaker or earphone, a headset, and a modem and a SIM card capable of independent cellular communication.

Note: APIs for the cellular call service are not exposed externally. They are directly called by the Call Manager.

Repositories Involved

Telephony Subsystem

telephony_cellular_call

telephony_core_service

telephony_call_manager

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages