Settings

Theme

Show HN: Siproc – A primitive SIP client that spawns processes for each call

schm1dt.ch

38 points by cviilgan 6 years ago · 13 comments

Reader

jacquesm 6 years ago

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

  • vertex-four 6 years ago

    Erlang's definition of a process is a much lighter weight than Linux's, though.

  • cviilganOP 6 years ago

    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.

  • shawnz 6 years ago

    Who uses Erlang in telephony besides Ericsson?

cviilganOP 6 years ago

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.

  • pabs3 6 years ago

    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.

    • cviilganOP 6 years ago

      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.

  • toast0 6 years ago

    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.

    • cviilganOP 6 years ago

      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 :)

    • snorkasaurus 6 years ago

      I've used FreeSWITCH for this kind of thing. MPL.

  • jasim 6 years ago

    What is the git web server you're using? The UI is very clean and the underlying markup and CSS is also quite minimal.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection