r/VOIP • • 22h ago

Discussion Asterisk based telephone game

Thumbnail
github.com
4 Upvotes

I originally posted this on /Asterisk but can't crosspost here so I'm doing the cut+paste thing. I ended up putting this on a Raspberry Pi with an SPA112 and jammed the whole thing into a payphone for self contained game.

Hey everybody, I've spent the last several years working on-and-off on a Asterisk based game you can play on any touch tone phone. I envisioned it as a voice version of a text based dungeon crawler/adventure game, "you can go north or east" as well as D&D style battles (roll a d20 and add on modifiers). At the start, and after any battle, you get points to distribute across your health and stats. I started this long before I knew anything about coding, didn't use AI for anything in the game, and is built all in dialplan and mysql calls.

This was just a project i started to teach myself Asterisk with no real plan. Once I got it mostly working I kind of lost interest in making it fun so I thought I should release it publicly and see if anyone wants to pick that up.

I did use some AI to document my mess but all of the beautiful chaos in the dialplan is solely my fault.

If you're interested feel free to play with it. I can try to answer any questions.