Call Initialization

For call UI you need to do following setup, so the call feature can work properly

Add Background Modes#

In your project target, select signing & capabilities and add Background capabilities.

Goto Project -> Target -> Signing & Capabilities -> Click + at the top left corner -> Search for the capabilities below and add it
Capabilities
App Groups
Background Modes

Now, go to the background mode and enable the below given modes

Background Modes
Audio,Airplay, and Picture in Picture
Voice over IP
Background fetch
Remote notifications

![Capabilities](../../../src/img/call_capabilities.png)

Add Microphone Privacy#

Add Microphone privacy in your project plist

![microphone](/src/img/microphone.png)