Code base for ABP Technologies Click to Call
View the installation information at: http://www.abptech.com/3CX_Click_To_Call_Javascript_and_PHP_Blog.html
example.php has the javascript at work and provides a popup for the calling action to happen. Once installed on your server, you will need to adjust values within the files to point to your domain/ip.