BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
391 stars 200 forks source link

[Bug]: Client no longer able to handle tel: native dial and extensions/manual dial. #829

Open GENnetuk-DEV opened 3 months ago

GENnetuk-DEV commented 3 months ago

Context

The LinPhone Desktop client is no longer able to parse normal phone numbers and initiate calls from tel: links, or native contacts applications.

General information

Expected behaviour

When following a tel:0789000910 or tel:+447890009010 or using the native contacts application, or using the intelligent search bar with any new number doesn't work. For tel:links there is no response except for bringing Linphone to the foreground, and for simply typing the number, e.g. an extension like 6002 simply results in the Add to Contacts option, and not the Dial Option.

Only fully formatting sip:07890009010@server works.

To Reproduce

Click a tel: link in a browser Click any telephone number in Contacts Type a normal phone number or extension number into Linphone's search box.

Additional context

2024-04-05 09:40:02:675 [linphone/qt] WARNING QT: app/cli/Cli.cpp:589: "This command doesn't exist: tel." 2024-04-05 09:40:02:675 [linphone/qt] MESSAGE QT: app/cli/Cli.cpp:515: "Detecting URI command: tel:+447890009010..." 2024-04-05 09:40:02:675 [linphone/qt] MESSAGE QT: app/cli/Cli.cpp:327: "Execute command:" QHash(("sip-address", "sip:+447890009010")) 2024-04-05 09:40:02:675 [linphone/belle-sip] MESSAGE Cannot parse a sip/sips uri as a generic uri 2024-04-05 09:40:02:675 [linphone/belle-sip] ERROR fast_header_address parser error for [sip:+447890009010] 2024-04-05 09:40:02:675 [linphone/liblinphone] WARNING Cannot create Address, bad uri [sip:+447890009010] 2024-04-05 09:40:02:675 [linphone/qt] ERROR QT: components/calls/CallsListModel.cpp:102: The calling address is not an interpretable SIP address: "sip:+447890009010" 2024-04-05 09:40:05:226 [linphone/qt] WARNING QT: app/cli/Cli.cpp:589: "This command doesn't exist: tel." 2024-04-05 09:40:05:226 [linphone/qt] MESSAGE QT: app/cli/Cli.cpp:515: "Detecting URI command: tel:+447890009010..." 2024-04-05 09:40:05:226 [linphone/qt] MESSAGE QT: app/cli/Cli.cpp:327: "Execute command:" QHash(("sip-address", "sip:+447890009010")) 2024-04-05 09:40:05:226 [linphone/belle-sip] MESSAGE Cannot parse a sip/sips uri as a generic uri 2024-04-05 09:40:05:226 [linphone/belle-sip] ERROR fast_header_address parser error for [sip:+447890009010] 2024-04-05 09:40:05:226 [linphone/liblinphone] WARNING Cannot create Address, bad uri [sip:+447890009010] 2024-04-05 09:40:05:226 [linphone/qt] ERROR QT: components/calls/CallsListModel.cpp:102: The calling address is not an interpretable SIP address: "sip:+447890009010"

I have already deleted my linphonerc file and let the app recreate it, then reconfigured it with no change.

SDK logs URL

No response

GENnetuk-DEV commented 3 months ago

I also removed everything in ~/Library/Application Support/linphone and let that be re-created.

julonexus commented 2 months ago

Hi You must have an account (and not the default proxy) if you want to use a uri without domain. That's why sip:07890009010@server works and not sip:07890009010. The app don't have any domain (coming from the current account) to append.

GENnetuk-DEV commented 2 months ago

You must have an account (and not the default proxy) if you want to use a uri without domain. That's why sip:07890009010@server works and not sip:07890009010. The app don't have any domain (coming from the current account) to append.

Thank you!

For anyone coming here looking for a resolution, its not that hard, but not obvious either. Once you've setup at least one Proxy in settings, click on your user information top left, and then you need to select that proxy under "active account". If you leave it set to your user, that's what creates the problem.