Feature Request: Send Caller ID only to saved contacts (auto-prepend *31# when Caller ID is hidden)

未关闭
#952 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, kotlin
领域
mobile

调研方向

Start by reading the call initiation flow and settings implementation to find where outgoing numbers are resolved and dialed, and how saved contacts are matched. Then check existing tests for dialing and contact lookup. The requested behavior is complete when an opt-in setting applies the prefix to saved contacts while leaving stored numbers unchanged and dialing other numbers normally.

由索引模型根据 Issue 内容生成。

描述

feature request needs triage
Checklist
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
Feature description

Please add an option in the Fossify Phone settings to send Caller ID only to saved contacts when Caller ID is hidden by default.

How it should work:

  • Setting: Toggle "Send Caller ID to contacts only" (or "Auto-prepend *31# for contacts").

  • Behavior: When enabled, Fossify Phone checks if the outgoing number belongs to a saved contact. If it is a saved contact, it automatically prepends *31# to the number before dialing so the Caller ID is transmitted—while keeping the contact's stored phone number clean and untouched. If it is not a saved contact, it dials the number normally (keeping the Caller ID hidden).

Why do you want this feature?

When "Hide Caller ID" is enabled globally in the network/system settings, the phone number is suppressed for all outgoing calls.

For privacy reasons, I want my Caller ID to remain hidden for unknown numbers, businesses, or cold callers, but I still want my Caller ID to be sent when calling saved contacts so they know who is calling.

Additional information

Currently, the only way to achieve this when Caller ID is turned off is to manually dial *31# before the number every time.

Saving *31# directly into the contact's phone number is not a viable workaround: it breaks sending SMS messages, causes issues with third-party messaging apps (like Signal or WhatsApp), and prevents proper caller matching because the stored string is no longer a standard/international phone number format (e.g., E.164).

Note that *31# is the standard GSM/3GPP code in Europe and many other regions to temporarily enable Caller ID per call when permanent CLIR (Calling Line Identification Restriction) is active. Making the prefix customizable (defaulting to *31#) could also help users on carriers that use a different code.

主要语言
Kotlin
星标
1.4k
派生
213
平均合并
13 小时
30 天内合并 PR
5

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Phone 的其他 Issue

查看 FossifyOrg/Phone 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。