futel / asteriskserver

SIP server for Futel
Creative Commons Zero v1.0 Universal
24 stars 7 forks source link

Create an elite rewards area #84

Closed kra closed 3 years ago

kra commented 8 years ago

These should probably be split into separate issues, but:

Create tokens that a user can use to gain access to something. This could be a short number sequence if it's only usable from an outgoing call.

Have ways for user to get tokens. Some tokens may be collected at any time, some must be unlocked with earlier tokens.

Have something to give user for tokens.

The trash cleanup angle could be spun off into a separate thing. It would be nice to be able to reward users for small tasks which benefit Futel, such as cleaning up trash. Anyone motivated to do that should probably be treated differently than someone who wants to complete stupid puzzles.

Future enhancements:

Have tokens which are usable from an incoming call. We could do this with the same short number sequence by using voicemail as a second factor. User enters sequence and voicemail box, time-based password is left in voicemail box, user users time-based password for access.

kra commented 4 years ago

user can just use mailbox/password for id we must associate mailbox with state

state can just be key:value key is mailbox id

text file with redis mutex for writing? text file gets put in the promotion manifest like voicemail does