Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • R REVECallSDKSample
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sdk
  • REVECallSDKSample
  • Wiki
  • Call Handling

Call Handling · Changes

Page history
Update Call Handling authored Nov 03, 2021 by Sourav Das's avatar Sourav Das
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 2 deletions
+2 -2
  • Call-Handling.md Call-Handling.md +2 -2
  • No files found.
Call-Handling.md
View page @ 8f6a91b1
# Handling Calls With **Reve** Voice SDK # Handling Calls With **Reve** Voice SDK
After calling the `sipWrapper.restartSIP()` method voip Calling is available but To make the UI work with the sdk's background tasks you should initialize the Listeners first. Follow the [Listeners Guide](listeners-guide) to Correctly initialize the Listeners of this SDK. After calling the `sipWrapper.restartSIP()` method voip Calling is available but To make the UI work with the sdk's background tasks you should initialize the Listeners first. Follow the [Listeners Guide](Configuring-Listeners) to Correctly initialize the Listeners of this SDK.
After you are done with the Listeners, you have create an Instance of the **CallHandler** Class. Now the CallHandler as the name suggests handles all the tasks related to calling. You can start a call by calling the ```callHandler.makeCall(number,isPaid)``` method. Here the isPaid Variable will be true if the user is calling a GSM number. If the call is To another subscriber the number will be the user's username and the isPaid variable will be false. After you are done with the Listeners, you have create an Instance of the **CallHandler** Class. Now the CallHandler as the name suggests handles all the tasks related to calling. You can start a call by calling the ```callHandler.makeCall(number,isPaid)``` method. Here the isPaid Variable will be true if the user is calling a GSM number. If the call is To another subscriber the number will be the user's username and the isPaid variable will be false.
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
After you have started a call with makeCall method, you can end this call by invoking the `callHandler.endCall()` method. After you have started a call with makeCall method, you can end this call by invoking the `callHandler.endCall()` method.
Finally you can accept incoming calls by invoking `callHandler.acceptCall(callID)` method. You can find the callID through the **SDKServiceListener**(See [Listeners Guide](listeners-guide)) Finally you can accept incoming calls by invoking `callHandler.acceptCall(callID)` method. You can find the callID through the **SDKServiceListener**(See [Listeners Guide](Configuring-Listeners))
Clone repository
  • Call Handling
  • Configuring Listeners
  • Demo App Details
  • Get Api Key
  • Other Important Topics
  • Home