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
  • Other Important Topics

Last edited by Sourav Das Nov 16, 2021
Page history

Other Important Topics

Some More Informations

To create an interactive UI that can show all relevant information one may need to use the following Items.

  1. CallStates : CallStates as it's name suggests signifies the current state of the calling framework. Call States can be any among the following
        CallState.INITIATING
        CallState.READY
        CallState.TRYING
        CallState.INVITE
        CallState._180_RING
        CallState._183_PROGRESS
        CallState._181_CALL_BEING_FORWARDED
        CallState._200_OK
        CallState.BAD_REQUEST
        CallState.INCOMING
        CallState.ON_HOLD
        CallState.BYE

We get these call states in updateCallstate() function in SDKSIPListener interface. Every state has it's own Meaning and the UI should be designed according to the current Updated state. For example CallState._200_OK means that a call is currently going on. You can also get the current state from SIPProvider.getcallState too but that is not recommended

  1. Error Codes: You can get any error code integer value. You can use those errorcodes' meaning to show to the UI why their calls failed if necessary. eg. 403, 404, 486 etc.

  2. Display Status: SDKSIPListener can update the Display Status. The Display status is shown in the UI. Available DIsplay Statuses are:

        DisplayStatus.InvalidLogin
        DisplayStatus.Empty
        DisplayStatus.InvalidCode
        DisplayStatus.Registered
        DisplayStatus.Registering
        DisplayStatus.Unregistered

You can control what to show in the main UI according to the display status.

  1. Multiple Concurrent Calls: This SDK does not allow group calls. It is to be noted that this SDK works with only one single App to GSM VOIP call or only one Peer to Peer call. Hence, the server will return _486_BUSY error if you try to call any user that is already in another call.
Clone repository
  • Call Handling
  • Configuring Listeners
  • Demo App Details
  • Get Api Key
  • Other Important Topics
  • Home