Asterisk Confirmation Calling Script
$100-500 USD
货到付款
We're looking for a single-threaded PHP script that will on a certain time to make confirmation calls to our customers.
The developer will need to install the script in an already working Asterisk PIAF box with UnixODBC-FreeTDS already installed.
We will have written two SQL Stored Procedures:
spConfCallQuery (appointment type)
spConfCallUpdate (appointment type, jobID, outcome of call)
## Deliverables
Here’s the plan:
1. Query a pre-written MSSQL proc to get a list of customers, phone #s, dates and times.
2. Dial the #, and detect answer, noanswer, or answering machine
a. If there's an answer, use Cepstral to say:
"Hello, this is (company), our consultant (Name), is scheduled to visit your home on (date) at (time). Please press 1 to confirm, or 2 to speak to a scheduler.
1. Press 1:
a. Say “Thank you, we appreciate the opportunity for your business??,
b. Call spConfCallUpdate with 1, jobid and 1 as parameters
2. Press 2:
a. Say “Transferring?? and blind forward the call to an external #.
b. Call spConfCallUpdate with 1, jobid and 2 as parameters
3. 5 second timeout after message plays:
a. Repeat Message again, then hang up
b. Call spConfCallUpdate with 1, jobid and 3 as parameters
b. If there’s no answer
Call spConfCallUpdate with 1, jobid and 4 as parameters
c. If app_amd detects an answering machine, say:
“Hello, this is (company), our consultant (Name), is scheduled to visit your home on (date) at (time). Thank you for your business??
a. Call spConfCallUpdate with 1, jobid and 5 as parameters
项目ID: #3253527