Giter Club home page Giter Club logo

kg7qin / allstarlink-asterisk-1.8 Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 33.52 MB

Start of porting AllStarLink modules to Asterisk 1.8.32.3 - very alpha software! Not for production use!!!

Home Page: https://www.github.com/pttlink/ASL-AsteriskNG

License: Other

Makefile 0.50% C 88.20% Perl 0.39% Shell 1.72% HTML 0.17% M4 0.55% C++ 3.94% Objective-C 0.05% Awk 0.01% Vim Script 0.04% PHP 0.01% Tcl 0.01% Python 0.04% Yacc 0.23% Lex 0.09% CSS 0.01% JavaScript 0.03% Roff 4.03%
allstarlink

allstarlink-asterisk-1.8's Introduction

AllStarLink-Asterisk-1.8

Start of porting AllStarLink modules to Asterisk 1.8.32.3 - very alpha software! Not for production use!!!


Updates:

06/03/18 - Merged changes of app_rpt.c from offical AllStarLink reporitory into app_rpt.c here. A total of three changes were merged in, and this brings the version number up from 0.325 to 0.327.


I'm placing this code here so that:

  1. It doesn't get lost

  2. Hopefully I can start some collaboration on porting this/squashing bugs

The code here in this porting attempt is meant to be a 'gateway' to porting it to Asterisk 13. Since there have been changes between 1.4 and 1.8, some things in the base code were added back in to support the proper functioning of app_rpt. Asterisk 1.8 also changed the way many of the channel drivers, etc are called. Since this seems to be the norm between version of Asterisk, I believe that 13 has a lot of changes that would render trying to compile the AllStarLink modules against it in their current form futile.

Included in this repository is my attempts at porting AllStarLink to use Asterisk 1.8.32.3.

Some things to note: This is very ALPHA quality code. Use at your own risk! While I have been able to successfully connect to the AllStarLink network with what is included here, some things don't work.

This includes: EchoLink DTMF - the chan_echolink module currently has problems with processing DTMF passed to it Sometimes app_rpt will fail in connecting to other sites. This deals with some strangeness with the CODECS and how they are neogtiated using the IAX2 channel setup.

Modules that have been ported and included:
app_rpt
app_gps
chan_echolink
chan_simpleusb
chan_usbradio
chan_voter

Modules that have not yet been ported:
chan_beagle
chan_rptdir
chan_tlb
chan_usrp

None of the modules that have been ported and deal with radios have been tested. While they successfully compile and load into asterisk (no panics, etc), there is NO GUARANTEE that they will actually work as intended.

There is a fair bit of debugging code in this as well.

You will need to compile and install the DAHDI driver code located here https://github.com/KG7QIN/AllStarLink/tree/master/dahdi (this is DAHDI 2.10.2+2.10.2 that has been modified to replace the missing pieces needed by the AllStarLink modules to run).

There currently are no plans to offer precompiled versions of this code to download an install. To use this, you need to be able to successfully compile Asterisk 1.8.32.3 on your system. Failure to successfully compile Asterisk will also result in you being unable to compile the code here.

Also, don't attempt to just drop the ported app_ and chan_ pieces here to an existing version/install of Asterisk 1.8.32.3 and expect them to run. The modules will load, but app_rpt will not work (see above for details).

My test system is running Ubuntu 15.04 and I am using GCC 4.9 to compile this code. Newer versions of GCC may not work with the code as it currently is.

Compiling

When compiling this code with a version of GCC that is newer than 4.9, you will likely encounter an error and everything will stop.
To fix this, you will need to have GCC-4.9 installed on your system and execute the following commands:
make clean
export PTLIB_CONFIG=/usr/share/ptlib/make/ptlib-config
./configure CC=gcc-4.9 CPP=cpp-4.9
export CC=gcc-4.9
export CPP=cpp-4.9
make

The code should compile with out problems -- just ignore the warnings.

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.