Description of problem: baresip-gtk does not work Version-Release number of selected component (if applicable): 5.12.9-200.fc33.x86_64 Name : baresip-gtk Version : 1.1.0 Release : 1.fc33 Architecture : x86_64 How reproducible: # dnf install baresip-gtk Click on Baresip icon There is no GTK window while Baresip loads in Gnome notification bar with the spinning circle icon shown and then disappears Baresip GTK window did not show Steps to Reproduce: 1. # dnf install baresip-gtk 2. Click on Baresip icon 3. Actual results: No Baresip GTK window Expected results: Baresip GTK window Additional info: pulseaudio: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable pulseaudio: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable pulseaudio: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration. $ gedit com.github.baresip.desktop [Desktop Entry] Type=Application Name=Baresip GenericName=SIP softphone Comment=Modular SIP user-agent with audio and video support Icon=call-start Exec=env GDK_BACKEND=x11 baresip Terminal=false Categories=GNOME;GTK;Network;Telephony; Keywords=VoIP; StartupNotify=true X-Desktop-File-Install-Version=0.26 $ ls -al com.github.baresip.desktop -rw-r--r--. 1 root root 306 com.github.baresip.desktop
systemd: Started Portal service (GTK+/GNOME implementation). systemd: Started Portal service (GTK+/GNOME implementation). systemd: Starting Portal service (GTK+/GNOME implementation)... seapplet: /usr/bin/seapplet:50: DeprecationWarning: Gtk.StatusIcon.set_visible is deprecated seapplet: /usr/bin/seapplet:50: DeprecationWarning: Gtk.StatusIcon.set_visible is deprecated seapplet: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed seapplet: /usr/bin/seapplet:46: DeprecationWarning: Gtk.StatusIcon.new_from_file is deprecated canberra-gtk-pl: Failed to play sound: File or data not found systemd: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-62167.scope: Succeeded.
Thank you for your report. As per your steps I have to assume that you did not yet configure baresip before starting it the first time. Yes, baresip is a bit unfortunate here: You have to run "baresip" once, either on the command line or via GUI. During the first startup, baresip writes a fresh configuration to $HOME/.baresip/ - and there, the "gtk.so" module needs to be explicitly enabled in $HOME/.baresip/config file. After that, baresip can be started using the baresip icon (GNOME 3 users need to enable "gnome-shell-extension-topicons-plus" as well). Suggested steps to get you hopefully started: 1. Open a terminal window using your regular (unprivileged) Linux user 2. killall -9 baresip # It does not matter if there is nothing to be killed anymore 3. baresip -t 1 # Should quit itself after one second, otherwise press Ctrl+C 4. sed -e 's/^#\(module_app[[:space:]]*echo.so\)/\1/' -i $HOME/.baresip/config # Enable GTK module in baresip 5. If you are using GNOME 3, you need to install the package "gnome-shell-extension-topicons-plus" and enable it (and restart GNOME 3) 6. Start baresip using the icon (now it should work) Background: Baresip can be also used on the command line and the GTK frontend is implemented as an optional module (just like many other baresip modules). Baresip has no graphical configuration, just a small graphical frontend. Thus all configuration needs to happen in the configuration files.
Thank you for your advice. I followed all six steps in vain. After step 6 the spinning circle appeared for a while but the baresip-gtk window did not show. New is that the icon for VLC media player now shows on the left side of the date and time information at the top bar of GNOME Version 3.38.5. Please advise what information you need and where I can find that information. I have not found any published information regarding how to set up baresip-gtk and would think that this seems to be a task which maybe a script could do when baresip-gtk is being installed? If that was not possible then a detailed documention of all steps to follow for setting up baresip-gtk would be helpful. Regarding below, 'GDK_BACKEND=x11 baresip' was automatically added to the .desktop file. Description : Baresip is a modular SIP user-agent with audio and video support. : : This module provides a GTK+ menu-based user interface. : : Note: GTK+ defaults to the Wayland backend, which baresip does : not support. Use 'GDK_BACKEND=x11 baresip' to override it to : Xwayland.
A mistake probably would have been not to uncomment the module gtk.so after step 4. I found that in the configuration file $HOME/.baresip/config. baresip-gtk works now. I would have expected options to set up and configure accounts. I would not have expected that I may start from scratch installing codecs or would need to find out how to configure secure call options like SIPS, transport over TLS, ZRTP. May I suggest to look at baresip+ for Android?
Oh, sorry. Yes, step 4 should have been 'gtk' rather 'echo'. Unfortunately, the baresip configuration is not really scriptable because RPMs at Fedora are not allowed to touch $HOME and the actual configuration files in $HOME are created during first baresip startup in the user context. Having said this, baresip itself is not a typical desktop/smartphone SIP client, but a full-featured command-line one where one (out of many) modules provides a small, simple GTK client (which is even not the main focus of the overall baresip project). The target audience of baresip+ is completely different to baresip and, honestly, it is a third-party project based on baresip. Further on, baresip is also being used to e.g. integrate into electric bell systems, phone connections to existing web/video conferences etc. - something which obviously won't work with baresip+ due to desktop/smartphone focus. But I'll try to provide a README (or so) for the baresip-gtk package with hints for (hopefully) common default situations, nevertheless it still won't reach equivalency with baresip+.