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 15, 2021 by Sourav Das's avatar Sourav Das
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 6 deletions
+2 -6
  • Call-Handling.md Call-Handling.md +2 -6
  • No files found.
Call-Handling.md
View page @ dc6b5446
# Handling Calls With UI using **Reve** Voice SDK # Handling Calls With UI using **Reve** Voice SDK
After calling the `SIPWrapper.startSIP()` method voip Calling is available to you through `CallHandler.makeCall()` and other similar methods. But Even if you have access to the call functionalites, you need to Make your UI work according to the background tasks. The Listeners Interfaces **SDKSIPListener** and **SDKServiceListener** are used for that reason. See [Listeners Guide](Configuring-Listeners) to correctly Implement Listeners. After calling the `SIPWrapper.startSIP()` method VOIP Calling is available to you through `CallHandler.makeCall()` and other similar methods. But Even if you have access to the call functionalites, you need to Make your UI work according to the background tasks. The Listeners Interfaces **SDKSIPListener** and **SDKServiceListener** are used for that reason. See [Listeners Guide](Configuring-Listeners) to correctly Implement Listeners.
After Listeners are correctly implemented you can use your UI to start your calls with ```CallHandler.makeCall(phoneNumber:String , isPaid:Boolean)``` function can be called and the you can get the relevant call related info through the Listeners. After Listeners are correctly implemented you can use your UI to start your calls with ```CallHandler.makeCall(phoneNumber:String)``` function can be called and the you can get the relevant call related info through the Listeners.
Now, isPaid is a variable that indicates whether you want to make a VOIP call or a Peer to Peer call. If you want to make a VOIP call then set isPaid as true. Set isPaid to false if you want a Peer to Peer call. In the latter instance make sure that the phoneNumber is a subscriber. Otherwise the call will drop.
*It is recommended that you handle isPaid variable according to your subscriber database.*
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.
......
Clone repository
  • Call Handling
  • Configuring Listeners
  • Demo App Details
  • Get Api Key
  • Other Important Topics
  • Home