Mirror/Fork of https://github.com/yatevoip/yate (formerly http://yate.null.ro/svn/yate/) with some fixes. We're submitting our patches upstream, but until they actually review/respond, we're collecting them here.
Go to file
oana 9e5c0b49b6 Detect the presence of the sa_len field of struct sockaddr and set it if that is the case. Fixes the comparison of SocketAddr objects on Mac OS X and BSD-based systems.
git-svn-id: http://voip.null.ro/svn/yate@5218 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-07 12:08:16 +00:00
clients Moved external code dependencies in separate make variables EXTERNFLAGS and EXTERNLIBS. 2012-05-17 11:39:42 +00:00
conf.d Added support for updating remote dialog and party on reINVITE. 2012-08-03 21:20:10 +00:00
docs Allow setting the handler tracking name by individual external scripts. 2012-06-15 11:19:31 +00:00
engine Detect the presence of the sa_len field of struct sockaddr and set it if that is the case. Fixes the comparison of SocketAddr objects on Mac OS X and BSD-based systems. 2012-08-07 12:08:16 +00:00
libs Add 'action' attribute in jingle stanza for old version to generate an event when session initiate stanza is confirmed. This will fix call.ringing dispatch by the jingle channel. 2012-07-24 15:07:11 +00:00
modules Fixed compiler warnings which appeared on Mac OS X 10.6. 2012-08-07 09:02:28 +00:00
packing Package the WebRTC based iLBC codec. 2012-07-30 12:56:13 +00:00
share Added long time missing flow.py library file. 2012-06-19 09:53:12 +00:00
tools Set the SCTP retransmission maximum to 400 ms, 800 is too much. 2012-07-03 14:38:12 +00:00
windows Bumped version to devel 4.1.1 2012-04-23 09:55:23 +00:00
.cvsignore Made all YateLocal* to be ignored by SVN/CVS. 2008-02-05 12:25:40 +00:00
COPYING Updated copyright and FSF address. 2006-05-27 15:08:43 +00:00
ChangeLog Bumped version to 1.3.0 2007-08-27 17:26:32 +00:00
Makefile.in Added G.711 tables to SVN. 2012-05-09 12:32:43 +00:00
README Minor documentation additions. 2006-12-17 19:20:45 +00:00
autogen.sh Added G.711 tables to SVN. 2012-05-09 12:32:43 +00:00
configure.in Detect the presence of the sa_len field of struct sockaddr and set it if that is the case. Fixes the comparison of SocketAddr objects on Mac OS X and BSD-based systems. 2012-08-07 12:08:16 +00:00
main.cpp Updated copyright and FSF address. 2006-05-27 15:08:43 +00:00
run.in Added marker in Engine for runtime analyzers like callgrind to start collecting data. 2011-11-03 14:40:58 +00:00
yate-config.sh Suppress the MODULE_ parameters since they can be retrieved by other means. 2009-06-10 14:16:44 +00:00
yate.pc.in Added to pkgconfig several custom variables like in yate-config. 2008-10-09 14:53:51 +00:00
yatecbase.h Do load and unload of modules on the main thread. Added the possibility of replacing themain loop of the engine. 2012-04-06 15:27:35 +00:00
yateclass.h Fixed word size on 64 bit MIPS. 2012-07-16 12:40:28 +00:00
yateiss.inc.in Include code status in installer. 2008-01-08 19:22:51 +00:00
yatemime.h Only block the assignment operators of MimeHeaderLine and MimeAuthLine as they already had copy constructors with a default 2nd parameter. 2010-06-11 18:04:25 +00:00
yatengine.h Added a lockable class implementing variables shared between modules. 2012-06-27 17:48:50 +00:00
yatephone.h Use const String references for specifying type of data inCallEndpoint. Added method to return the default audio type. 2012-06-01 11:52:50 +00:00
yateversn.h.in Added Qt4 package and status tag. 2008-01-07 21:07:07 +00:00

README

		YATE - Yet Another Telephony Engine
		-----------------------------------

  The YATE project aims to be a fully featured software PBX.
  
  It was created to alow developers and users to have more functionality and
  scalability. To reach this goal YATE is built from two kinds of components: 
    1. The main engine - telengine.
    2. Modules - routing modules
               - drivers
               - script language bindings
	       - billing modules
  
  Its license is GPL with exceptions (in case of linking with proprietary
  software). We have chosen this license to help the growth of this project.


Building YATE Software
----------------------

YATE have been tested on Linux and Windows and was ported to FreeBSD.
Please report bugs at bugs@voip.null.ro

To build Yate the quick way is:
  ./configure
  make
  make install

If you are lacking both doxygen and kdoc you will need to install without the
API documentation:
  make install-noapi

1. Building the engine

You have just to run 'make engine' in the main directory.

2. Building the modules.

Run 'make modules' in the main directory or 'make' in the modules directory.

3. Building the test modules.

Run 'make test' in the main directory or 'make' in the test directory.

After you have create the test modules use 'mktestlinks' in the modules
directory to make links from test modules into modules directory.

4. Building the classes API documentation

Run 'make apidocs' in the main directory. You will need to have kdoc or
doxygen installed.


Alternatively you can just 'make everything' in the main directory which will
build them all.


Running YATE
------------

You can run YATE directly from the build directory - just use 'run' script
from the main directory.
  ./run -vvv

You can also install YATE - then you can run it from anywhere.
  yate -vvv

On the command line you can use '-v' to increase the verbosity level. If in
doubt run "run --help" (or "yate --help" if installed) to get a list of
possible options. There is also a manual page - "man yate" and read.

While running the following signals and keys are trapped and used:
  - SIGTERM and SIGINT (Ctrl-C) will cleanly stop the engine
  - SIGHUP and SIGQUIT (Ctrl-\) will reinitialize the modules
  - SIGUSR1 will gracefully restart a supervised engine
  - SIGUSR2 will forcefully restart a supervised engine


Configuring YATE
----------------

Some samples for the configuraton files can be found in the conf.d directory.
Note that you must rename them without the .sample extension or create symlinks
to them.