Git Product home page Git Product logo

yaterl's Introduction

YATErl - an Erlang binding for YATE VOIP Application Server

DESCRIPTION

YATErl is a simple Erlang binding developer by Alca Società Cooperativa ([http://alcacoop.it]), to create YATE-based VOIP applications using the powerful feature of the Erlang language and OTP framework. YATErl is designed as a standard OTP application so you can create an OTP release for your application which include and use it to implement a VOIP application.

YATE is a VOIP Application Server developed by Null Team ([http://yate.null.ro]), coded in C++ using message-passing techniques, and actually scriptable in PHP and Python.

DOWNLOAD AND INSTALL

TBD

EXAMPLE USE

TBD

FUTURE WORKS

TBD

ARCHITECTURE

YATErl is composed by a small number of registered processes and a couple of "almost" side-effects-free modules:

Non-Functional Components

  • yaterl_app: manage start/stop yaterl supervised tree
  • yaterl_sup: supervise yaterl registered processes

Functional Components

  • yate_stdio_connection:
    • connect to yate on stdio
    • register to a yate_control_srv
    • send binary data to yate on stdout
    • receive binary data from yate on stdin
    • route binary data to the registered yate_control_srv
  • yate_control_srv:
    • manage a yate connection
    • send / receive binary data from an active connection
    • encode / decode erlang term <-> binary yate event format
  • yate_event_mgr:
    • register configured autoregistering yate event handler modules
    • send / receive yate events decoded as erlang records
    • register / recall processes which waits for a reply
    • route watched yate event to registerent yate event handler modules
    • send a wait for reply installed yate event to registered yate event handler modules

API modules

  • yate
    • High Level abstraction API
    • manual watch/unwatch/install/uninstall commands
    • utility commands (setlocal, output)
    • message exchanging commands (send_event [sync or async], wait_for_event)
  • yate_event
    • High Level and Side Effect Free yate event manipulation
    • create new yate events commands
    • yate event type checker commands
    • yate event attributes setters/getters
  • yate_message
    • High Level and Side Effect Free yate message manipulation
    • create new yate events commands
    • yate event type checker commands
    • yate event attributes setters/getters

Internal Modules

  • yate_encode: encode yate event from erlang record to binary data
  • yate_decode: decode yate event from binary data to erlang record
  • yate_event_handler: mnesia backend for yate event handlers registering

OTP Prerequisites

  • sasl: error and progress logging
  • mnesia: registered yate event handlers modules backend
  • kernel / stdlib

yaterl's People

Contributors

rpl avatar

Watchers

James Cloos avatar

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.