Commit Graph

546 Commits

Author SHA1 Message Date
Andreas Eversberg cdca6a7135 Fixed usage of uninitialized memory, thax to valgrind 2017-10-31 06:16:09 +01:00
Andreas Eversberg 155d3b5a1d GSM: Fixes to GSM interface (multiple networks)
* Multiple network instances are now possible to attach multiple networks
* Early audio handling fixed
* Number type can be given from base station (setup / setup confirm)
* Equal callref for different GSM-MS instances are handled correctly
2017-07-26 08:39:44 +02:00
Andreas Eversberg d67fcefab0 GSM: Add audio frame type for uncompressed 16 bit frame
It is usefull for connecting MNCC to other networks than GSM.
2016-01-30 15:55:55 +01:00
Andreas Eversberg 63f60f8e4b GSM: A breakdown of MNCC socket causes all calls to be released correctly 2016-01-30 15:55:48 +01:00
Andreas Eversberg c14326641a Fixed compiler warnings 2015-12-15 20:49:18 +01:00
Andreas Eversberg 034d3a9140 Data-Over-Voice
An experimental feature to send and receive an identification over
voice channel.

If a party answers, the ID is transmitted some seconds afterwards.
The calling party listens 30 seconds after receiving an answer message
for the ID.

Add to your extension's settings file:

dov_ident  <id string without white spaces>
dov_log    /path/to/log/file
dov_type   pwm|pcm
dov_level  0|level

'pwm' survives analog transcoding.
'pcm' is fast and will almost not be recognised.
'level' can be used to alter default signal amplitude (100..30000).
2015-12-15 14:27:23 +01:00
Andreas Eversberg a1c8b8d89f For DOV: Cast input of some string macros 2015-12-15 14:27:06 +01:00
Andreas Eversberg 0a71f8f76f For DOV: LCR random number generator
Generate random number from jitter of all messages inside LCR.
2015-12-15 14:26:56 +01:00
Andreas Eversberg e233557e40 Experimental crypto feature: Support for libvootp 2015-12-15 07:59:12 +01:00
Andreas Eversberg cdee00aedd SS5: Special feature to mute only when also respoinding with a tone
This is quite useful for breaking and seizing line in backward
direction. (breaking an incomming call)
2015-12-15 07:59:11 +01:00
Andreas Eversberg 6642360dcf SS5: improvements
- sending clear forward is now forced at any state
- sending signals are queued until last signal has vanished
- timeout while seized/dialing, as well as after busy/clear back
- release of party clears the line (after timeout)
- several minor features and fixes

it is now possible to break the outgoing exchange with:
 2600+2400 140ms
 0 ms delay
 2400      200ms
manually acknowledgement of the answer signal is required then. therefore
the mute feature must be disabled. the delay feature should be used.
2015-12-15 07:52:23 +01:00
Andreas Eversberg 7d414983c9 perform default/timeout action when sending is complete 2015-12-15 07:52:22 +01:00
Andreas Eversberg 6cae175d72 SS5: removed star-release-feature 2015-12-15 07:52:21 +01:00
Andreas Eversberg 42b2772d78 Fixed several compiler warnings 2015-12-15 07:52:20 +01:00
Karsten Keil 825ad6f887 Add a dummy distdir and distclean targets in libgsmfr/Makefile 2015-09-18 17:15:52 +02:00
Karsten Keil 6a007f2fde Put fxs.h into noinst_HEADERS to have it in the make dist* tar balls 2015-09-18 17:14:03 +02:00
Jan Engelhardt ea45edac06 build: remove doubly-defined SUBDIRS variable 2014-09-08 15:52:51 +02:00
Jan Engelhardt e5c315b899 build: remove and ignore autogenerated files
Autogenerated files should not be part of the repository,
because they may change everytime.
2014-09-08 15:52:47 +02:00
Jan Engelhardt 35dee795ec build: change outdated automake syntax by new
The two argument form for AM_INIT_AUTOMAKE is obsolete and
redundant.
Makefile.am:171: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-09-08 15:52:34 +02:00
Andreas Eversberg 38fce218f8 GSM HR reference codec download location has changed 2014-02-01 12:18:54 +01:00
Andreas Eversberg 02bee82c95 Update MNCC_SOCK_VERSION to 5 (current jolly/testing branch of OpenBSC) 2014-02-01 12:18:01 +01:00
Peter Holik f3b94bf3a9 Add missing braces to chan_lcr.c
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2013-11-06 07:57:09 +01:00
Peter Holik cac70edab7 Enable debugging of chan_lcr via ast_log
With this patches i see loggings in asterisk cli by enable debugging with

core set debug 1

Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>

This feature was disabled due to locking issues with older Asterisk versions.
2013-11-06 07:52:39 +01:00
Peter Holik b1bfd4973a Make LCR compile, even if POTS/FXS is not supported by mISDN
Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2013-11-06 07:47:35 +01:00
Peter Stuge 1cf9b356bc interface.conf: Verify that an rtp-bridge interface is also bridged
RTP bridging only works when interfaces are bridged so we now check
that the interface has been configured as bridge upon seeing rtp-bridge
during parsing of interface.conf.

Note: This change requires that rtp-bridge appears after bridge for
the interface. If this makes your existing configuration fail because
rtp-bridge appears before the bridge parameter then please move the
rtp-bridge line below the bridge line.
2013-10-02 18:12:02 +02:00
Holger Hans Peter Freyther 49de81a7f6 autogen: Use autoreconf --install --force 2013-07-13 08:59:30 +02:00
Holger Hans Peter Freyther b461b170fa gsm: Implement the size checking of the hello packet 2013-07-13 08:26:22 +02:00
Holger Hans Peter Freyther 5c43a8807b mncc: Use stdint.h from C++, copy newer version of OpenBSC's mncc.h
* Use stdint.h... with the latest C++ spec there should even be a
  cstdint include
* Update... including the version number and extended hello packet
2013-07-13 08:23:00 +02:00
Holger Hans Peter Freyther fa5274af2b gsm: Verify the MNCC_VERSION of the BSC/MS and close the socket on mismatch
The BSC/MS will send a Hello packet that includes the version number,
make LCR verify this version number and close the socket in case it
does not match a supported version.
2013-07-13 08:21:10 +02:00
Andreas Eversberg e2c8d0790d Fixed linker flags for chan LCR
Thanx to Nick Vervelakis for pointing to this bug.
2013-06-06 10:30:15 +02:00
Andreas Eversberg 337b89412c Store states of HR codec
This is required, if multiple HR calls are made, because HR codec
uses global variables. These global variables are stored after
encoding/decoding and recalled before coding/decoding.
2013-03-31 12:52:55 +02:00
Andreas Eversberg a04f6e025f Add essential option to enable and prefer half rate calls to mobile
Without it might not be possible to use TCH/H, unless OpenBSC would
support late assignment.
2013-03-31 12:52:04 +02:00
Andreas Eversberg a3b269f357 Add support for TCH/H and half rate codec 2013-03-31 12:50:04 +02:00
Andreas Eversberg f2f39255e1 Fix: libtool is not part of repository 2013-03-31 12:47:31 +02:00
Andreas Eversberg 278f2cbeca Add GSM HR reference codec that is automatically downloaded from 3gpp.org 2013-03-31 12:35:00 +02:00
Andreas Eversberg 3196efde7b fixup 77d9102954 2013-03-26 09:08:15 +01:00
Andreas Eversberg 9f48d53fc7 AMR codec support 2013-03-26 09:08:07 +01:00
Andreas Eversberg 9b2cabced4 Add AMR codec, for supporting EFR transcoding
The AMR codec is added, but at this point only EFR payload is
supported.
2013-03-14 09:58:31 +01:00
Nick Vervelakis 71066559a8 Fix missing includes for GSM BS support 2013-03-11 17:05:24 +01:00
Andreas Eversberg 77d9102954 Add GSM full rate codec to LCR's source repository
There is no more need to download a seperate version of GSM full rate
(06.10) codec anymore.
2013-03-09 18:15:33 +01:00
Andreas Eversberg 0f0568583f SIP: Extract IMSI from SIP URI
OpenBTS forwards IMSI via SIP name. In order to allow routing decision
by IMSI, the IMSI must be extracted from SIP name.
2013-01-06 08:58:16 +01:00
Andreas Eversberg 8719f21d8b Fix: Correctly forward facility IE content 2013-01-06 06:33:56 +01:00
Andreas Eversberg 8a3a986487 Fix: Make action.cpp compile without mISDN/FXS support 2012-12-27 00:40:28 +01:00
Andreas Eversberg 2ea1d7ee45 Fix: Only screen caller ID 2 and redir ID when existing
Thanx to Wimpy for pointing to this bug.
2012-12-17 06:12:39 +01:00
Andreas Eversberg b2dfcf34e6 Change Version to 1.14 2012-12-16 10:12:45 +01:00
Andreas Eversberg 4b85a2abcd Added option to change DTMF decoding threshold level
If not given, the DSP modules' default value is used, rather than setting
it to 0. This was a bug.
2012-12-16 10:12:45 +01:00
Andreas Eversberg e9b1625405 Fix: Disable DTMF dialing after first received KP (pulse) digit
Once a pulse digit is detected, it makes no sense to detect DTMF.
Pulses will create distortion with some phones, causing false
detection of DTMF tones.
2012-12-16 10:12:44 +01:00
Andreas Eversberg acaf278f7f Add FXS support
This requires FXS support to mISDN too.
2012-12-16 10:12:44 +01:00
Andreas Eversberg fa1f601f49 Fix: 3PTY bridge must check, if other 3PTY member is mISDN or not
To make decision for mISDN bridge or lcr bridge, it it is required to
check both joins that share same 3PTY bridge.
2012-12-16 10:11:47 +01:00
Andreas Eversberg 84b78bea8c chan_lcr: Replaced 'n' (no DTMF) option with 'D' (DTMF)
The option 'n' was actually broken. Now it is replaced, because
generated DTMF tones may cause delay to SIP connections.
2012-12-16 10:11:47 +01:00