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]: In 5.2.0 nothing occurs when launc command from cli #806

Closed rardcode closed 3 months ago

rardcode commented 5 months ago

Context

i use linphone in my office pbx

General information

Expected behaviour

When Linphone is active, sip-URLs start calls correctly... But since 5.2.0 if i launch sip call from cli and Linphone is already open ..this doesn't work reliable.

To Reproduce

  1. Open Linphone
  2. from cli linphone -c 555
  3. call doesn't start

Additional context

log:

2024-01-11 16:58:29:389 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:315: "Starting Linphone (bin: linphone)"
2024-01-11 16:58:29:389 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:316: "Use locale: it_IT with language: Italian"
2024-01-11 16:58:29:389 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:317: "System timezone: code=106 / country=Italia / Offset=3600 / ID=Europe/Rome"
2024-01-11 16:58:29:400 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:324: "Received command from other application: `show -c 413`."
2024-01-11 16:58:29:400 [AppRun.wrapped/qt] MESSAGE QT: app/cli/Cli.cpp:493: "Detecting cli command: `show -c 413`..."
2024-01-11 16:58:29:400 [AppRun.wrapped/qt] MESSAGE QT: app/cli/Cli.cpp:340: "Execute command:" QHash()
2024-01-11 16:58:29:402 [AppRun.wrapped/qt] MESSAGE QT: :0: "Running secondary app success. Kill it now."
2024-01-11 16:58:29:402 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:331: "Destroying app..."

SDK logs URL

No response

rardcode commented 4 months ago

Problem was so with 5.2.1 version:

[21:02:15:746][Info]Core:linphone: QT: app/App.cpp:315: "Starting Linphone (bin: linphone)"
[21:02:15:746][Info]Core:linphone: QT: app/App.cpp:316: "Use locale: it_IT with language: Italian"
[21:02:15:746][Info]Core:linphone: QT: app/App.cpp:317: "System timezone: code=106 / country=Italia / Offset=3600 / ID=Europe/Rome"
[21:02:15:755][Info]Core:linphone: QT: :0: "Running secondary app success. Kill it now."
[21:02:15:755][Info]Core:linphone: QT: app/App.cpp:331: "Destroying app..."
rardcode commented 3 months ago

problem is still in 5.2.3 version

2024-04-02 11:14:47:775 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:343: "Starting application Linphone (bin: linphone). Version:5.2.3 Os:manjaro/unknown Qt:5.15.2"
2024-04-02 11:14:47:776 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:348: "Use locale: it_IT with language: Italian"
2024-04-02 11:14:47:777 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:351: "System timezone: code=106 / country=Italia / Offset=3600 / ID=Europe/Rome"
2024-04-02 11:14:47:779 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:360: "Received command from other application: `show -c 560`."
2024-04-02 11:14:47:779 [AppRun.wrapped/qt] MESSAGE QT: app/cli/Cli.cpp:462: "Detecting cli command: `show -c 560`..."
2024-04-02 11:14:47:779 [AppRun.wrapped/qt] MESSAGE QT: app/cli/Cli.cpp:327: "Execute command:" QHash()
2024-04-02 11:14:47:780 [AppRun.wrapped/qt] MESSAGE QT: :0: "Running secondary app success. Kill it now."
2024-04-02 11:14:47:780 [AppRun.wrapped/qt] MESSAGE QT: app/App.cpp:367: "Destroying app..."
julonexus commented 3 months ago

Hi, That is because you are not referring to cli but to general commands (-c/-call)

You need to refer to --cli-help (which is 'linphone "call sip-address=user@domain"') Regards