termux-telephony-call works only if Termux is in the foreground
If I try to invoke termux-telephony-call over ssh, it works only if termux app is in the foreground.
pkg update is done, this is fdroid version, so everything is up to date. All permissions are granted to Termux and Termux API.
uname -a is Linux localhost 4.9.190-20275752 #3 SMP PREEMPT Thu Dec 3 13:31:34 KST 2020 armv8l Android
https://github.com/termux/termux-api-package/issues/19#issuecomment-1593042733
This seems to describe the issue.
My workaround is install Termux:Float, which makes a floating Terminal window. https://f-droid.org/en/packages/com.termux.window/ as long as the floating window is visible on screen (give it and termux draw over other apps permissions when it requests it), you'll be able to use termux-telephony-call over ssh
It's transparent, resizeable, removable. but the problem is if you close the floating window, it won't work (this is normal).