Skip to content

Improve SIP call events that are currently difficult to use #592

@atsakiridis

Description

@atsakiridis

Some issues with current API:

  • When making a call cannot differentiate between BUSY and DECLINED/REJECTED. They both send the same event in the App which is onDisconnect
  • We cannot tell if the caller is CANCELing the call directly. Instead we need to infer that infromation.
  • When a call is normally hung up after talking, again onDisconnect is sent.

Proposed solution:

  • Clearly separate BUSY, DECLINED/REJECTED and CANCEL, either by adding an additional field in onDisconnect, or by providing separate callbacks (right now we have additional callbacks defined but we don't use them)
  • Make sure that Connect properly differentiates between BUSY and DECLINED/REJECTED and that the solution will work E2E

Related to https://telestax.zendesk.com/agent/tickets/34334

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions