Skip to content

NethHotel: Automatically disconnect NethVoice apps at check-out #8317

Description

@viktec

Description

Implement the automatic disconnection of NethVoice apps associated with a hotel room when the guest checks out.

This is required for hotel installations where guests use the NethVoice app instead of a physical room phone. After check-out, the previous guest must no longer be able to access the room's telephony services.

Currently, there is no automatic way to invalidate the guest's app access, so the system relies on the guest manually logging out.

Proposed solution

When a room is checked out, NethVoice should perform the following actions:

1. Revoke the room QR code

  • Revoke the QR code associated with the room and the current stay.
  • The app should automatically log out after QR-code revocation, within a maximum of one hour or immediately when the app is restarted.
  • Generate a new QR code for each subsequent stay.

2. Invalidate SIP credentials

  • Change the SIP secret of the extension associated with the room app.
  • Remove the active SIP registration.
  • Immediately prevent the previous guest from making and receiving calls.

Reception workflow

The operation should be triggered automatically as part of the room check-out workflow in NethHotel.

As an alternative or additional manual action, provide a "Disconnect app" button in the room management interface, allowing reception staff to force the disconnection when needed.

QR-code lifecycle

Since the QR code is revoked at every check-out, a new QR code must be generated at each check-in and delivered to the guest (for example, printed at reception, displayed on screen, or sent by email).

A permanent QR code printed inside the room cannot be used for this workflow.

Acceptance criteria

  • Checking out a room revokes the QR code associated with the current stay.
  • The previous guest's app is logged out within the expected revocation window (maximum one hour, or immediately after app restart).
  • The SIP credentials are changed and the active registration is removed, immediately preventing incoming and outgoing calls.
  • A new QR code can be generated for the next check-in.
  • Reception can trigger the operation through the NethHotel workflow, with a manual "Disconnect app" action available if required.

Parent issue

Part of #7283 — NethHotel: a NethVoice hotel management system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nethvoiceBug or features releted to the NethVoice projectnethvoice-ctiThe issue is related to NethLink (NethVoice Web client)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions