David L. West
Guru
- Joined
- Jun 18, 2014
- Messages
- 13
- Reaction score
- 6
I've implemented this before on vanilla asterisk and want to do it on my shiny new FreePBX:
I know how to write the code to do this, but I can't figure out just how to implement within FreePBX. I found "Custom Destination" and "Custom Extension", but that's not quite what I need. Any suggestions on how to implement something like this w/in the (otherwise very cozy) confines of FreePBX?
- Answer call
- Generate random number between 1-9
- Tell user to enter the number they just heard [give 'em three tries than hang up]
- On entry of correct digit, save CID to db so we don't ask again
- Then continue routing call normally
I know how to write the code to do this, but I can't figure out just how to implement within FreePBX. I found "Custom Destination" and "Custom Extension", but that's not quite what I need. Any suggestions on how to implement something like this w/in the (otherwise very cozy) confines of FreePBX?