[Bug]: Problem using SIP client when dialing from contacts
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
When I'm trying to call a contact from Nextcloud using a Microsip softphone I will mostly end up with an error unknown number.
Every time the number contains blancs these will be escaped:
When I'm looking at the devtools I can see a href with a tel: link containing blancs, which will be escaped:
NO! It's not a good idea formatting that phone number manually without any blancs. Typically there are localisation rules specified in some national standards. In Germany it's the DIN 5008. Outlook for example is formatting phone numbers automatically according to those localisation rules.
Steps to reproduce
- Microsip must be installed and must be configured as app for the tel: link.
- Just open contacts in Nextcloud.
- Choose a contact
- Choose a phone number
- Click on the Dial-Icon respectively the dial-link.
Expected behavior
Please remove the blancs from the <a ..... href tel:+49 123 456789 .....> tag.
In my opinion this must be done during loading the data.
Again... NO! It's not a good idea formatting that phone number manually without any blancs. Typically there are localisation rules specified in some national standards. In Germany it's the DIN 5008. Outlook for example is formatting phone numbers automatically according to those localisation rules.
Installation method
Community Docker image
Nextcloud Server version
28
Operating system
Other
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
{
"system": {
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"srv-nextcloud",
"srv-nextcloud.fritz.box",
"192.168.178.141"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "28.0.3.2",
"overwrite.cli.url": "http:\/\/localhost",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"remember_login_cookie_lifetime": 1296000,
"session_lifetime": 1440,
"session_keepalive": false,
"auto_logout": true,
"default_phone_region": "DE",
"enabledPreviewProviders": [
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Krita",
"OC\\Preview\\Imaginary"
],
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"loglevel": 2,
"theme": "",
"maintenance": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 1
},
"apps": {
"activity": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.20.0"
},
"backgroundjob": {
"lastjob": "51"
},
"bookmarks": {
"types": "",
"enabled": "yes",
"installed_version": "13.1.3"
},
"bruteForce": {
"whitelist_1": "10.0.2.0\/24"
},
"bruteforcesettings": {
"installed_version": "2.8.0",
"types": "",
"enabled": "yes"
},
"calendar": {
"installed_version": "4.6.6",
"types": "",
"enabled": "yes"
},
"circles": {
"types": "filesystem,dav",
"enabled": "yes",
"loopback_tmp_scheme": "http",
"installed_version": "28.0.0-dev",
"migration_22": "1",
"migration_run": "0",
"maintenance_run": "0",
"maintenance_update": "{\"3\":1709713500,\"2\":1709716800,\"1\":1709717100}"
},
"cloud_federation_api": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.11.0"
},
"comments": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.18.0"
},
"contacts": {
"installed_version": "5.5.2",
"types": "dav",
"enabled": "yes"
},
"contactsinteraction": {
"types": "dav",
"enabled": "yes",
"installed_version": "1.9.0"
},
"core": {
"installedat": "1673528138.8841",
"vendor": "nextcloud",
"public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
"public_files": "files_sharing\/public.php",
"backgroundjobs_mode": "cron",
"oc.integritycheck.checker": "[]",
"moveavatarsdone": "yes",
"previewsCleanedUp": "1",
"emailTestSuccessful": "1",
"files_metadata_installed": "1",
"lastupdateResult": "[]",
"lastupdatedat": "1709707575",
"files_metadata": "{\"photos-original_date_time\":{\"value\":null,\"type\":\"int\",\"indexed\":true,\"editPermission\":0},\"photos-size\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-exif\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-ifd0\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"files-live-photo\":{\"value\":null,\"type\":\"string\",\"indexed\":false,\"editPermission\":1},\"photos-gps\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-place\":{\"value\":null,\"type\":\"string\",\"indexed\":true,\"editPermission\":0}}",
"lastcron": "1709717100"
},
"dashboard": {
"types": "",
"enabled": "yes",
"installed_version": "7.8.0"
},
"dav": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.29.1",
"chunks_migrated": "1",
"regeneratedBirthdayCalendarsForYearFix": "yes",
"buildCalendarSearchIndex": "yes",
"buildCalendarReminderIndex": "yes"
},
"deck": {
"installed_version": "1.12.2",
"enabled": "yes",
"types": "dav"
},
"drawio": {
"enabled": "yes",
"installed_version": "3.0.2",
"types": "filesystem"
},
"federatedfilesharing": {
"types": "",
"enabled": "yes",
"installed_version": "1.18.0"
},
"federation": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.18.0"
},
"files": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.0.0"
},
"files_pdfviewer": {
"types": "",
"enabled": "yes",
"installed_version": "2.9.0"
},
"files_reminders": {
"installed_version": "1.1.0",
"types": "",
"enabled": "yes"
},
"files_rightclick": {
"types": "",
"enabled": "no",
"installed_version": "1.6.0"
},
"files_sharing": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.20.0"
},
"files_trashbin": {
"types": "filesystem,dav",
"enabled": "yes",
"installed_version": "1.18.0"
},
"files_versions": {
"types": "filesystem,dav",
"enabled": "yes",
"installed_version": "1.21.0"
},
"firstrunwizard": {
"types": "logging",
"enabled": "yes",
"installed_version": "2.17.0"
},
"integration_onedrive": {
"installed_version": "1.1.4",
"types": "",
"use_popup": "1",
"enabled": "no"
},
"integration_openai": {
"installed_version": "1.2.0",
"types": "",
"enabled": "yes"
},
"logreader": {
"enabled": "yes",
"types": "logging",
"installed_version": "2.13.0"
},
"lookup_server_connector": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.16.0"
},
"mail": {
"installed_version": "3.5.7",
"types": "",
"enabled": "yes"
},
"news": {
"enabled": "no",
"types": "",
"installed_version": "24.0.0"
},
"nextcloud_announcements": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.17.0",
"pub_date": "Thu, 24 Oct 2019 00:00:00 +0200"
},
"notes": {
"installed_version": "4.9.2",
"types": "",
"enabled": "yes"
},
"notifications": {
"types": "logging",
"enabled": "yes",
"installed_version": "2.16.0"
},
"notify_push": {
"base_endpoint": "https:\/\/srv-nextcloud.fritz.box\/push",
"installed_version": "0.6.9",
"cookie": "***REMOVED SENSITIVE VALUE***",
"enabled": "yes",
"types": "filesystem"
},
"oauth2": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.16.3"
},
"password_policy": {
"types": "authentication",
"enabled": "yes",
"installed_version": "1.18.0"
},
"photos": {
"types": "dav,authentication",
"enabled": "yes",
"installed_version": "2.4.0",
"lastPlaceMappedUser": "Swantje",
"lastPlaceMappingDone": "true"
},
"privacy": {
"types": "",
"enabled": "yes",
"installed_version": "1.12.0"
},
"provisioning_api": {
"types": "prevent_group_restriction",
"enabled": "yes",
"installed_version": "1.18.0"
},
"recommendations": {
"types": "",
"enabled": "yes",
"installed_version": "2.0.0"
},
"related_resources": {
"types": "",
"enabled": "yes",
"installed_version": "1.3.0"
},
"serverinfo": {
"types": "",
"enabled": "yes",
"installed_version": "1.18.0",
"cached_count_storages": "4",
"cached_count_filecache": "12901"
},
"settings": {
"types": "",
"enabled": "yes",
"installed_version": "1.10.1"
},
"sharebymail": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "1.18.0"
},
"spreed": {
"installed_version": "18.0.4",
"types": "dav,prevent_group_restriction",
"signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
"signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***",
"has_reference_id": "yes",
"project_access_invalidated": "1",
"enabled": "yes"
},
"support": {
"types": "session",
"enabled": "yes",
"installed_version": "1.11.0",
"SwitchUpdaterServerHasRun": "yes"
},
"survey_client": {
"types": "",
"enabled": "yes",
"installed_version": "1.16.0"
},
"systemtags": {
"types": "logging",
"enabled": "yes",
"installed_version": "1.18.0"
},
"text": {
"types": "dav",
"enabled": "yes",
"installed_version": "3.9.1"
},
"theming": {
"types": "logging",
"enabled": "yes",
"installed_version": "2.3.0",
"cachebuster": "3"
},
"twofactor_backupcodes": {
"types": "",
"enabled": "yes",
"installed_version": "1.17.0"
},
"updatenotification": {
"files_fulltextsearch": "27.0.1",
"notify_push": "0.6.9",
"types": "",
"enabled": "yes",
"installed_version": "1.18.0",
"contacts": "5.5.2",
"notes": "4.9.2",
"calendar": "4.6.6",
"mail": "3.5.7",
"core": "28.0.3.2",
"spreed": "18.0.4",
"update_check_errors": "0",
"fulltextsearch": "27.0.3",
"related_resources": "1.0.4",
"drawio": "2.1.4",
"deck": "1.12.2",
"news": "24.0.0",
"fulltextsearch_elasticsearch": "27.0.4",
"bookmarks": "13.1.3"
},
"user_status": {
"types": "",
"enabled": "yes",
"installed_version": "1.8.1"
},
"viewer": {
"types": "",
"enabled": "yes",
"installed_version": "2.2.0"
},
"weather_status": {
"types": "",
"enabled": "yes",
"installed_version": "1.8.0"
},
"workflowengine": {
"types": "filesystem",
"enabled": "yes",
"installed_version": "2.10.0"
}
}
}
List of activated Apps
Enabled:
- activity: 2.20.0
- bookmarks: 13.1.3
- bruteforcesettings: 2.8.0
- calendar: 4.6.6
- circles: 28.0.0-dev
- cloud_federation_api: 1.11.0
- comments: 1.18.0
- contacts: 5.5.2
- contactsinteraction: 1.9.0
- dashboard: 7.8.0
- dav: 1.29.1
- deck: 1.12.2
- drawio: 3.0.2
- federatedfilesharing: 1.18.0
- federation: 1.18.0
- files: 2.0.0
- files_pdfviewer: 2.9.0
- files_reminders: 1.1.0
- files_sharing: 1.20.0
- files_trashbin: 1.18.0
- files_versions: 1.21.0
- firstrunwizard: 2.17.0
- integration_openai: 1.2.0
- logreader: 2.13.0
- lookup_server_connector: 1.16.0
- mail: 3.5.7
- nextcloud_announcements: 1.17.0
- notes: 4.9.2
- notifications: 2.16.0
- notify_push: 0.6.9
- oauth2: 1.16.3
- password_policy: 1.18.0
- photos: 2.4.0
- privacy: 1.12.0
- provisioning_api: 1.18.0
- recommendations: 2.0.0
- related_resources: 1.3.0
- serverinfo: 1.18.0
- settings: 1.10.1
- sharebymail: 1.18.0
- spreed: 18.0.4
- support: 1.11.0
- survey_client: 1.16.0
- systemtags: 1.18.0
- text: 3.9.1
- theming: 2.3.0
- twofactor_backupcodes: 1.17.0
- updatenotification: 1.18.0
- user_status: 1.8.1
- viewer: 2.2.0
- weather_status: 1.8.0
- workflowengine: 2.10.0
Disabled:
- admin_audit: 1.18.0
- encryption: 2.16.0
- files_external: 1.20.0
- suspicious_login: 6.0.0
- twofactor_totp: 10.0.0-beta.2
- user_ldap: 1.19.0
Nextcloud Signing status
No response
Nextcloud Logs
There is no error, info or warning or whatever.
Additional info
[Server] Almalinux 9.3 Podman 4.6 Pod Nextcloud providing the necessary services
[Workstation] Win 11 23h2 with Vivaldi Browser, Outlook 2023 with CalDav-Synchronizer Fedora 39 with Vivaldi Browser, Thunderbird 1.15 Everything is uptodate.
Moving to https://github.com/nextcloud/contacts
Fortunately a newer version of the Microsip client now handles blancs in the phone number.