Dear FreePBX folks.
First of all, thank you for your excellent software!
I have played with FreePBX for the past three days at work for evaluation purposes since we need to replace our 20 year old phone system.
Now, I figured out the basics, and played with IVR, Queues, agent login/logoff, etc.
- My boss asked me now if it was possible to automate call-in licensing that way.
Essentially, someone calls in and gives us a code. We then check a database and if they paid, we give them a license key valid for some time. This takes up way too much time.
Of course, the database part can be programmed with a UNIX tool on our side.
So my question is whether I can create an interactive IVR with FreePBX that does this, and if so, maybe you could point me into the right direction:
-“Please enter your license request without dashes”
-User enters (for example): 471EJ21KAFP
-“Thank you, please enter your contract number”
-User enters (for example): L548168
-“Let me look that up”
-Data is somehow passed to an external tool we write (cmdline)
-Tool now comes back with an OK status, a key, and valid date:
-OR: Tools returns false, no payment received (or DB error, etc)
-System says “I’m sorry, we haven’t received payment yet”
-OR “Sorry, system unavailable, let me transfer you to an agent, etc…”
-essentially a different outcome/route/voice/announcement based on the return code of the external tool
-Phone system says “You’ve been licensed successfully, here’s the key”
-“F E five three …”
-“The license is valid until November 20th 2014”
-“Press one to repeat this or hang up”
- Would it be possible to use voice recognition instead of “press one”. I.e. "Press one or say “yes” "
Thank you for all your help in advance!