[Asterisk-Dev] Open Source time card application for Asterisk

Rob McKrill kc8dml at yahoo.com
Sat Sep 24 06:29:44 MST 2005


I have written an AGI app like this that could be
adapted for what you are looking to do.  One division
of our business has several retail cellular stores
that management wanted to make sure were being
staffed.  Management wanted to know immediately when
people clocked in or out.  So here is an example of
the call flow:

1. Employee calls the time clock application from the
store that they are working at by dialing
T-I-M-E(8463).

2. The AGI script reads the caller id and stores it
for later in the script.

3. The AGI asks for the employee's id number, then
whether they are clocking in or out.  I haven't
implemented any checking of whether they are already
clocked in yet.

4. It then writes all of the info (employee id,
location, time/date) to the DB table, sends an
email/text message to management, and then finally
reads the time/date back to the employee.


I would be more than happy to share this perl script
with anyone who might be trying to do the same thing.

Rob


> ------------------------------
> 
> Message: 2
> Date: Fri, 23 Sep 2005 10:32:16 -0600
> From: Joseph <syscon at interbaun.com>
> Subject: Re: [Asterisk-Dev] Open source time card
> application for
> 	Asterisk
> To: Asterisk Developers Mailing List
> <asterisk-dev at lists.digium.com>,
> 	chuck.bunn at networkdoc.com
> Message-ID:
> <1127493136.18736.41.camel at sysconcept.ca>
> Content-Type: text/plain
> 
> [snip]
> > > Do you mean employee time-card? With mysql
> database this would be very
> > > interesting project.
> > > Do you have a short description of what it would
> do?
> > > 
> > >   
> > Hi,
> > 

=== message truncated ===




More information about the asterisk-dev mailing list