From 58ef2cf863a4ff92eb03fa421fc0923ea0d21ace Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 18 May 2024 20:55:09 +0000 Subject: [PATCH] calls/callaudiod: update documentation --- hosts/common/programs/callaudiod.nix | 12 +++++++++--- hosts/common/programs/calls.nix | 9 +-------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/hosts/common/programs/callaudiod.nix b/hosts/common/programs/callaudiod.nix index 16d2f8fe..01669758 100644 --- a/hosts/common/programs/callaudiod.nix +++ b/hosts/common/programs/callaudiod.nix @@ -1,7 +1,13 @@ # https://gitlab.com/mobian1/callaudiod -# note: on desko it's expected that callaudiod doesn't really achieve anything (i.e. no mic muting). -# - "Card 'alsa_card.pci-0000_0b_00.1' lacks speaker and/or earpiece port, skipping" -# - "callaudiod-pulse-CRITICAL **: 07:45:48.092: No suitable card found, stopping here..." +# device support: +# - moby: +# - mic muting works fine +# - speaker seems to have zero volume (maybe it's my alsa profiles?) +# - shows some failures when only the modem is online (no wifi) +# - gnome-calls doesn't even create an output audio stream, for example; and the other end of the call can't hear any mic. +# - desko: unsupported. no mic muting, etc. +# - "Card 'alsa_card.pci-0000_0b_00.1' lacks speaker and/or earpiece port, skipping" +# - "callaudiod-pulse-CRITICAL **: 07:45:48.092: No suitable card found, stopping here..." { pkgs, ... }: { sane.programs.callaudiod = { diff --git a/hosts/common/programs/calls.nix b/hosts/common/programs/calls.nix index 900905f8..5b2e2551 100644 --- a/hosts/common/programs/calls.nix +++ b/hosts/common/programs/calls.nix @@ -1,19 +1,13 @@ # GNOME calls # - # - both a dialer and a call handler. -# - uses callaudiod dbus package. +# - uses callaudiod dbus service. # # initial JMP.chat configuration: # - message @cheogram.com "reset sip account" (this is not destructive, despite the name) # - the bot will reply with auto-generated username/password plus a SIP server endpoint. # just copy those into gnome-calls' GUI configurator # - now gnome-calls can do outbound calls. inbound calls can be routed by messaging the bot: "configure calls" -# -# my setup here is still very WIP. -# open questions: -# - can i receive calls even with GUI closed? -# - e.g. activated by callaudiod? -# - looks like `gnome-calls --daemon` does that? { config, lib, pkgs, ... }: let cfg = config.sane.programs.calls; @@ -62,7 +56,6 @@ in ]; services.gnome-calls = { - # TODO: prevent gnome-calls from daemonizing when started manually description = "gnome-calls daemon to monitor incoming SIP calls"; partOf = lib.mkIf cfg.config.autostart [ "graphical-session" ]; # add --verbose for more debugging