Jaiku By Telephone
You can browse the source code from a browser, or grab the latest version of the source code using Subversion at:
You can grab the latest version of the source code using Subversion at:
Move the jaiku-agi.php script into your Asterisk AGI scripts directory (often /var/lib/asterisk/agi-bin) and make sure the permissions are set so that it's accessible by your Asterisk and that it's set to be executable. Modify the line:
$j = new Jaiku("username","password",'screenname');
and replace with your own Jaiku.com username, password and screen name.
Finally, set up an Asterisk extension that calls the script.
If you're using FreePBX, you can:
- Navigate to Setup | Ring Groups.
- Create a new Ring Group called "Jaiku Presence Update."
- Enter an invalid extension in the "extension list" -- something like "XXX".
- Set the ring time to 1.
- Under Destination, select Custom App, and enter custom-jaiku,s,1
- In /etc/asterisk/extensions_custom.conf, enter:
[custom-jaiku] exten => s,1,agi(jaiku-agi.php)
If all goes according to plan, you should be able to pick up a handset, dial the number for the Ring Group you created, and the script should answer.
When you're prompted to enter a new Jaiku status message, you must use the text input method described here. This is not the same text input method you'll be used to if you use a mobile phone to compose text messages, but it's similar. The basic idea is that you enter each letter followed by a * press. Enter 0* for space and # to finish.
Here It In Action
The confirmation menu doesn't allow options to be selected while it's being read. This is an easy thing to change, but I haven't yet.
It's assumed that the Jaiku update worked properly -- no errors are reported.
2006-12-24 - v0.1 - Initial release.