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 RingingtoALERTINGand addsCallsMediaPlayback(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=TLSbind only asips:TLS transport (no UDP/TCP 5060 sockets) and upgradesip:dial targets tosips:so INVITEs and SDP SDES keys stay over TLS. - TLS
Contactheader: Sends;transport=tlsin the registrationContactparameter 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 andtel: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 (18xalerting) or cellular (DIALING/ALERTING) calls ring, stopping on answer, hold, disconnect, or hang-up. Controlled byorg.gnome.Calls local-ringback(defaults totrue).