gmailcheck.php - using crontab this is executed every minute, which basically does the gmail poll and executes the phone push if required.
This file utilises an existing class gmAtom to check for new messages.
statusMsg.php - when the push2phone occurs, it tells the phone to GET statusMsg.php?x=[number of messages]. So this generates the XML required to display the PhoneStatus Message on the screen. It's actually incredibly simple.
settings.php - basically anything you'd want to change. This example only takes into consideration a single gmail user and a single Cisco Phone, and assumes the phone ip address is static and not going to change.
crontab - this is the entry of my crontab file to periodically execute gmailcheck.php, to add a crontab entry run 'crontab -e' at a shell prompt.
In this example we poll every minute between 7am and 10pm, the gmailcheck.php output is saved to gclog.txt in the root folder.