News for hackers. Stuff that matters.
Re:Show HN: Siproc – A primitive SIP client that spawns proc... by jacquesm on Sunday October 27, 2019 @07:00AM (#21368986)
Spawning a process for each call / endpoint is how almost every large phone switchboard does it. See also: Erlang The Movie:

https://www.youtube.com/watch?v=uKfKtXYLG78

Re:Show HN: Siproc – A primitive SIP client that spawns proc... by vertex-four on Sunday October 27, 2019 @07:50AM (#21369153)
Erlang's definition of a process is a much lighter weight than Linux's, though.
Re:Show HN: Siproc – A primitive SIP client that spawns proc... by cviilgan on Sunday October 27, 2019 @06:06PM (#21372740)
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.
Re:Show HN: Siproc – A primitive SIP client that spawns proc... by shawnz on Sunday October 27, 2019 @09:56AM (#21369698)
Who uses Erlang in telephony besides Ericsson?
Re:Show HN: Siproc – A primitive SIP client that spawns proc... by detaro on Sunday October 27, 2019 @11:53AM (#21370505)
AFAIK Motorola does (did?) too.
Re:Show HN: Siproc – A primitive SIP client that spawns proc... by cviilgan on Saturday October 26, 2019 @07:08AM (#21363025)
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.

Re:Show HN: Siproc – A primitive SIP client that spawns proc... by pabs3 on Sunday October 27, 2019 @02:47AM (#21368223)
https://freshcode.club/ is the successor to freshmeat, not sure how well known it is though.

https://sourcehut.org/ is what I recommend for publishing code when one doesn't want to use GitHub/etc.

Re:Show HN: Siproc – A primitive SIP client that spawns proc... by cviilgan on Sunday October 27, 2019 @06:26PM (#21372851)
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.

Re:Show HN: Siproc – A primitive SIP client that spawns proc... by toast0 on Sunday October 27, 2019 @02:32AM (#21368176)
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).

Please consider adding a license.

Re:Show HN: Siproc – A primitive SIP client that spawns proc... by cviilgan on Sunday October 27, 2019 @06:24PM (#21372833)
Good point with the license, GPLv3-ified it now. This should not be a hindrance to use the software, since one never needs to link against it.

Thanks :)

Re:Show HN: Siproc – A primitive SIP client that spawns proc... by snorkasaurus on Sunday October 27, 2019 @08:12AM (#21369224)
I've used FreeSWITCH for this kind of thing. MPL.
Re:Show HN: Siproc – A primitive SIP client that spawns proc... by jasim on Sunday October 27, 2019 @11:49AM (#21370464)
What is the git web server you're using? The UI is very clean and the underlying markup and CSS is also quite minimal.
Re:Show HN: Siproc – A primitive SIP client that spawns proc... by cviilgan on Sunday October 27, 2019 @06:00PM (#21372713)
stagit. Especially cool since it does not depend on FastCGI/CGI but merely generates a static site on every push: https://git.codemadness.org/stagit/