Telecom Call Service
This service handles the app call logic (show notification, record mic, display audio, etc..). It can get started by the user or by an upcoming push notification to start a call.
It holds the call scope used to register a call with the Telecom SDK in our TelecomCallRepository.
When registering a call with the Telecom SDK and displaying a CallStyle notification, the SDK will grant you foreground service delegation so there is no need to make this a FGS.
Note: you could potentially make this service run in a different process since audio or video calls can consume significant memory, although that would require more complex setup to make it work across multiple process.
Functions
Extension method to start a new outgoing call by sending a message to TelecomCallService.
Extension method to send a notification to TelecomCallService to alert it of any possible changes to the telecom call state.