6 ms·
Really cool, thank you for posting Are you using something like asterisk or FreeSWITCH to connect to the siptrunk? If so, do you have a backend for the dialpla
by nico 3y ago
Really cool, thank you for posting
Are you using something like asterisk or FreeSWITCH to connect to the siptrunk? If so, do you have a backend for the dialplan?
Would love to see the code if possible
- unixispower 3y agoFor fun I self-host Asterisk at home, but I'm using a cheap VoIP provider (VoIP.ms) to take the burden of hosting for this project. The code that I did write to pull messages is just some boring API interfacing in a simple Python script: https://gitlab.com/unixispower/after-the-beep/-/blob/main/_utils/fetchvm https://gitlab.com/unixispower/after-the-beep/-/blob/main/_u...
- nico 3y agoAwesome, thank you! How do you like voip.ms? Any other providers you’d recommend?
- PenguinCoder 3y agoNot OP, but I recommend and use sipstation. I moved from VoIP.ms because they often had troublesome outages. Sipstation has been reliable and a good value.
- xp84 3y agoAlso not op, and nothing against any other provider, but callcentric is another provider that has been around probably 2 decades now and has never let me down. Basically everything is a la carte and cheap.
- unixispower 3y agovoip.ms has been pretty good. They got DDoS'ed shortly after I signed up which soured the experience for about a week, but I haven't had an issue for the 2 years I've been using them since. I like that they have a wiki that explains how to set up ATA devices for their service -- that's what sold me on them initially.
- ornornor 3y agoI found them to be good for terminating Canada and US calls but the international routes sound like crap (barely intelligible) even with premium routing. I would recommend them if you’re calling numbers outside these countries. I also don’t think they can be depended on for business. They’ve probably learnt a lot from their ddos a couple years ago but they were down for weeks as a result. As a customer you couldn’t place calls for the entire duration.
- BuildTheRobots 3y ago> If so, do you have a backend for the dialplan? not wanting to take away from the ops work, but on FreeSwitch you could do the SIP side of this with the default config and a free or cheap sip provider. As default it'll provide voicemail services to offline phones, so if you add your sip provider and direct all incoming calls to (eg) extension 1000 but never connect a sip handset to that extension, everyone gets sent to voicemail and you end up with a folder of wav files. What you then do with the front end is beyond me, though at home I just have apache serving an index of that directory. If the SIP side of it is the mystery and you're interested in it, I'd really recommend installing Asterisk or FreeSwitch and having a play. You'll be stuck writing weird INI files or XML for config and there's a lot of new terminology, but it can be cheap and fun to play with. And a terminally deep rabbit hole if you actually want to fall down it. Personally, the only reason I still run my pbx (aside from something to faff with, and a platform for testing silliness) is the fact I can easily record phone calls. Most of the time it's only because I have a bad memory and take useless notes, but there doesn't seem to be a single modern mobile phone on market that allows me to record both sides of the audio when making a voice call.
- bityard 3y ago> Personally, the only reason I still run my pbx (aside from something to faff with, and a platform for testing silliness) is the fact I can easily record phone calls. I was running an Asterisk server in the early 2000s and recording phone calls was one of the things I did, so that I could record phone calls with friends and family and replay them decades later. Fast forward a few years, we moved, cell phones became standard issue in daily life, the server got put in storage, and my father passed away. During an equipment purge, I took the drives out of all of my old crap and wiped them before sending them off as e-waste. It wasn't until later in the week that I realized what I had done. Make sure you back those recordings up.
- xp84 3y agoYeah, thanks to certain big states having misguided (in my humble opinion) laws that say you can’t record a conversation you were a party to without all-party consent, I’m assuming nobody wants the liability of making that simple and automatic. In my humble opinion it’s weird to say someone cannot augment their own memory with something, or especially, keep proof of something a corporate entity told them. so I hate the 2-party consent law.