𝚝𝚛𝚔

  • 12 Posts
  • 299 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle
  • Heres an idea… I made it in PHP and bash, cause I’m terrible at programming. But it works well and would be a neat school project I reckon.

    Our VOIP provider provides webhooks. I have one setup so when someone rings, the webhook calls a script on my web server that looks up a phone book and then uses a Discord webhook to push what is essentially a more advanced caller ID to a private discord channel - their number, their name, company they represent, and some notes like “has a son Chris who plays football, married to Jill” or whatever.

    The “phonebook” lookup first tries a remote shared phonebook (which is given in a Yealink format), and after parsing that data it saves a copy of that remote phonebook before moving on to the rest of the script. If it cant call the remote phonebook for whatever reason, it falls back on using the last saved copy locally.

    The benefit of all this is that on my desktop I always know who’s calling and a bit of a blurb about them before I pick up the phone, and if I’m out of the office I know who’s trying to ring. Since I have VOIP on my phone as an extension I can technically have someone transfer the office to my mobile too so having the discord notification is handy when a transfer appears.

    The members of the private discord channel determines who sees the notifications, and having a single phonebook to update for everyone in the office means it’s always (… usually) kept up to date.

















  • When I woke up to the news, my first thought was “oh great, that’s 24/7 news coverage for the next month at least. We’re not going to stop hearing about this for years”

    Might have underestimated things a bit.

    Definitely wasn’t expecting 25 years of what feels like constant coverage, infinite conspiracy theories, the invasion of multiple countries, and the death of literally tens (hundreds??) of thousands of people.

    Also wasn’t expecting just how much of an impact it had on security - and not just at airports. We work at the airport and access is such a major pain in the butt now, but even going to ports or train stations has this constant fear that a bloke carting a bag of tools is there to do some terrorism instead of the far more reasonable expectation that maybe they’re here to do that job we requested. It’s been a quarter of a decade ffs.

    “We can’t let the terrorists win” was the catch cry, but man they kicked our collective arses and are still doing so.