Live data from Hacker News

Building a Personal VoIP System

sacredheartsc.com

91–100 of 150 posts

Re: Building a Personal VoIP System

#91
Great explanation of the SIP protocol. I’ve been looking for something that explains it this clearly forever, and this gets right to the point with the high level concept instead of getting immediately bogged down in technical specs.

Re: Building a Personal VoIP System

#92

Earlier quoted context omitted.

I've been using a voip number for all my sms 2fa needs for the last 5 years while living abroad. I have a dozen banks and other financial institutions plus the irs happily accepting it. Some companies, like openai, wont accept it, for those I just buy single use SMS numbers.

I've had problems with a bunch of places, so it's at least YMMV then. And I'd be wary of transferring an existing number in (as opposed to getting a new voip number and then setting it up). I'm sure specific services are hit or miss - there really shouldn't be a problem sending SMS to whatever number a user enters, but paternalistic snake oil salesmen gonna be paternalistic. I've had the least difficulty with Google…

> I believe it's impossible to tell "Google Voice" usage from bona fide Fi usage where it's really the users' only phone number

These are definitely distinguishable, and some auth service treat them differently. Google Voice numbers come from a different carrier (the one named Bandwidth) than most Fi numbers.

Re: Building a Personal VoIP System

#93
post #6

Cool to read someone indulge in this. For others interested with no prior context, also consider FreeSWITCH. Personal experience: I spent about 15 months working for a local telecom company, supporting their asterisk servers and developing interactive voice response applications. I was given the opportunity to build their residential voip service (in 2010?) from scratch and despite asterisk being so dominant I protot…

Asterisk dialplans can also be written in Lua, thanks to the Lua extension!

Yes, this is what I do. The documentation is sometimes a trick to map over, but it's so nice to use a real language for everything else.

Re: Building a Personal VoIP System

#94
post #85

If only there was an equivalent for building your own home GSM/LTE network. When around the house, I would love to connect to my own private cellular network. Not only is coverage poor where I live, but this would allow me to route calls in sophisticated and useful ways, because the backplane of modern cellular networks is VoIP.

I expect you would need a spectrum license for that :)

Re: Building a Personal VoIP System

#95
post #16

Earlier quoted context omitted.

One often sees the STUN, TURN or ICE protocols around SIP-based VoIP, I believed they were supposed to help solve those issues?

Yes, Asterisk can poke holes in NAT on its own just fine. I was surprised how pessimistic the article is on this. I have systems running for months and years behind NAT with no issue. You might have to disable direct media (endpoint/disable_direct_media_on_nat). Also, this is just uptime related tip not NAT, you must explicitly set registration/max_retries to a huge number otherwise Asterisk just gives up permanently…

Are you doing calls to/from other sip URIs that are also behind NAT, or just using your trunk and internal extensions?

Re: Building a Personal VoIP System

#96

Any technology recommendations or examples for integrating VoIP with open source chat platforms like Jitsi, Mumble, etc.?

Jitsi has something built in, I havent used it but I expect it's similar to big blue button which I have done, it runs a freepbx so setting up some extra dialplan rules to get interconnect is possible.

Re: Building a Personal VoIP System

#97
post #10

Does anyone have SIP setup on their domain? Are there many spam calls these days?

I run a public SIP server, and it gets constantly attacked just like any other public service. Mostly trying to use it to call expensive routes hoping it's unsecured though, not trying to spam local extensions.

Re: Building a Personal VoIP System

#98

Ah good memories! Even though I knew nothing about VoIP I installed, years ago, one at my wife's little SME using "RasPBX" (a distro made of Raspbian + FreePBX + Asterisk) running on a... Raspberry Pi 1 (maybe a Pi 2 but I'm pretty sure it was a 1). The Pi was booting from the SD card but everything was running on an external HDD. I did put six Cisco VoIP phones and all was working fine as long as no more than four p…

I believe they're still related but the guys at Nerd Vittles [0] are still doing a PBX in a Box style deployment. Looks like it's called Incredible PBX [1] now. But the last time I ran it it took a lot of considerations around running SIP securely and brought a few of the pieces together. Probably worth a look if you're interested in self-hosting at home or for SMB.

[0] https://nerdvittles.com/ [1] https://wiki.incrediblepbx.com/

Re: Building a Personal VoIP System

#99

Earlier quoted context omitted.

This was on by default on a consumer router that was used at a small office. Their VoIP phones would get phantom calls until I discovered this and disabled it.

Woah, good find. How did you actually find out that this was happening? Network captures? When was this approximately? I’m wondering how widespread this (still) is.

It would have been 2-3 years ago. I was getting reports of phones ringing, but no audio, no calls record from the VoIP server CDR (which all phones were configured to proxy through) and when looking @ the system logs from the phones, they were reporting nonsensical IP addresses, which pointed to something at the edge of the network.
Post reply on HN