Adding 2FA with Asterisks.
Stumbled upon an old self-hosted article i created in 2012 on using Asterisks to call with a code as a po' folk two-factor auth and decided to post it on GitHub so I don't lose track of it again. I'll add some other examples like returning the 200 OK and 401 Unauthorized header, an example Go implementation of the PHP code, and an implementation using a sqlite backend to store the user info.
https://github.com/thedunston/asterisks2Fa
I know there are other solutions, but I'm a self-hosting fan of some services.

