Call Controller
CallController provides the entry point to the calling functionality of the Sinch SDK.
See also
Functions
The CallControllerListener object that will be notified of new incoming calls.
Makes a SIP call to the user with the given sip uri. The identity should be in the form "user@server".
Dials a phone number, placing an audio call routed through the Sinch Voice V2 platform and terminated to the PSTN-network (Publicly Switched Telephone Network).
Dials a phone number, placing an audio call routed through the Sinch Voice V2 platform and terminated to the PSTN (Public Switched Telephone Network).
Dials a SIP endpoint, placing an audio call routed through the Sinch Voice V2 platform.
Dials an audio stream endpoint through the Sinch Voice V2 platform.
Dials a Voice Relay WebSocket endpoint through the Sinch Voice V2 platform.
Removes listener for incoming call events. If listener was not added before method is no-op.
Set whether or not the client should respect native calls. If this is set to true, answering native calls will hangup any ongoing Sinch calls. Also, if in a native calls, incoming Sinch calls will be denied automatically. If set to true, the app requires permissions android.permission.READ_PHONE_STATE.
Set whether or not the client should respect native (GSM) calls.
Set whether or not the client should respect other VoIP calls (eg. WhatsAPP, Messenger).
Sets the WebRTC configuration for every call created by this CallController. For this method to have effect, it must be called before initiating any outgoing call or relying the push payload.