To originate a call from Asterisk using an external application, such as CRM or whatsoever, the easy solution is to use AMI API in order to connect to Asterisk server and initiate the call.
Here is the simple example in which phpagi-asmanager is used along with JQuery in index.php file to pass the phone number to the main php file: “call_originate.php”.
It appears that the mail server (SendMail) is not so straightforward in terms of configuration.
so in systems that have SendMail by default, you might have to remove sendmail using the following command:
apt-get --purge remove sendmail
Shutter – Featureful Screenshot Tool
Shutter is a feature-rich screenshot program. You can take a screenshot of a specific area, window, your whole screen, or even of a website – apply different effects to it, draw on it to highlight points, and then upload to an image hosting site, all within one window. Shutter is free, open-source, and licensed under GPL v3.
Official website: http://shutter-project.org
Recently we had a customer that requested for integration with their CRM web application (based on .NET framework and MSSQL). They wanted to get the caller id of the caller and the number which they have called. Here is a simple approach to get this done. In this example, I have used AGI to get the CLID and channel number and then I use the cURL method of PHP to POST the 2 parameters to the URL on the other side.
Reading from MySQL Database
The following AGI retrieves asterisk extensions from Asterisk database in MySQL and displays them as verbose.