GitAsterisk
From BRIstuff.org
A GIT repository for Asterisk along with the Bristuff patches is available at repo.org.cz.
Contents |
Branches
All branches (except master) are buildable.
The repository includes the following branches:
- master - tracks the SVN trunk.
- git-1.4 - the SVN branch 1.4 with minor changes to make it build.
- git-trunk - SVN trunk with minor changes to make it build.
- bristuff - Tracks the bristuff 0.4.0 patch along its different versions.
Next follow my attempt to rebuild the bristuff Asterisk patch in a more version-controlled way.
- bristuff-part-app-pickup - The bristuffed PickUp. Based on git-1.4 .
- bristuff-part-app-segfault - The bristuff app for segfaulting Asterisk (to test fault-tolerant settings). Based on git-1.4 .
- bristuff-part-dahdi - A very minimal bristuffed chan_dahdi. Builds with the bristuffed libpri and has some of the changes, but not most. Based on git-1.4 . Merged bristuff-part-dahdi-aoce and bristuff-part-dahdi-numspans.
- bristuff-part-dahdi-all - A version with most of the chan_zap related changes from bristuff adapted to current 1.4 (chan_dahdi). Merges bristuff-part-feature-holded-calls, bristuff-part-interface-run-app, bristuff-part-interface-sendmessage, bristuff-part-interface-uniqueid .
- bristuff-part-dahdi-aoce - better Handling of AOC-E messages at the end of a call.
- bristuff-part-dahdi-numspans - A minor fix that upstream does not seem to take as-is, sadly. Based on git-1.4.
- bristuff-part-dial-202 - If j is used (priority jumping) jump to priority +201 if all target calles were unavailable.
- bristuff-part-dial-R-noinband - Add the option R to Dial that makes the callee hear a ringing tone. Based on bristuff-part-dial-callback.
- bristuff-part-dial-callback - Add the option c to Dial: a callback dial. Based on git-1.4.
- bristuff-part-dial-digital-transfer - Fix handling of opaque digital data: Don't try to mes with it. Base on git-1.4.
- bristuff-part-feature-holded-calls - Add a facitiy for holding calls and getting them back. Based on git-1.4.
- bristuff-part-gsm - Support for the Junghanns GSM card through libgsmat in chan_dahdi. Based on git-1.4. Merges bristuff-part-interface-sendmessage.
- bristuff-part-iax2-hangup-cause - Make a certain debug message more verbose.
- bristuff-part-interface-run-app - Expose ast_run_app() from pbx.c to others. There must be a better way.
- bristuff-part-interface-sendmessage - A different interface to send text messages (what's wrong with send_text?). Based on git-1.4.
- bristuff-part-interface-uniqueid - Various functions to get channels and such by their uniqueid. Based on git-1.4.
- bristuff-part-say-before-answer - Answer() befor ethe various Say* applications. Based on git-1.4.
- bristuff-part-watchdog - The bristuff res_watchdog: a watchdog thread that barks every once in a while. Based on git-1.4 .
- bristuff-part-xagi - XAGI allows both reading and writing of audio to a channel by the AGI script. Based on git-1.4.
Tags
All the numeric tags for libpri versions ("numbers" under tags/) are included as tags. e.g: 1.4.3.
Likewise all the autotag tags.
Bristuff versions are tagged as well.
Usage
Bristuffed Libpri
Branches that include the BRI/EuroISDN fixes from bristuff (bristuff itself, bristuff-part-dahdi, bristuff-part-dahdi-all, and all the bri-stuff-0.4.0-* tags) require a bristuffed libpri to build chan_zap / chan_dahdi. Otherwise they will fail at build time and complain about wrong numbers of parameters to some functions.
You can install libpri from GitLibpri or from any bristuff distribution.
Alternatively, on a Debian system the packages libpri1.0 and libpri-dev , you can use the extra copy of bristuffed libpri included in that package. To use it, run the following after running ./configure
sed -i \ -e '/^PRI_INCLUDE=/s|=.*|=-I/usr/include/bristuffed|' \ -e '/^PRI_LIB=/s|=.*|=-lpri-bristuffed|' \ makeopts
Removed
The following will not be included as they appear not to be useful.
meetme
See the following mailing list post
zapras
There is a "fix" to zapras that only appears to break it, IMHO.
Dial Prio. 201
The branch accidentally called bristuff-part-dial-202 . Anybody actually uses this? If not: it's a useless divergance from upstream.
Answer before Say
Upstream does not like this and has alternative suggestions. See bug #11531. Drop this? Rework it to make it optional?
Zero Gains on Digital
On several places bristuff replaces a simple call to set_actual_gains with a double case: if we're digital, set gains to 0. Otherwise, set gains to 0.
Zaptel/DAHDI will avoid setting gains on a channel if the channel is not an audio channel. This means hat instead of such a case, we should make sure that audiomode is properly set on each channel.
priindication = passthrough
Bristuff added a third value to the option priindication: to listen to the actual message from the telcon: priindication = passthrough.
This has indeed been a useful addition. However in later versions of chan_dahdi it seems that the same functionality is implemented through inbanddisconnect.
