Added copyright notice.
git-svn-id: http://voip.null.ro/svn/yate@114 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
27225cd33a
commit
083fbe1a89
18
ChangeLog
18
ChangeLog
|
@ -1,3 +1,21 @@
|
|||
Mon Nov 29 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Bumped version to 0.8.5
|
||||
- Added copyright statement in each source file
|
||||
- Fixed matching of RTTI setting against pwlib
|
||||
- Fixed file permissions during install
|
||||
|
||||
Sun Nov 28 2004 Diana Cionoiu <diana@diana.null.ro>
|
||||
- Added spandsp based fax channel
|
||||
|
||||
Wed Nov 10 2004 Diana Cionoiu <diana@diana.null.ro>
|
||||
- Added some documentation
|
||||
- Added default setting for gatekeeper server
|
||||
|
||||
Mon Nov 01 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Added a textual disconnect reason for channels
|
||||
- Added unique IDs to wave and tone channels
|
||||
- Improved CDR tracking and handling of unusual conditions
|
||||
|
||||
Mon Nov 01 2004 Diana Cionoiu <diana@diana.null.ro>
|
||||
- Fixed a serious memory leak in threads
|
||||
|
||||
|
|
15
Makefile.in
15
Makefile.in
|
@ -16,6 +16,7 @@ INCLUDES := -I@srcdir@
|
|||
CFLAGS := -O2 @MODULE_CFLAGS@ @INLINE_FLAGS@
|
||||
LDFLAGS:=
|
||||
|
||||
MKDEPS := ./config.status
|
||||
PROGS:= yate
|
||||
SLIBS:= libyate.so
|
||||
INCS := telengine.h telephony.h yateversn.h
|
||||
|
@ -97,7 +98,7 @@ tables: @srcdir@/tables/all.h
|
|||
@srcdir@/tables/all.h:
|
||||
$(MAKE) -C @srcdir@/tables -f Makefile.tables all
|
||||
|
||||
yatepaths.h: Makefile
|
||||
yatepaths.h: $(MKDEPS)
|
||||
@echo '#define MOD_PATH "$(DESTDIR)$(moddir)"' > $@
|
||||
@echo '#define CFG_PATH "$(DESTDIR)$(confdir)"' >> $@
|
||||
|
||||
|
@ -111,13 +112,14 @@ install: all apidocs
|
|||
@mkdir -p "$(DESTDIR)$(bindir)/" && \
|
||||
install $(PROGS) yate-config "$(DESTDIR)$(bindir)/"
|
||||
$(MAKE) -C ./modules $@
|
||||
$(MAKE) -C ./scripts $@
|
||||
$(MAKE) -C ./conf.d $@
|
||||
@mkdir -p "$(DESTDIR)$(mandir)/man8/" && \
|
||||
for i in $(MAN8) ; do \
|
||||
install -m 0644 @srcdir@/$$i "$(DESTDIR)$(mandir)/man8/" ; \
|
||||
done
|
||||
@mkdir -p "$(DESTDIR)$(libdir)/pkgconfig/" && \
|
||||
install yate.pc "$(DESTDIR)$(libdir)/pkgconfig/"
|
||||
install -m 0644 yate.pc "$(DESTDIR)$(libdir)/pkgconfig/"
|
||||
@mkdir -p "$(DESTDIR)$(incdir)/" && \
|
||||
for i in $(INCS) ; do \
|
||||
install -m 0644 @srcdir@/$$i "$(DESTDIR)$(incdir)/" ; \
|
||||
|
@ -149,6 +151,7 @@ uninstall:
|
|||
done
|
||||
@rm -rf "$(DESTDIR)$(docdir)/"
|
||||
$(MAKE) -C ./modules $@
|
||||
$(MAKE) -C ./scripts $@
|
||||
$(MAKE) -C ./conf.d $@
|
||||
|
||||
.PHONY: snapshot tarball
|
||||
|
@ -184,13 +187,13 @@ snapshot tarball: check-topdir clean tables apidocs
|
|||
check-topdir:
|
||||
@test -f configure || (echo "Must make this target in the top source directory"; exit 1)
|
||||
|
||||
Engine.o: @srcdir@/Engine.cpp @srcdir@/telengine.h yatepaths.h
|
||||
Engine.o: @srcdir@/Engine.cpp $(MKDEPS) @srcdir@/telengine.h yatepaths.h
|
||||
$(COMPILE) -c $<
|
||||
|
||||
DataBlock.o: @srcdir@/DataBlock.cpp @srcdir@/telengine.h @srcdir@/telephony.h
|
||||
DataBlock.o: @srcdir@/DataBlock.cpp $(MKDEPS) @srcdir@/telengine.h @srcdir@/telephony.h
|
||||
$(COMPILE) -c $<
|
||||
|
||||
%.o: @srcdir@/%.cpp @srcdir@/telengine.h
|
||||
%.o: @srcdir@/%.cpp $(MKDEPS) @srcdir@/telengine.h
|
||||
$(COMPILE) -c $<
|
||||
|
||||
@srcdir@/configure: @srcdir@/configure.in
|
||||
|
@ -199,7 +202,7 @@ DataBlock.o: @srcdir@/DataBlock.cpp @srcdir@/telengine.h @srcdir@/telephony.h
|
|||
config.status: @srcdir@/configure
|
||||
./config.status --recheck
|
||||
|
||||
Makefile: @srcdir@/Makefile.in config.status
|
||||
Makefile: @srcdir@/Makefile.in $(MKDEPS)
|
||||
./config.status
|
||||
|
||||
yate: $(OBJS) libyate.so $(LIBS)
|
||||
|
|
|
@ -1,8 +1,25 @@
|
|||
/**
|
||||
* gtkclient.cpp
|
||||
*
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
* Regexp based routing
|
||||
*
|
||||
* A Gtk based universal telephony client
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
29
configure.in
29
configure.in
|
@ -1,5 +1,5 @@
|
|||
# Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(YATE, 0.8.4)
|
||||
AC_INIT(YATE, 0.8.5)
|
||||
AC_CONFIG_SRCDIR([README])
|
||||
AC_PREREQ(2.52)
|
||||
|
||||
|
@ -103,7 +103,7 @@ fi
|
|||
AC_SUBST(HAVE_GSM)
|
||||
|
||||
HAVE_PWLIB=no
|
||||
PWLIB_RTTI=no
|
||||
PWLIB_RTTI=none
|
||||
PWLIB_INC=""
|
||||
PWLIB_LIB=""
|
||||
PWLIB_RUN=""
|
||||
|
@ -112,7 +112,7 @@ AC_ARG_WITH(pwlib,AC_HELP_STRING([--with-pwlib=DIR],[use Pwlib from DIR (default
|
|||
if [[ "x$ac_cv_use_pwlib" != "xno" ]]; then
|
||||
AC_MSG_CHECKING([for Pwlib in $ac_cv_use_pwlib])
|
||||
verpw=`ptlib-config --version 2>/dev/null`
|
||||
prtti=`ptlib-config --ccflags 2>/dev/null | sed -n 's/^.*\(-f[^ ]*rtti\).*$/\1/p'`
|
||||
prtti=`ptlib-config --ccflags 2>/dev/null | sed -n 's/^.*\(-f[[^ ]]*rtti\).*$/\1/p'`
|
||||
# try first installed directory
|
||||
incpw="$ac_cv_use_pwlib/include/ptlib.h"
|
||||
libpw="$ac_cv_use_pwlib/lib/libpt.so"
|
||||
|
@ -123,20 +123,30 @@ fi
|
|||
if [[ -f "$incpw" -a -f "$libpw" ]]; then
|
||||
HAVE_PWLIB=installed
|
||||
PWLIB_LIB="-L$ac_cv_use_pwlib/lib -lpt"
|
||||
if [[ "x$prtti" = "x-frtti" ]]; then
|
||||
case "x$prtti" in
|
||||
x-frtti)
|
||||
PWLIB_RTTI=yes
|
||||
fi
|
||||
;;
|
||||
x-fno-rtti)
|
||||
PWLIB_RTTI=no
|
||||
;;
|
||||
esac
|
||||
else
|
||||
# try source directory style
|
||||
libpw=`echo "$ac_cv_use_pwlib/lib/"libpt*r.so`
|
||||
if [[ -f "$incpw" -a -f "$libpw" ]]; then
|
||||
prtti=`"$ac_cv_use_pwlib/make/ptlib-config" --ccflags 2>/dev/null | sed -n 's/^.*\(-f[^ ]*rtti\).*$/\1/p'`
|
||||
prtti=`"$ac_cv_use_pwlib/make/ptlib-config" --ccflags 2>/dev/null | sed -n 's/^.*\(-f[[^ ]]*rtti\).*$/\1/p'`
|
||||
HAVE_PWLIB=sources
|
||||
PWLIB_LIB="-L$ac_cv_use_pwlib/lib -l`echo "$libpw"|sed 's,^.*/lib,,; s,\.so$,,'`"
|
||||
PWLIB_RUN=":$ac_cv_use_pwlib/lib"
|
||||
if [[ "x$prtti" = "x-frtti" ]]; then
|
||||
case "x$prtti" in
|
||||
x-frtti)
|
||||
PWLIB_RTTI=yes
|
||||
fi
|
||||
;;
|
||||
x-fno-rtti)
|
||||
PWLIB_RTTI=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
AC_MSG_RESULT([$HAVE_PWLIB $verpw RTTI: $PWLIB_RTTI])
|
||||
|
@ -423,7 +433,7 @@ AC_MSG_WARN([Mismatched RTTI setting between Yate ($USE_RTTI) and pwlib ($PWLIB_
|
|||
fi
|
||||
fi
|
||||
|
||||
MODULE_CFLAGS="-fno-exceptions -fno-check-new $RTTI_OPT -fPIC $HAVE_GCC_FORMAT_CHECK"
|
||||
MODULE_CFLAGS="-fno-exceptions -fno-check-new -fPIC $RTTI_OPT $HAVE_GCC_FORMAT_CHECK"
|
||||
MODULE_LDFLAGS="-export-dynamic -shared"
|
||||
MODULE_SYMBOLS="-Wl,--retain-symbols-file,/dev/null"
|
||||
AC_SUBST(MODULE_CFLAGS)
|
||||
|
@ -434,6 +444,7 @@ AC_CONFIG_FILES([yate.spec
|
|||
yate.pc
|
||||
Makefile
|
||||
modules/Makefile
|
||||
scripts/Makefile
|
||||
conf.d/Makefile
|
||||
contrib/iax/Makefile
|
||||
test/Makefile])
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* Configuration.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* DataBlock.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telephony.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* Engine.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* Message.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* Mutex.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* NamedList.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* ObjList.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* Plugin.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* String.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* TelEngine.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* Thread.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
17
main.cpp
17
main.cpp
|
@ -1,6 +1,23 @@
|
|||
/**
|
||||
* main.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include "telengine.h"
|
||||
|
|
|
@ -18,6 +18,7 @@ MODSTRIP:= @MODULE_SYMBOLS@
|
|||
INCFILES := @top_srcdir@/telengine.h @top_srcdir@/telephony.h @top_srcdir@/yateversn.h
|
||||
|
||||
SUBDIRS :=
|
||||
MKDEPS := ../config.status
|
||||
PROGS := cdrbuild.yate cdrfile.yate \
|
||||
regexroute.yate \
|
||||
tonegen.yate wavefile.yate \
|
||||
|
@ -95,10 +96,10 @@ uninstall: do-uninstall
|
|||
done; \
|
||||
rmdir "$(DESTDIR)$(moddir)"
|
||||
|
||||
%.o: @srcdir@/%.cpp $(INCFILES)
|
||||
%.o: @srcdir@/%.cpp $(MKDEPS) $(INCFILES)
|
||||
$(COMPILE) -c $<
|
||||
|
||||
%.o: @srcdir@/%.c
|
||||
%.o: @srcdir@/%.c $(MKDEPS)
|
||||
$(COMPILE) -c $<
|
||||
|
||||
do-all do-strip do-clean do-install do-uninstall:
|
||||
|
@ -111,13 +112,13 @@ do-all do-strip do-clean do-install do-uninstall:
|
|||
done \
|
||||
)
|
||||
|
||||
Makefile: @srcdir@/Makefile.in ../config.status
|
||||
Makefile: @srcdir@/Makefile.in $(MKDEPS)
|
||||
cd .. && ./config.status
|
||||
|
||||
lib%.so: %.o
|
||||
$(LINK) -shared -o $@ $^
|
||||
|
||||
%.yate: @srcdir@/%.cpp $(INCFILES)
|
||||
%.yate: @srcdir@/%.cpp $(MKDEPS) $(INCFILES)
|
||||
$(MODCOMP) -o $@ $(LOCALFLAGS) $< $(LOCALLIBS)
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Cdr builder
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -3,6 +3,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Write the CDR to a text file
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -3,7 +3,24 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Write the CDR to a PostgreSQL database
|
||||
*/
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
||||
|
|
|
@ -6,6 +6,23 @@
|
|||
* I think that AGI is great idea.
|
||||
*
|
||||
* External module handler
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -8,11 +8,27 @@
|
|||
* This great software can be found at
|
||||
* ftp://opencall.org/pub/spandsp/
|
||||
*
|
||||
* Fax driver (trasmision+receiving)
|
||||
* Fax driver (transmission+receiving)
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
// Ask for various C99 shit. The library author is a sicko (paulc)
|
||||
// Ja right man, exacly, in this case you should rewrite his entire work, if you don't like it (diana)
|
||||
// For SpanDSP we have to ask for various C99 stuff
|
||||
#define __USE_ISOC99
|
||||
#define __STDC_LIMIT_MACROS
|
||||
|
||||
|
|
|
@ -3,6 +3,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* GSM 6.10 codec using libgsm
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -9,6 +9,23 @@
|
|||
* OpenH323 and PWLIB runtime libraries to produce an executable image.
|
||||
*
|
||||
* H.323 channel
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <ptlib.h>
|
||||
|
|
|
@ -3,6 +3,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* IAX channel
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,26 @@
|
|||
/*
|
||||
test.c
|
||||
This file holds the entry point of the Telephony Engine
|
||||
*/
|
||||
* msgsniff.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* A sample message sniffer that inserts a wildcard message handler
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
||||
|
|
|
@ -5,6 +5,23 @@
|
|||
* Oss driver
|
||||
* I have to thank you to Mark Spencer because some parts of the code have
|
||||
* been taken from chan_oss.c from asterisk.
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -3,7 +3,24 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Postgres SQL based routing
|
||||
*/
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
#include <telephony.h>
|
||||
|
|
|
@ -1,8 +1,25 @@
|
|||
/**
|
||||
* regexroute.cpp
|
||||
*
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
* Regexp based routing
|
||||
*
|
||||
* Regular expressions based routing
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -1,8 +1,26 @@
|
|||
/* register.cpp
|
||||
/**
|
||||
* regfile.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Ask for a registration from this module.
|
||||
*/
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,26 @@
|
|||
/* register.cpp
|
||||
/**
|
||||
* register.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Ask for a registration from this module.
|
||||
*/
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
||||
|
|
|
@ -4,6 +4,23 @@
|
|||
*
|
||||
* This module gets the messages from YATE out so anyone can use an
|
||||
* administrating interface.
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -3,6 +3,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Tones generator
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -3,6 +3,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Wave file driver (record+playback)
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
|
|
@ -3,6 +3,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Zapata telephony driver
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
extern "C" {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
Makefile
|
||||
core*
|
||||
*.orig
|
||||
*~
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
# Makefile
|
||||
# This file holds the make rules for the Telephony Engine script files
|
||||
|
||||
# override DESTDIR at install time to prefix the install directory
|
||||
DESTDIR :=
|
||||
|
||||
SCRIPTS :=
|
||||
SCRLIBS := libyate.php Yate.pm
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
moddir = @libdir@/yate
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
@mkdir -p "$(DESTDIR)$(moddir)/" && \
|
||||
install -m 0644 $(SCRLIBS) "$(DESTDIR)$(moddir)/" && \
|
||||
test -z "$(SCRIPTS)" || \
|
||||
install $(SCRIPTS) "$(DESTDIR)$(moddir)/"
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
@-for i in $(SCRIPTS) $(SCRLIBS) ; do \
|
||||
rm "$(DESTDIR)$(moddir)/$$i" ; \
|
||||
done; \
|
||||
rmdir "$(DESTDIR)$(moddir)"
|
||||
|
||||
Makefile: @srcdir@/Makefile.in ../config.status
|
||||
cd .. && ./config.status
|
|
@ -4,6 +4,23 @@
|
|||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* PHP object-oriented interface library for Yate
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -10,6 +10,7 @@ LDFLAGS:= -L.. -lyate
|
|||
MODFLAGS:= @MODULE_LDFLAGS@
|
||||
MODSTRIP:= @MODULE_SYMBOLS@
|
||||
|
||||
MKDEPS := ../config.status
|
||||
PROGS = msgsniff.yate randcall.yate
|
||||
LIBS =
|
||||
OBJS =
|
||||
|
@ -35,17 +36,17 @@ strip: all
|
|||
clean:
|
||||
@-rm $(PROGS) $(LIBS) $(OBJS) core 2>/dev/null
|
||||
|
||||
%.o: @srcdir@/%.cpp @top_srcdir@/telengine.h
|
||||
%.o: @srcdir@/%.cpp $(MKDEPS) @top_srcdir@/telengine.h
|
||||
$(COMPILE) -c $<
|
||||
|
||||
%.o: @srcdir@/%.c
|
||||
%.o: @srcdir@/%.c $(MKDEPS)
|
||||
$(COMPILE) -c $<
|
||||
|
||||
Makefile: @srcdir@/Makefile.in ../config.status
|
||||
Makefile: @srcdir@/Makefile.in $(MKDEPS)
|
||||
cd .. && ./config.status
|
||||
|
||||
lib%.so: %.o
|
||||
$(LINK) -shared -o $@ $^
|
||||
|
||||
%.yate: @srcdir@/%.cpp $(INCFILES)
|
||||
%.yate: @srcdir@/%.cpp $(MKDEPS) $(INCFILES)
|
||||
$(MODCOMP) -o $@ $(LOCALFLAGS) $< $(LOCALLIBS)
|
||||
|
|
|
@ -1,7 +1,26 @@
|
|||
/*
|
||||
test.c
|
||||
This file holds the entry point of the Telephony Engine
|
||||
*/
|
||||
* randcall.cpp
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* A sample random call generator
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <telengine.h>
|
||||
|
||||
|
|
|
@ -43,4 +43,21 @@ INIT_PLUGIN(TestPlugin);
|
|||
|
||||
/*
|
||||
* vim:ts=4:et:sw=4:ht=8
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@ libdir=@libdir@
|
|||
includedir=@includedir@
|
||||
|
||||
yate=yate
|
||||
yate-config=yate-config
|
||||
yate_config=yate-config
|
||||
|
||||
Name: Yate
|
||||
Description: Yet Another Telephony Engine
|
||||
|
|
38
yate.spec.in
38
yate.spec.in
|
@ -66,48 +66,18 @@ make install DESTDIR=%{buildroot}
|
|||
rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* Mon Nov 01 2004 Diana Cionoiu <diana@diana.null.ro>
|
||||
- Fixed a serious memory leak in threads
|
||||
|
||||
* Sun Oct 31 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Added supervised running and periodic restart
|
||||
- Fixed lots of locking bugs
|
||||
* Mon Nov 29 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Version 0.8.5
|
||||
- Removed non-packaging changes - see ChangeLog instead
|
||||
|
||||
* Wed Sep 29 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Bumped version to 0.8.4
|
||||
- Added timestamps to all data channels
|
||||
- Added separate oRTP based RTP channel
|
||||
- H.323 can optionally use the RTP channel
|
||||
- RTTI support is configurable - defaults like pwlib which should be ok
|
||||
|
||||
* Sat Sep 11 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Added printf-style parameter/format checks for gcc
|
||||
- Filter for kdoc to parse trough said checks which it doesn't understand
|
||||
|
||||
* Mon Sep 06 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Created a contrib directory to hold libiax2 fork
|
||||
- Build system uses the included static libiax2 by default
|
||||
- Yate can write its main thread PID to a file
|
||||
|
||||
* Mon Sep 06 2004 Diana Cionoiu <diana@diana.null.ro>
|
||||
- Added a fork of libiax2 modified for server usage
|
||||
- Many features added in the IAX channel
|
||||
- Version 0.8.4
|
||||
|
||||
* Sat Jun 26 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Version 0.8.3
|
||||
- Minor fixes in tone generator and external module
|
||||
|
||||
* Sat Jun 26 2004 Diana Cionoiu <diana@diana.null.ro>
|
||||
- Added an OSS local sound channel
|
||||
|
||||
* Sat May 15 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Added pkgconfig support
|
||||
- Improved detection of Postgress' include file path
|
||||
- Support for detecting libraries required for SIP
|
||||
- Better detection of OpenH323 versions
|
||||
|
||||
* Sat May 15 2004 Diana Cionoiu <diana@diana.null.ro>
|
||||
- Added SIP channel and registration module
|
||||
|
||||
* Sun Apr 04 2004 Paul Chitescu <paulc-devel@null.ro>
|
||||
- Added yate-config to the devel package
|
||||
|
|
18
yatengine.h
18
yatengine.h
|
@ -1,7 +1,25 @@
|
|||
/**
|
||||
* telengine.h
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef __TELENGINE_H
|
||||
#define __TELENGINE_H
|
||||
|
||||
|
|
18
yatephone.h
18
yatephone.h
|
@ -1,7 +1,25 @@
|
|||
/**
|
||||
* telephony.h
|
||||
* This file is part of the YATE Project http://YATE.null.ro
|
||||
*
|
||||
* Yet Another Telephony Engine - a fully featured software PBX and IVR
|
||||
* Copyright (C) 2004 Null Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef __TELEPHONY_H
|
||||
#define __TELEPHONY_H
|
||||
|
||||
|
|
Loading…
Reference in New Issue