3 ms·
Show HN: Siproc – A primitive SIP client that spawns processes for each call
- cviilgan 7y agoThis 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.
- toast0 7y agoI 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.
- snorkasaurus 7y agoI've used FreeSWITCH for this kind of thing. MPL.
- cviilgan 7y agoGood 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 :)
- pabs3 7y agohttps://freshcode.club/ https://freshcode.club/ is the successor to freshmeat, not sure how well known it is though. https://sourcehut.org/ https://sourcehut.org/ is what I recommend for publishing code when one doesn't want to use GitHub/etc.
- cviilgan 7y agoThe 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.
- jasim 7y agoWhat is the git web server you're using? The UI is very clean and the underlying markup and CSS is also quite minimal.
- cviilgan 7y agostagit. Especially cool since it does not depend on FastCGI/CGI but merely generates a static site on every push: https://git.codemadness.org/stagit/ https://git.codemadness.org/stagit/
- jacquesm 7y agoSpawning 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 https://www.youtube.com/watch?v=uKfKtXYLG78
- vertex-four 7y agoErlang's definition of a process is a much lighter weight than Linux's, though.
- shawnz 7y agoWho uses Erlang in telephony besides Ericsson?
- detaro 7y agoAFAIK Motorola does (did?) too.
- cviilgan 7y agoIn 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.