In Progress

Automated "Terms of Service Agreement" System for Asterisk

We need a custom behavior scripted for our FreePBX-distro ([url removed, login to view]) installation of Asterisk 11 running in user-and-device mode. Presumably, this will use a PHP script which relies on AGI or AMI to issue commands to the PBX—but we are open to any solution which will achieve the same goals. Here is a summary of the desired flow:

1) Call center agent clicks a link on a web page in their existing scripting system which is hyperlinked to our PBX and calls a URL, such as:

[url removed, login to view]

2) Based on the “agentID” (extension number) passed via the URL to the PBX, the PBX seizes/transfers the call away from the agent to a custom extension. (The agent is no longer part of the call once the call is seized/transferred.)

3) The custom extension starts recording the call in .wav format.

4) The custom extension plays a recording of the “terms of service” to the customer.

3) At the end of the playback of the “terms of service” recording, the custom extension 'listens' for touch-tones and a recording asks, “Do you accept the terms of service, as stated? Press 1 to accept or any other button to decline. If you want to decline, you can also just hang up. Please press 1 now if you accept.”

4) If customer presses “1”, the system plays a recording: “Thank you for electronically signing this agreement. A printed copy will be mailed to you for your records. Have a nice day. Goodbye.” After playback, the call recording stops and the call is terminated.

5) If a customer presses any key other than “1”, the system plays a recording, “We're sorry you did not accept the terms of service. We will contact you at a later time by phone or mail to follow-up and answer any questions you may have about the terms of service.” After playback, the call recording stops and the call is terminated.

6) If the customer does not press any button within 10 seconds, the system re-plays the request for acceptance recording while continuing to listen for a touch-tone. If yet another 10 seconds passes, system plays a recording, “We will contact you again later to seek your acceptance and answer any questions you may have so that we may process your request. Thank you for your call.” After playback, the call recording stops and the call is terminated.

7) If a customer hangs up before pressing any touch-tone buttons, they will be assumed to have declined to agree.

8) Upon call termination, an entry is made to a database table on the PBX, which includes columns for “callID”, “ptID”, “agentID”, “timestamp”, “acceptance_status”, and “recording_path”.

The “callID” field will be 6 to 10 digits, integers only.

The “ptID” field will also be 7 digits, integers only, starting with 1, 2, or 3.

The “agentID” field will be 5 digit integer only entry.

The “timestamp” shall be the full server date and time stamp at the time of the entry.

The “acceptance_status” will either hold a integer entry of “0” for not accepted or “1” for acceptance.

The “recording_path” will contain the file name of the call recording.

Skills: Asterisk PBX, MySQL, PHP, Software Architecture

See more: terms of service agreement example, terms of agreement example, service seek, service agreement format, seek service, seek records, seek phone number, seek customer service, seek agent, pbx database, open a call center, example of service agreement, example of a service agreement, customer service questions, customer service contact, call center number, call center name, agreement of service, terms of agreement, open pbx, freepbx server, 10 key by touch, scripted com, terms, Terms of service

About the Employer:
( 26 reviews ) Ashland, United States

Project ID: #5390706

Awarded to:


I have done a lot of asterisk projects. Please look to my profile. Your project is clear and I have done such projects and have the experience to do it. The solution that you want will have a web page that will be call More

$500 USD in 10 days
(148 Reviews)

8 freelancers are bidding on average $585 for this job


hi i have more then 12 years experience with asterisk, please check my feedback i can do this ivr flow for you

$618 USD in 10 days
(156 Reviews)

Hello Sir, I am from Confianza Technologies. I have gone through your requirements. We have developers who have vast experience in required technologies. We are interested in your project, but before finalizing budget More

$775 USD in 15 days
(41 Reviews)

Hi there , We have gone through your initial project description and based on your requirement we want to go for detail analysis of your requirement and brief discussion with you . Instead of posting already prepare More

$773 USD in 20 days
(8 Reviews)

In my understanding, This project is best suited for technical person rather writers only. Expert IT professional is here with more than 06 years work experience. I wrote several technical papers. No copy paste wor More

$300 USD in 7 days
(58 Reviews)

Hi, Expert with Asterisk here. Can implement your requested call flow using an AGI script with PHP and MySQL. I have read the description and it should be rather easy with my expertise, and wouldn't take more than More

$600 USD in 10 days
(5 Reviews)

Hi Sir, I have experiences with Asterisk and FeePBX, also deep knowledge in custom IVR and dial plan. The project you have described has the same concept like my last project which define as IVRBroadcast. I can deliver More

$555 USD in 5 days
(5 Reviews)

A proposal has not yet been provided

$555 USD in 6 days
(0 Reviews)