Commit Graph

144 Commits

Author SHA1 Message Date
Andreas Eversberg f7d4eb961e Refactor global variables for signal processing
These are:
	device, sample rate, buffer, latency
Called now:
	dsp_device, dsp_samplerate, dsp_buffer, dsp_latency
Call audio device:
	call_device, call_samplerate, call_buffer
2021-10-24 06:25:10 +02:00
Andreas Eversberg eb462f6158 Minor changes at timer.c: Improved precision 2021-10-24 06:25:11 +02:00
Andreas Eversberg e311782bd7 SoapySDR uses time stamps to prevent gaps/overflows in transmit stream
A common option for both UHD and SoapySDR allows to turn off time stamps.
2021-09-24 17:20:27 +02:00
Andreas Eversberg 31e714be7e Added locking to debug output, to prevent race condition between threads 2021-09-24 17:20:27 +02:00
Andreas Eversberg e273ceefa9 Osmo-CC: Conversion function between values and their names
Allows to convert integer values into their names and vice versa.
2021-09-17 16:17:05 +02:00
Andreas Eversberg c094512c62 Optionally output date with each debug line 2021-09-17 16:15:32 +02:00
Andreas Eversberg ce8343fa0a Add message tracing to Osmo-CC 2021-09-17 16:12:22 +02:00
Andreas Eversberg cca768124b SoapySDR: Fixed API change from version 0.7.1 2021-06-23 16:06:36 +02:00
Andreas Eversberg 88005db6a1 Add MPT1327 / Regionet43 (Buendelfunk) network 2021-06-06 11:50:35 +02:00
Andreas Eversberg 4497bb50b4 libosmocc: Add support for individual session config (per endpoint) 2021-04-03 23:00:01 +02:00
Andreas Eversberg dc61ecdb38 libomsocc: Add function to check if interface is attached 2021-04-03 23:00:01 +02:00
Andreas Eversberg 47862fbbd6 libosmocc: Don't route on redirecting number 2021-03-28 13:17:54 +02:00
Andreas Eversberg ee53bff3d4 libosmocc: SDP parser ignores broken codec descriptions
Thenx to Cisco.
2021-03-28 13:06:09 +02:00
Andreas Eversberg 51022b8400 Make Alsa sound interface indipendent from libmobile 2021-03-28 13:05:58 +02:00
Andreas Eversberg 3514bc0ce5 Add new debug class 2021-03-28 13:05:50 +02:00
Andreas Eversberg 1815efb75c libmobile: Do not send 'proceeding', if call gets answered right after 'setup' 2021-03-20 11:24:57 +01:00
Andreas Eversberg 8edfa3d0ae Osmo-CC: The 'local' socket peer is also used as default rtp-peer 2021-03-20 11:20:23 +01:00
Andreas Eversberg 1d281317e8 Using "--limesdr" or "--limesdr-mini" will also set device to "lime"
This is useful, if SoapySDR supports other SDR devices, like sound card. In
this case "--sdr-device-args driver=lime" must be given at command line. Now
this is done automatically with "--limesdr" or "--limesdr-mini".
2021-03-20 11:19:43 +01:00
Andreas Eversberg fcc301b031 Config file path can be changed by command line option "--config <path>" 2021-03-20 11:19:37 +01:00
Andreas Eversberg 01796e55da Fixed broken --osmocc-cross option
Thaks to Markus for pointing to this bug.
2021-03-07 10:39:13 +01:00
Andreas Eversberg c8c4c3549f Osmo-CC: Add telephone-event selection to helper 2021-03-07 10:39:05 +01:00
Andreas Eversberg 2d6c11a51d osmo-cc: Improve network type information element 2021-03-07 10:38:58 +01:00
Andreas Eversberg 75a108a50c Fix libdebug to be used with all osmo-cc projects 2021-03-07 10:38:52 +01:00
Andreas Eversberg fdc6bd5614 libmobile: Minor fixes 2021-03-07 10:38:45 +01:00
Andreas Eversberg 47185e80b7 Added special strdup to liboptions, to prevent memory leaks for option strings
If you are doing memory leak debugging you don't want to see any leaks when
stopping the program.
2021-03-07 10:38:38 +01:00
Andreas Eversberg d65cb69145 Rename the parameter "coherent" to "FFSK" which is the correct meaning. 2021-03-07 10:37:17 +01:00
Martin Hauke b38841d46e Fixed typos in cli output and source code comments 2021-01-03 09:57:03 +01:00
Andreas Eversberg 0a27198540 OsmoCC: Limit number of default socket ports to 20 2021-01-03 09:50:36 +01:00
Andreas Eversberg 3a29e772e2 Replaced MNCC by OSMO-CC 2020-12-29 11:11:41 +01:00
Andreas Eversberg 6feb697eb2 Add G.711 codec (alaw / ulaw conversion) 2020-12-29 11:11:41 +01:00
Andreas Eversberg daf82be156 Add Osmo-CC library to replace MNCC 2020-12-29 11:11:41 +01:00
Andreas Eversberg 871279872c C-Netz: Implementation of a Funkvermittlungsstelle (FuVSt)
Useful to connect with a Funkfeststation (FuFSt).
2020-12-21 08:38:44 +01:00
Andreas Eversberg 65b43f7b31 SS7 MTP Layer 2/3 Implementation (partly) 2020-12-21 08:38:44 +01:00
Andreas Eversberg b6b5100c01 V.27ter Modem emulation (partly) 2020-12-21 08:38:44 +01:00
Andreas Eversberg adb87211ae Added FIR filter to libfilter 2020-12-21 08:38:44 +01:00
Andreas Eversberg aaf90b3513 Initialize jitter buffer delay with half of its size
Also add a function to reset jitter buffer
2020-12-21 08:38:44 +01:00
Andreas Eversberg 653be4c8ae libwave: wave_read() returns the actual samples read 2020-10-29 08:02:44 +01:00
Andreas Eversberg 07addffa33 Options: Add support for quotes and escape sequences 2020-10-29 08:02:00 +01:00
Andreas Eversberg 82f87a32d6 libdebug: Remove dependency on MAX_DISPLAY_WIDTH 2020-10-29 08:01:46 +01:00
Andreas Eversberg 093622f842 DTMF: Correctly handle frequency marging (percent not hertz!) 2020-10-29 08:01:37 +01:00
Andreas Eversberg ba83c13175 Fix: Support multiple parameters in config file 2020-10-29 08:01:11 +01:00
Andreas Eversberg 2f14f67e55 Sound: Recover broken audio connection by closing and reopening the device 2020-10-29 08:00:27 +01:00
Andreas Eversberg ff538a9caa Add tx-gain option 2020-10-29 07:39:27 +01:00
Andreas Eversberg 177a63e076 Add option (global flag) to disable check of channel numbers at sender.c
This is required for channels that do not belog to actual radio transceivers.
2020-10-29 07:38:28 +01:00
Andreas Eversberg 2a454cb2e5 Add option (global flag) to disable use of SDR
This is required for channels that do not belog to actual radio transceivers.
2020-10-29 07:38:19 +01:00
Andreas Eversberg cc6837d4cf Allow disabling MNCC Console when using a digit length of 0 2020-10-29 07:38:03 +01:00
Andreas Eversberg 88b0b53fe2 Ignore pending audio frames when there is no transaction (anymore). 2020-10-29 07:37:32 +01:00
Andreas Eversberg beaf2b8700 Debug: Fix display of debug levels greater 31 2020-10-29 07:33:16 +01:00
Andreas Eversberg bbb90a2f3b Added SIM card emulator/sniffer for C-Netz 2020-05-24 16:46:39 +02:00
Andreas Eversberg 1e819c0cb3 Options with multiple parameters are now correctly shown at debug message 2020-05-24 16:46:39 +02:00