Skip to content

Registrator: expose successful REGISTER refreshes and the granted expiry #994

Backlog

Description

@hyponex

Feature Request

JsSIP version: 3.13.9

After the first successful registration, the UA refreshes the binding
automatically. The public registered event is emitted for the first 200 OK
only, so an application cannot tell whether a later refresh succeeded, or which
expiry the registrar granted for it.

Example: the registrar grants 20 seconds, then stops answering the refresh.
The application still sees "registered" until the refresh transaction times
out, which is after the binding has already expired on the registrar.

Request: emit an event (or re-emit registered) for every successful refresh,
carrying the response or the granted binding lifetime, so that a client can
distinguish "binding renewed until T" from "refresh still pending".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions