Here is an overview of the Air pay demo project.
Utilises a standard PC with Windows 98, Interactive Voice Recognition software (free trial download from [url removed, login to view]), an attached US robotics voice modem (to receive calls,) and an attached GPS modem (to make calls to vending machines).
a) Write the code to deal with the read and writes to text files
b) Write a VB or C module as an exe file, that will, when executed check to see if it is already open, (open if not), but if open will take the vending machine telephone number and make the call to the vending machine and deal with the above stated communication.
Airpay Transaction Service Documentation
Please note that this document has been prepared in view of the fact that this is a demo, and that although more stringent solutions are always preferred, a quick demo is required and is the over-riding constraint in several key decisions. Demonstrating the “Use of a Random Number entered by a Customer using a mobile phone at a vending machine” is the aim of this demo, (therefore other issues which don’t support this have been excluded or simulated without additional development).
Customer (with a mobile phone registered to use the Airpay Service)
Vending Machine (with a GSM modem)
Transaction Service (with a Voice modem, a GSM modem, and Interactive Voice Recognition Software, together with a custom built module to control the communication between the Transaction Service and Vending Machine).
Customer has a credit account (with Airpay or Airpay Partner) allowing them to use their credit on the Vending machine.
Customer has registered their mobile phone for use with vending transactions, (and if required a PIN number, etc.)
Customer finds vending machine offering what the customer wants.
Customer phones the telephone number on the vending machine.
The Transaction Service answers the phone for that particular vending machine, and also takes records that the call has come from a registered phone.
The customer is asked to verify their PIN number.
Upon verification the system makes a call to the vending machine and transmits a Random Number for the customer to use and enter on their mobile phone to verify that they are at the vending machine.
Customer is requested for and enters the Random Number.
If this is correctly entered and verified by the Transaction Service, the Customer will asked for the value of the vend required.
If this is a legitimate value, this credit value is transmitted to the Vending Machine
Vending Machine Identification
Customer Mobile Phone Number
Customer Verification PIN
Record of Random Number after it has been verified by the Customer
Value of the Vend
Please note where there is a mention of other options being available in instances that the data provided by the customer is not recognised or is incorrect, the only option that will be offered for the purposes of the demo is to re-enter the number. There is no requirement to offer any other options, this is just for illustrative purposes only.
Caller calls Transaction Service
Transaction Service answers call and identifies caller number
Caller number is then used to check that the caller is an actual customer [Read]
If customer mobile number is not recognised feedback is provide, and call is closed
The registered Customer is requested their PIN number
Transaction Service [reads] and verifies PIN number
If the PIN is incorrect other options are provided
If the PIN number is correct the Customer is asked to look for the Vending Transaction Number be displayed on the Vending Machine. [Write correctly authenticated customer]
The Transaction Service generates a Random number [Write]
Transaction Service calls Vending Machine
Upon authentication of the two parties (the GSM modems) the Random number is transmitted [Write]
The Vending Machine takes the Random Number and displays it
Random number is displayed on Vending Machine
Customer enters Random Number [Write]
Transaction Service reconciles the Number entered by the Customer with the number transmitted to the Vending Machine [Read stored number]
If this is incorrect other options are offered
If this is correct, Transaction Service requests the credit value required.
If this is incorrect other options are offered
Customer enters required Credit value for that vend [Write]
Credit value is checked and transmitted to the vending machine
Vending Machine permits the required Credit value
Upon a successful vend the Vending Machine transmits the successful action to the Transaction Service
Transaction Service Records a Successful Vend [Write]
Transaction Service closes the call with the Vending Machine
Transaction Service closes the call with the Customer [Write]
The data can be written and read straight into and from flat text files, so there is no need to create a database as such for this demo. However, the choice as to whether a single file or several files are used is left open to whatever the developer considers is easiest to do. The minimum requirement for the data that needs to be stored to make the demonstration of any value is the following:
Called number (i.e. the vending machine called) [As we are only using one number to call into the Transaction Service we may need to simulate two or more numbers differently, one solution is to just ask when the caller calls which vend they require]
Caller number (Which phone is being used to call in from – if number is with-held then number with-held needs to be recorded)
Data and time of call
PIN number used
Random number generated
Value of vend requested
Value of vend completed
Date and time of completed Vending Call
Date and time of completed customer call
IVR Plug-in, examples, etc, requirements:
IVR has several plug-ins which write and read from text file these are available on the web site at the following address: [url removed, login to view]
Example files are available at: [url removed, login to view]
Example software developers’ kit with VB and C files are available at: [url removed, login to view]
There is a discussion forum at: [url removed, login to view]
The plug-ins I recommend (but don’t have to be used if alternatives are developed and used) are: Getdatax, Savedata, Checkdata, finddata, rand, ivmview, (for demonstration purposes rather than get bogged down by this the preferred option would be to simulate this with some prewritten numbers stored and read from a flat text file).
8 freelancer bu iş için ortalamada 243$ teklif veriyor
Hi, I am very much interested in this job. I am from Hyderabad, India. Request you to please check ur PM now and get back to me ASAP. Thanks and Regards, Sai Kiran