Skip to content

[BUG] Favourite tab call adds auto prefix even if set blank #288

@anbe108

Description

@anbe108

Favourties tab call adds auto prefix even if set blank on config
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. In config set nationalPrefix and regionalPrefix blank or by default disable it.
  2. From Gonnect initate call to any number without prefix. call goes through.
  3. Add that number to favourites.
  4. Now initiate a call to that number from favourites tab - right click - call.

Expected behavior
The call should go to lets say 12345678@sipserver.

What Happens Instead

  • If the number is lets say 12345678 > It goes to add +12345678@sipserver instead of 12345678@sipserver.
  • If the number is lets say 012345678 > It goes to add germany prefix automatically ie +4912345678@sipserver

Screenshots or Logs

Image - Note all calls declined (the duration of 3sec that shows says invalid number from sip side)

Environment (please complete the following information):

  • OS: Ubuntu 24.04.3 LTS
  • Version 2.0.8 flathub flatpak
  • Other Apps: Contacts not setup

Additional context
I rechecked this by altering configs to set the international code flags

[generic]
nationalPrefix=
regionalPrefix=

I checked the database callhistory.db in the table contactFlags the isFavorite flag is on to that normal number ie w/o prefix. But can't seem to find the code logic which may have caused it. It may be config issue also.

My sip provider (a local ISP) needs to dial phone numbers as this kind of 01234567899 format but they show incoming as 1234567899 from the same number. They dont support any prefixes. So far, can't seem to find a way to dial conveniently. Is there a way to force custom prefix such as 0 either?

Gonnect still feels more integrated than linphone etc. Highly appreciate your work ♥️. Thanks.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions