In deed this has been suggested to me by other people (of course _after_ discussing above software with them :). Yet I believe siproc still has a few benefits to offer, most notably not having to set up/build a full PBX to run it.
This is a project I desperately needed a few times in the past, but could not find anything covering my needs.
What it does is to act as a SIP softphone, and spawn a process for each incoming or outgoing call, which can handle events (like DTMF tones) or do actions (like playing files) via stdin/stdout.
Currently, I am using it to spam filter incoming calls at home.
As a side question: I wonder where one can publish software like this nowadays, when freshmeat etc. are either gone or read-only. Preferably a place that is not GitHub.
The first one looks neat, and if it is indexed by Google/duckduckgo/Bing/AltaVista it should be sufficient for people to find the project. Thanks for pointing it out.
The last one looks like it has too many features for my taste, but I will keep it in the back of my mind (or rather: my bookmarks) if I'm ever in need of something along the lines of GitHub.
I didn't look at the code yet, but this looks like it would be super useful for a home project I have now (interface with DoorKing gate controller) and would have been very helpful at my last job (verification code delivery).
https://www.youtube.com/watch?v=uKfKtXYLG78