Report: No ringing on my end when placing outbound calls, but the call goes through

Making this public.

I asked grok to publish the 3rd revision that seemed to have fixed all the problems I was having. I have not tested this extensively and would appreciate any feedback on bugs that you discover so it can be improved.

Download link https://mineral-vision-dm7z.here.now/gnome-calls_46.3-2pureos2+sip3_arm64.deb

Here is the patch list and backport notes for +sip3

gnome-calls 46.3-2pureos2+sip3 (arm64) is built on the PureOS 11 crimson 46.3-2pureos2 package with 11 patches applied: 6 backported from upstream GNOME Calls (through 51.1) and 5 local fixes.

Upstream backports

  • SIP error reporting: Stops swallowing init_sip_account() errors when recreating a SIP account after network changes.
  • Alerting state and ringback base: Maps SIP 180 Ringing to ALERTING and adds CallsMediaPlayback (later superseded for ringback by the local ringback patch below, plus its use-after-free cancellation fix).
  • Debug crash fix: Fixes a segfault when dumping the GStreamer pipeline dot graph on SIGUSR2.

Local fixes

  • TLS-only SIP transport: Accounts set to Protocol=TLS bind only a sips: TLS transport (no UDP/TCP 5060 sockets) and upgrade sip: dial targets to sips: so INVITEs and SDP SDES keys stay over TLS.
  • TLS Contact header: Sends ;transport=tls in the registration Contact parameter so providers like voip.ms recognize and report the registration as TLS instead of UDP.
  • SRTP encrypted indicator: Marks SIP calls as encrypted in the UI and over D-Bus once SRTP media negotiation succeeds.
  • Preferred origin for plain numbers: Adds org.gnome.Calls preferred-tel-origin (by origin ID or name) to route plain phone numbers and tel: URIs through a chosen online origin while keeping emergency numbers, USSD codes, and offline fallback on stock behavior.
  • Local outgoing ringback: Generates a 440+480 Hz tone (2 s on, 4 s off) to the default PulseAudio sink (media.role=phone, filter.want=echo-cancel) while outgoing SIP (18x alerting) or cellular (DIALING/ALERTING) calls ring, stopping on answer, hold, disconnect, or hang-up. Controlled by org.gnome.Calls local-ringback (defaults to true).