Design Asterisk or similiar system to play a specific wav after a person calls in and types in account number

Cerrado Publicado May 15, 2007 Pagado a la entrega
Cerrado Pagado a la entrega

Here is the summary of all requirements:

Function 1: Coder must code a system (preferably based on Asterisk) that answers the phone calls coming in on a specific DID, prompts the user to type in their account number and PIN, and plays whichever .wav file the customer wants to hear (based on a 5-character-long code the customer types in).

Function 2: Coder must code another system that accepts calls coming in on a different DID, play a .wav, and hang up.

Function 3: Coder must code a system that checks, every hour of every day (on the hour) so see if certain records do not have a .wav file associated with that record. If so, system must create a .wav file for that record using a text-to-speech program (the specific program that must be used is Festival).

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

4) Here is the summary of Function 1: Coder must code a system (preferably based on Asterisk) that answers the phone calls coming in on a specific DID, prompts the user to type in their account number and PIN, and plays whichever .wav file the customer wants to hear (based on a 5-character-long code the customer types in).

Here are the specific requirements of Function 1:

The system must have two DIDs connected to Function 1 and one DID connected to Function 2. Coder must contact buyer when it is time to have the DIDs hooked up, so that the buyer may place the order for the DIDs in the proper way so that the coder can meet the requirements listed below.

There are several .wav files listed in the requirement - coder must create the .wav files using Festival and place them on the server. Included in the .wav files that must be created are "[url removed, login to view]" thru "[url removed, login to view]" which are simply the spoken letter "A" thru "Z" and "[url removed, login to view]" thru "[url removed, login to view]" which are simply the spoken number 0 thru 99.

System answers incoming call and makes note of details of the call so they may be later recorded into the database. System plays "[url removed, login to view]" which says "Welcome to P D Q Code". System then plays "[url removed, login to view]" which says "Please enter your six digit account number".

System listens for the customer to enter their account number, verifies that it is 6 digits long, and compares it to records in the MySQL database table 1 field 1 (ACCTNO) to verify that there is a record that has that account number. If a 6-digit number is not entered within 10 seconds, system plays "[url removed, login to view]" again and again listens for the customer to enter their account number. If another 10 seconds goes by without the customer entering their account number, system plays "[url removed, login to view]" which says "Thank you for calling P D Q Code" and hangs up.

If there is no record in the database that has the same ACCTNO as the 6-digit number entered by the caller, the system plays "[url removed, login to view]" which says "That is not a valid account number" and one more time gives customer a chance to enter their account number. If the customer does not enter a valid account number after two tries, plays "[url removed, login to view]" and hangs up.

Once a valid account number has been typed in, the system checks the "BALANCE" field associated with the ACCTNO has a number greater than zero (note: sometimes the account balance is .5). If the "BALANCE" field does not have a number greater than zero, plays "[url removed, login to view]" which says "your account has a zero balance. Please contact customer service by sending an email to P D Q Code at A O L dot com".

If the "BALANCE" field does have a number greater than 0, system plays "[url removed, login to view]" which says "Please enter all five letters of the P D Q Code. Hit the pound key after each letter. I will speak each letter back to you after you enter it". Within .1 second of starting to plays the [url removed, login to view], the system must be listening for whatever entries the customer makes, and must stop playing the [url removed, login to view] from playing once the customer has hit any key on their phone.

System allows customer to type in 5 letters. The system must recognize that the customer has finished typing in a letter when they hit the "#" key or if their is silence for 1.5 seconds. When the customer hits the "2" key on their phone twice, followed by the "#" key, that means the letter "B". When the customer hits the "7" key on their phone 4 times, followed by the "#" key, that means the letter "S". As each letter is typed in, the system speaks that letter to the customer (using "[url removed, login to view]" thru "[url removed, login to view]" as appropriate). When the system is speaking that letter to the customer, it must ignore any key entries while that wav is being played.

If customer does not type in anything within 7 seconds, system plays "[url removed, login to view]" again. If, after another 7 seconds they do not type in anything, plays "[url removed, login to view]" and hangs up.

If any letter the customer tries to type in doesn't make sense (for example, they hit the "2" key quickly followed by the "3" key) system must play "[url removed, login to view]" which says "I'm sorry, I didn't understand - please try that letter again" and gives the customer another chance to type in that letter.

Once the customer has successfully typed in 5 letters, system plays "[url removed, login to view]" which says "The P D Q Code you entered was " and then plays the 5 letters for the customer to hear.

System must then plays the wav associated with those 5 letters. For example, if the customer entered the letters P, H, G, C, and J, the system plays PHGCJ001.wav.

System plays "[url removed, login to view]" which says "Would you like to hear this information again? Press 1 for Yes, or 2 for No". Allows customer to enter a number. If customer hit "1" within 5 seconds, plays the wav one more time. If customer hasn't responded within 7 seconds, continues on to the final step.

Final step: As mentioned at the top of this requirement, the system should have, at the beginning of the call, noticed the caller ID information, date of call, and time call began. For this final step, the system must create a new record in the MySQL database which includes that information, and which PDQ Code was inquired upon. System reduces the ACCTBAL associated with that ACCTNO by 1.

System plays "[url removed, login to view]" and hangs up.

Function 2

Mandatory: Function 2 runs on the same server as Function 1, but calls into it come in on a DID that's different than the one used for Function 1. Function 2 starts off by playing "[url removed, login to view]" which says "Welcome to Appointment Central." System then hangs up.

Function 3

Mandatory: The system must every hour of every day (on the hour) check all record in table tblPDQ of the MySQL database and see if there is a corresponding .wav file for that record. The .wav would be named the same as field 1 in tblPDQ, followed by .wav

This could be done by seeing if field 2 is blank. If there is any record in tblPDQ for which there is not a corresponding .wav file, they system must use a text-to-speech program (the specific program that must be used is Festival) to create the .wav file and place it in the proper place. The speeech in the wav file must be created from the text in the DIROVERALL field in that record. The name of the wav file created must be the 5 characters of field 1, followed by "001", followed by ".wav".

## Platform

My server is a dedicated, managed, Linux server from [url removed, login to view]

It is of type "Business Server 1".

I will make an FTP account to allow the coder to upload code into the server.

Ingeniería MySQL PHP Arquitectura de software Verificación de software Traducción Web Hosting Gestión de páginas web Verificación de páginas web

Nº del proyecto: #2968284

Sobre el proyecto

2 propuestas Proyecto remoto Activo May 28, 2007

2 freelancers están ofertando un promedio de $1221 por este trabajo

mantragroupvw

See private message.

$1336.2 USD en 8 días
(1 comentario)
4.9
tektrix

See private message.

$1105 USD en 8 días
(5 comentarios)
4.1