You kinda can do it on Android via Termux: https://termux.com/add-on-api.html
Hrmf, 5.0 or newer. And here I was wondering if I could get some extra mileage out of my older devices...
You could try freeswitch which has some fun cli stuff. mod_portaudio lets you make and take calls from your terminal (although you have to use fs_cli, but you can alias dial to fs_cli -x"pa call $1"). There are a few sms modules as well.
I really, really want to do things like this:
That is to say, I want a unix phone. I want to run the phone with unix and unix commands. Certainly not all of the time, but some of the time I would like the power to manipulate dialing/texting/answering in this way.I am not aware of any utilities like this - collected in a big package or not ...