diff --git a/COPYRIGHT b/COPYRIGHT index 8e26243..2fb4526 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,3 +1,4 @@ +$Amigan: phoned/COPYRIGHT,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ This is the phoned distribution. Copyright (C) 2005, Dan Ponte. All rights reserved. diff --git a/Makefile b/Makefile index 361774c..2dd4565 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ # main makefile... +# $Amigan: phoned/Makefile,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ # Oh My Fucking God, this is such a big, unportable mess. Oh well. # BSD Make > * APPS=cnd phoned diff --git a/README b/README index cf3efd6..bbb964f 100644 --- a/README +++ b/README @@ -1,3 +1,4 @@ +$Amigan: phoned/README,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ +=======================================+ | phoned | | (C)2005, Dan Ponte | diff --git a/cnd/Makefile b/cnd/Makefile index 8b40a89..c99cfb5 100644 --- a/cnd/Makefile +++ b/cnd/Makefile @@ -1,4 +1,5 @@ # cnd Makefile +# $Amigan: phoned/cnd/Makefile,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ # (C)2005, Dan Ponte include ../global.mk # basic stuff. we append for a reason. diff --git a/cnd/cnd.c b/cnd/cnd.c index f62886f..4ec09c6 100644 --- a/cnd/cnd.c +++ b/cnd/cnd.c @@ -5,6 +5,7 @@ * Excerpted from the original cidserv distribution. Modified to work * with phoned. */ +/* $Amigan: phoned/cnd/cnd.c,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ */ #include #include #include @@ -29,7 +30,7 @@ #define ADDRS "/usr/local/etc/cidserv.conf" int nhosts = 0; char hosts[10][18]; -static const char rcsid[] = "$Amigan: phoned/cnd/cnd.c,v 1.1 2005/06/01 00:37:22 dcp1990 Exp $"; +static const char rcsid[] = "$Amigan: phoned/cnd/cnd.c,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $"; void send_dgram(char* address, char* datar); void load_addrs(const char* fl); int parse_cid(char* tty, char* phone, char* name, int dist_r, char* called); diff --git a/doc/install_guide.txt b/doc/install_guide.txt index 6c2f6fa..4909c98 100644 --- a/doc/install_guide.txt +++ b/doc/install_guide.txt @@ -1,3 +1,4 @@ +$Amigan: phoned/doc/install_guide.txt,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ ************************************************************************** ** phoned installation guide -- it's good ** ** (C)2005, Dan Ponte ** @@ -5,36 +6,21 @@ 1.0 Introduction phoned is [supposed to be] a powerful phone answering system, much like VOCP. However, it is more-client-server based. -Its power stems from the use of vgetty, part of the mgetty+sendfax -distribution. It is available at: - http://alpha.greenie.net/mgetty/ -mgetty+sendfax is also available under FreeBSD ports as comms/mgetty+sendfax/. -I will not cover the installation and configuration of mgetty/vgetty here. -There are many good docs on the process. The phoned distribution consists of the following: *phoned - the main daemon responsible for logging stuff and talking to - clients -*phonecall - a Perl script called by vgetty when it answers the phone, - responsible for talking to phoned and telling vgetty what to do (play sound - files, interpret menu options, etc) + clients and the modem *xfone - a Tcl/Tk application for checking messages and administering mailboxes -*cnd - called by vgetty when the phone rings to tell phoned to log the call, - alert network users and either reject or accept the call based on the - caller. (based on a tiny bit of code from my old cidserv application, it is - compatible with its clients.) 2.0 Requirements In order to use the base phoned and phonecall, you must have at least the following: -*A Unix system capable of running perl, vgetty, and using sockets +*A Unix system capable of using sockets and talking to a modem (tested on FreeBSD) (the phoned suite will NOT run on windows. Get a better OS. It might run on OSX.) -*Perl (tested on 5.8.6) -*The Modem::Vgetty Perl module, available from CPAN -*A properly installed and configured vgetty -*A voice modem supported by vgetty. Tested with the Diamond SupraExpress 56i +*Perl (tested on 5.8.6) (dunno why, just have it) +*A voice modem supported by us. Tested with the Diamond SupraExpress 56i Sp (Rockwell chipset/driver) *Telephone service *A telephone, mic, or other recording device to record the greeting messages diff --git a/global.mk b/global.mk index cd94665..9ff0d24 100644 --- a/global.mk +++ b/global.mk @@ -1,3 +1,4 @@ # global stuff +# $Amigan: phoned/global.mk,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ CC=cc PREFIX=/usr/local diff --git a/include/phoned.h b/include/phoned.h index e598faa..1c18693 100644 --- a/include/phoned.h +++ b/include/phoned.h @@ -3,6 +3,7 @@ * (C)2005, Dan Ponte * BSDL w/ advert. */ +/* $Amigan: phoned/include/phoned.h,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ */ #define VERSION "0.1" #define LOGFILE "/var/log/phoned.log" #define SOCKETFILE "/tmp/phoned.sock" diff --git a/main.mk b/main.mk index a3b2657..fab85b3 100644 --- a/main.mk +++ b/main.mk @@ -1,3 +1,4 @@ +# $Amigan: phoned/main.mk,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ all: .depend ${MAINBIN} # I know, I know, but it's good. .depend: ${SRCS} ${OHDRS} diff --git a/phonectl/Makefile b/phonectl/Makefile index 1ef5d94..84c713e 100644 --- a/phonectl/Makefile +++ b/phonectl/Makefile @@ -1,5 +1,6 @@ # cnd Makefile # (C)2005, Dan Ponte +# $Amigan: phoned/phonectl/Makefile,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ include ../global.mk # basic stuff. we append for a reason. CPPFLAGS=-I../include diff --git a/phonectl/phonectl.c b/phonectl/phonectl.c index a669929..c25f2aa 100644 --- a/phonectl/phonectl.c +++ b/phonectl/phonectl.c @@ -27,6 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +/* $Amigan: phoned/phonectl/phonectl.c,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ */ /* system includes */ #include #include diff --git a/phoned/Makefile b/phoned/Makefile index c637473..77902c7 100644 --- a/phoned/Makefile +++ b/phoned/Makefile @@ -1,5 +1,6 @@ # cnd Makefile # (C)2005, Dan Ponte +# $Amigan: phoned/phoned/Makefile,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ include ../global.mk # basic stuff. we append for a reason. CPPFLAGS=-I../include -DDEBUG diff --git a/phoned/cfg.c b/phoned/cfg.c index de7256d..699aa31 100644 --- a/phoned/cfg.c +++ b/phoned/cfg.c @@ -2,6 +2,7 @@ * FUCK....lex overwrote this :-( * (C)2005, Dan Ponte...again. */ +/* $Amigan: phoned/phoned/cfg.c,v 1.2 2005/06/01 00:43:07 dcp1990 Exp $ */ #include #include #include