ArchiTel is proud to bring you a cool little greasemonkey script which allows you to click and dial phone numbers, automatically recognised from any webpage and originate the call to your IP phone via Asterisk.
The advantage of this script, is that it makes use of the greasemonkey ajax callbacks, which allows you to click and dial a number from a hyperlink, without navigating away from the current webpage.
You can download AstJax here, click read more for Installation instructions.
Installation Instructions
- Download AstJax
- Install greasemonkey
- Edit clickToCall.php (self explanatory)
- Deploy clickToCall.php to your webserver
(does not have to be the server Asterisk is on, as long as the webserver's IP has manager access (see manager.conf) - Edit astjax2.user.js
- Define the url where you have deployed clickToCall.php
- For US/Canada number recognition, uncomment the US numberRegex constant, and comment or delete the UK one
- Navigate firefox to the location of astjax2.user.js
eg "file:///home/rick/astjax2.user.js" or "c:\astjax2.user.js" etc. to install the greasemonkey script
Currently there are number parsing RegEx's for UK and US/Canada. Although this is very simple to modify for another country. You can even probably find an existing regex for numbers in your county's format at RegexLib. If you write a regex for your country's phone number format, be sure to tell us by leaving a comment so that we can add it to the script for others.
The script is based on the UPS linkify concept by by Logan Ingalls, and clickToCall.php by VoipJots.com - Props!. It also requires a manager connection to Asterisk.


AstJAX Firefox Dialer Script