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]: Unable to dial a phone number #791

Closed nicolas-75 closed 7 months ago

nicolas-75 commented 8 months ago

Context

I've just installed Linphone on my computer and set up a SIP account. I can receive and make calls to a landline, but only by double-clicking on the call history.

General information

Expected behaviour

I wanted to do a simple call with the Linux client calling a landline. Unfortunately, I can’t dial at all a new number. When I enter the desired number in the “find a contact, call or send a message” bar, only the “Add this contact” action appears. Impossible to call it! When I press Enter the seach disappear. Even if I add the code +33 before the number, it’s impossible to call.

Doesn't the application allow you to call landlines other than through the call history?

To Reproduce

  1. Click on the “find a contact, call or send a message” bar
  2. Enter a phone number
  3. Press Enter
  4. Note that the number has disappeared and nothing is happening

Additional context

No response

SDK logs URL

No response

tsifert commented 8 months ago

I am having the exact same issue with the Windows desktop client. Latest version (just installed today).

techtelecom commented 8 months ago

I have the same problem on windows 10

MarkDreyband commented 7 months ago

I have the same issue. Can someone confirm if this is a bug, or known limitation of product? I beleive this behavior should be changed

MarkDreyband commented 7 months ago

Please let us know if this accepted as bug, or this is expected behavior (aka "known feature"). I'd like to implement Linphone as main SIP client instead of MicroSIP. MicroSIP can just make a call to phone number, you don't have to add SIP server suffix.

Thank you in advance!

julonexus commented 7 months ago

Hi, This is not a bug. On the Linphone application, if you don't fill the domain, it will add it with your current account. The result is at the first line of the search bar. As there is nothing, then you are not using your setup account because no domain can be guess. OP is not using its setup account but the local default account which is OS_username>@<local_ip. The "bug" is more like a bad behavior from the application rather than a bug : when creating a new account, the current account is not changed to the new one and you need to select it from the account selection on the main page.

All SIP requests are done with username@domain. Calling to a phone number means that you are calling phone_number@b2bua_domain.

This is the same thing with MicroSIP. If you don't set any back to back user agent, you will not call anything even with MicroSIP. The difference here is that MicroSIP set a default server for you and make it transparent to give you the illusion to call directly a phone. Or else, it doesn't use SIP protocol which I don't think it is the case.

Regards

MarkDreyband commented 7 months ago

@julonexus Thank you for your response, it was very helpful! I've found an old feature request ( stop automatically creating default identity and modify how default and proxy addresses are handled ), and once I've modified config file with show_local_sip_account=0 it fixed my request. On the other hand my colleague told that this key works inconsistently, but I haven't verified yet.

DodgeDeBoulet commented 5 months ago

Edit: Neve rmind. Somehow a "local" account showed up (username@my_pc's_ip) and was selected, which of course does not support dialing anything other than a full SIP address. Apologies!

Direct dialing a phone number from the "search contact" field or keypad worked before, but it's not working now. I fail to see how this is not a bug? I could paste any valid number into the search field or punch it in on the keypad and Linphone would dial it through my default VoIP provider. It has stopped doing that with the most recent versions.

nicolas-75 commented 5 months ago

I install the 4.4.10 version and now I can call a phone number with the the bar “find a contact, call or send a message”. Thanks for the tip!

Maybe someone could explain how to do the same thing with the last version, because I don't understand what to do :'(