LunchBreak

From Contest

Jump to: navigation, search

Contents

Lunch Break Manager

Why

not use the Snom phone to find the people willing to go to lunch at a certain time and location to join them or create your own lunch date and wait for people joining in?

How

After entering the hour (maybe we should extend it to minutes as well?) of your intended lunch break, the Minibrowser app shows a list of others already planning to go at this time. You can then select a existing group and join it this way or create a new group.

This program uses a MySQL database to store the parties. A second version is provided which uses an existing Asterisk installation as database.

Requirements

  • One/more snom phones with Minibrowser support
  • One server with either
    • Apache and PHP (tested with Apache2 and PHP5)
    • MySQL (existing database needed, enter database login info into the script and run it once with lunchbreak.php?install=true to create the table).
  • Or
    • Asterisk software PBX (this code has been tested with 1.2.14-BRIstuffed-0.3.0-PRE-1y)
    • Apache and PHP running on same machine as the Asterisk installation
    • Installation requisites as described here: InterAsterisk:InstallationPHP
  • You should replace the http://asterisk in the script to something that points to your server. I found that relative paths did sometimes not work with the Minibrowser

Demo

A demo application is provided. Please point your snom browser to: http://www.willmeroth.com/snom/lunchbreak.php

Download

http://www.willmeroth.com/snom/lunchbreak.tar

Changes

The inital 1800-Release had some bugs and I found that a demo without a db was too uncool so I added a MySQL version --StefanW 22:18, 22 October 2007 (CEST)

Personal tools