HTTPS SSH

aswitch

aswitch is a python control process to add functionality to Yate Telephony Engine

Notes

  • requires wobble library, BSDRadius. Works with DataTechLabs Abilling.

  • HEAD should be used only with abilling HEAD.

  • branches/v_2_2 is for use with abilling branches/v_2_3
  • for production always use latest tag

Installation

Preparation

Install wobble library and BSDRadius

Ubuntu:

apt-get update
apt-get install build-essential libgsm1-dev libspeex-dev

Centos:

yum install gcc-c++

Install Yate

    cd yate
   ./configure
    make
    make install
    echo "/usr/local/lib" >> "/etc/ld.so.conf"
    ldconfig 

Configure Yate

Add to extmodule.conf

    [listener aswitch]
    type=unix
    path=/var/run/yate.sock
    role=global

Install aswitch

python setup.py install

Configure aswitch

cp etc/aswitch.conf.default /usr/local/etc/aswitch.conf

Start

yate -ds
aswitch

Develop

Making a tag

  1. edit setup.py and increase the version number in setup attribute like: version = "2.2.16-RELEASE"
  2. commit it and push:
git add setup.py
git commit -m 'release 2.2.16'
git push
  1. create a local tag (numbering follows a pattern releaseYYYYMMDD_v_X_Y_Z) and push it
git tag release20160531_v_2_2_16
git push origin release20160531_v_2_2_16