Giter Club home page Giter Club logo

yate's Introduction

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

Please report bugs at [email protected]

To build Yate the quick way is:

./autogen.sh
./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 the 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 to 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.

Links

Yate Official Documentation

yate's People

Contributors

king-bcrs avatar

Stargazers

Jeroen avatar  avatar tony eve avatar Nyxia avatar Nadir Hamid avatar Alex avatar Fojle Rabbi avatar 暮月 avatar  avatar he ping avatar vehar avatar Zerayan avatar Aldis Berjoza avatar Vladimir Pavljuchenkov avatar Mark avatar  avatar  avatar Ben King avatar qinliming avatar Thomas Backes avatar Alejandro Pauly avatar

Watchers

Neustradamus avatar  avatar James Cloos avatar  avatar Ben King avatar  avatar

yate's Issues

OpenSSL error

Tried to compile your build for QT5, however, I get this even though the libssl packages are installed. This is on Ubuntu 18.04.

make[1]: Entering directory '/usr/share/yate/modules'
g++ -c -pipe -O2 -Wall -W -Wno-unused-parameter -Wno-overloaded-virtual -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN -DHAVE_MALLINFO -DUSE_TLS_METHOD -I. -I.. -I../libs/yrtp -I../libs/ysip -I../libs/ysdp -I../libs/yiax -I../libs/yjabb04er -I../../../lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../build/modules/openssl.o openssl.cpp
openssl.cpp: In constructor ‘{anonymous}::SslContext::SslContext(const char*)’:
openssl.cpp:45:22: error: ‘::TLS_method’ has not been declared
#define CTX_METHOD ::TLS_method()
^
openssl.cpp:300:31: note: in expansion of macro ‘CTX_METHOD’
m_context = ::SSL_CTX_new(CTX_METHOD);
^~~~~~~~~~
openssl.cpp:45:22: note: suggested alternative: ‘DTLS_method’
#define CTX_METHOD ::TLS_method()
^
openssl.cpp:300:31: note: in expansion of macro ‘CTX_METHOD’
m_context = ::SSL_CTX_new(CTX_METHOD);
^~~~~~~~~~
openssl.cpp: In member function ‘virtual void {anonymous}::OpenSSL::initialize()’:
openssl.cpp:45:22: error: ‘::TLS_method’ has not been declared
#define CTX_METHOD ::TLS_method()
^
openssl.cpp:921:28: note: in expansion of macro ‘CTX_METHOD’
s_context = ::SSL_CTX_new(CTX_METHOD);
^~~~~~~~~~
openssl.cpp:45:22: note: suggested alternative: ‘DTLS_method’
#define CTX_METHOD ::TLS_method()
^
openssl.cpp:921:28: note: in expansion of macro ‘CTX_METHOD’
s_context = ::SSL_CTX_new(CTX_METHOD);
^~~~~~~~~~
Makefile.qmake:599: recipe for target '../build/modules/openssl.o' failed
make[1]: *** [../build/modules/openssl.o] Error 1
make[1]: Leaving directory '/usr/share/yate/modules'
Makefile.qmake:97: recipe for target 'sub-modules-make_first' failed
make: *** [sub-modules-make_first] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.