nextcloud / nextcloud/spreed

Support dial-out emergency numbers with SIP Bridge

Open
#18,187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: api 🛠️ feature: frontend 🖌️ feature: SFU & SIP ☎️
Dominant language
JavaScript
Stars
2.2k
Forks
586
Avg merge
18h 27m
Merged PRs (30d)
333

Description

[!TIP]

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

Verify and implement support of calling local emergency / short numbers (911, 112, 116117, 103, e.t.c.)

Additional context
General:

  • default_phone_region should be supplied in any case
  • Emergency centers can ping caller location from the mobile device, how is could done via SIP?
    • E.g. if address of company might be registered, what if user is calling remotely?

Frontend:

  • Requires a validation on client:
    • we can migrate from libphonenumber-js to google-libphonenumber to support validating short codes (larger library, but it's already async)

API:

  • Check if number is modified in the process

SIP:

  • Check if number is modified in the process
    • Quote: "The SIP bridge will call the number as received from Talk - but will evaluate any configured number-prefix or replace-prefixes from its server.conf."

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing client validation with libphonenumber-js, then follow how the API and SIP Bridge process numbers, including default_phone_region and the server.conf number-prefix or replace-prefixes settings. Compare short-code validation with google-libphonenumber and define done as emergency numbers being accepted and passed unchanged through the API and SIP flow, with location handling clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, audio-video-rtc, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.