FreePBX AMI Click to call examples written in PHP

FreePBX AMI Click to call examples written in PHP

Cancelled

Job Description

This project involves building PHP files hosted on a FreePBX distribution (FreePBX distro, Elastix, AsteriskNOW) web directory that can 1) prompt a user for a 10 digit phone number and 2) use Asterisk AMI's originate command through the same PHP file to call to the number provided for click to call purposes.

All three PHP files will prompt the user for their number and originate a call between the number given and these three destinations on the FreePBX distro:

1) Ring Groups
2) Extensions (with Follow Me)
3) Queues

The contexts must work correctly for originated calls to the three previously mentioned destinations.

Example of working:
PHP file for extension 100 must connect the 10 digit phone number to the extension, which will trigger its Follow Me settings and voicemail if available.

Example of not working:
PHP file for extension 100 must connect the 10 digit phone number to the extension, which then hangs up if 100 does not answer even though Follow Me settings and voicemail is present for extension 100.

PHP file must be hosted and work on the same server FreePBX is running on.