Andreas Eversberg
863ba053ef
Audio rework, new jitter buffer
...
Jitter buffer is now based on packets, not on samples. The frames are
dejittered in received form. After reading from jitter buffer, they are
decoded in correct order. If a frame is missing, it is concealed by
repeating audio.
2024-03-25 21:30:31 +01:00
Andreas Eversberg
14b2df8907
Add parameter to control increase speed of compressor
2024-03-25 21:29:49 +01:00
Andreas Eversberg
4cf88b8ce8
Fix DTMF detection from called end
...
Now DTMF detection called end. Imagine Paypal calls you and asks you to
enter digits. The routing script can then enable dtmf detection on the
called end (after answer) and forward digits via telephone events.
2024-03-25 21:29:48 +01:00
Dennis Grunert
5b96cf935b
Change IE_METERING timing information from deciseconds to seconds and milliseconds
...
Parameter "metering" now accepts parameter "period" in seconds as floating point value and gets converted to seconds and milliseconds.
2024-01-29 11:36:50 +01:00
Andreas Eversberg
98dc062af9
Fix for SIGABRT if redirecting stdout or running osmo-cc-router within systemd
...
If using osmo-cc-router with a configured call routing script and redirecting stdout to a file
(e.g. osmo-cc-router --config cc-router.cfg >logfile), router process aborts upon starting a call with message
"communication with child failed!" because unexpected characters are received by the parent process.
Running the router with systemd causes the same problem. Avoiding any standard file descriptors
after the dup2() within the child fixes it.
2024-01-27 09:11:04 +00:00
Andreas Eversberg
8fd49584e6
Do not abort, if forking/pipes fail while starting routing script
2024-01-27 09:59:41 +01:00
Dennis Grunert
d8ebec0d6f
Provide CC metering information to endpoints
...
A new routing command 'metering' has been added. It has two parameters to specify metering information:
- connect_units (units charged upon answer, normally '1'; set to '0' to mark the call as free of charge; set to higher value to add a call-setup charge)
- period_decisecs (time period of one unit in 1/10 seconds; set to '0' for a call-setup charge only)
Metering details are encoded within IE_METERING and attached to the next outgoing CC-PROC-REQ/CC-ALERT-REQ/CC-SETUP-RSP message for the call originator.
2024-01-25 20:09:12 +01:00
Andreas Eversberg
6118bf7a95
Updated libs
2024-01-25 20:09:11 +01:00
Andreas Eversberg
02510a9973
Move from local to external osmo* libraries
...
src/libdebug -> libosmocore
src/libselect -> libosmocore
src/libtimer -> libosmocore
src/libosmocc -> libosmo-cc
src/libg711 -> libosmo-cc
2024-01-25 20:09:11 +01:00
Andreas Eversberg
212aac461d
If audio is available after disconnect, send SDP to origin, if not already
...
Especially if disconnect is recevied prior connect. In this case we want
audio after alerting and not just silence.
2024-01-07 18:11:37 +01:00
Andreas Eversberg
e5094a0961
Updated libs
2024-01-07 18:09:29 +01:00
Andreas Eversberg
16f5ae06f3
If interface is not connected, collect cause 27 and release is no interface
...
Release call to one or more interface, if none of the interfaces are
available.
2023-12-10 14:43:00 +01:00
Andreas Eversberg
9ea1e4f10e
Add "sending-complete" to call function
...
Used to indicate that number is complete. Some exchanges will accept #
as last digit too.
2023-12-01 17:34:35 +01:00
Andreas Eversberg
a138935937
Add support for telephone events
...
Not much tested yet, except for sending telephone events via SIP.
2023-11-12 17:45:29 +01:00
Andreas Eversberg
25a675a4ce
Updated libs
2023-11-12 17:43:35 +01:00
Andreas Eversberg
59215ae370
Add compressor to maintain speech volume at normal speech level.
2023-06-17 21:45:34 +02:00
Andreas Eversberg
e4e7ab079a
Updated libs
2023-06-17 21:45:34 +02:00
Andreas Eversberg
8546453296
fixup 675bada618
2023-01-23 18:44:06 +01:00
Andreas Eversberg
6bfa342aef
Moved from polling to select
2023-01-22 10:07:34 +01:00
Andreas Eversberg
6fc7327415
Updated libs
2023-01-22 10:05:40 +01:00
Andreas Eversberg
675bada618
Correctly handle call parameters with value set to 0
2023-01-22 09:01:53 +01:00
Andreas Eversberg
fd0337b227
Fixed parameter parsing
2022-12-16 12:45:48 +01:00
Andreas Eversberg
e49bfaaaf9
Updated libs
2022-12-16 12:45:27 +01:00
Andreas Eversberg
137c50a33f
Add GSM (libgsm) codec support
2022-11-25 09:29:03 +01:00
Andreas Eversberg
3265559164
Updated libs
2022-11-24 19:25:54 +01:00
Andreas Eversberg
20621011be
Fixes for telephone event messages
2022-10-30 17:04:42 +01:00
Andreas Eversberg
bbc4af49e9
Improved 'help' output
2022-10-30 17:04:39 +01:00
Andreas Eversberg
294f7e9d1c
Updated to new dejitter API
...
Also moved jitter buffers, playback and recording to call instance, where they
belong to.
2022-10-30 17:04:36 +01:00
Andreas Eversberg
5a1912903c
Fixed routing issue
2022-10-30 17:04:06 +01:00
Andreas Eversberg
f19fd8d886
updated libs
2022-10-30 17:04:01 +01:00
Andreas Eversberg
0adc855d96
minor description fix
2022-06-25 13:03:09 +02:00
Andreas Eversberg
67d66e73d2
Structured the commands and environment variables
2021-09-17 16:33:29 +02:00
Andreas Eversberg
42f4d661a9
Support for two endpoints. Useful for multi stack setups.
2021-09-17 16:33:29 +02:00
Andreas Eversberg
80d911e5a6
Updated libs
2021-09-17 16:33:29 +02:00
Andreas Eversberg
185db11ace
Updated libs
2021-03-28 13:32:48 +02:00
Andreas Eversberg
743d579306
Updated libs
2021-03-20 11:38:35 +01:00
Andreas Eversberg
1625510377
Fixed cause parameter
2021-03-20 11:38:12 +01:00
Andreas Eversberg
fecbe89ad1
Add missing m4 directory
2021-03-20 07:24:35 +01:00
Andreas Eversberg
02af4ac20b
Fix configure.ac
2021-03-20 07:24:28 +01:00
Andreas Eversberg
e9aa5a801b
Add option to change config patch
2021-03-14 11:20:55 +01:00
Andreas Eversberg
b130c947f7
Add selection of network information element
2021-03-14 11:20:55 +01:00
Andreas Eversberg
d5face6404
Add DTMF detection via telephone-event payload
2021-03-14 11:20:55 +01:00
Andreas Eversberg
2017066db5
Updated libs
2021-03-14 11:20:55 +01:00
Martin Hauke
027846d895
Fix typos
2021-01-03 10:10:47 +01:00
Andreas Eversberg
6ea21e8a2e
Updated libs
2021-01-03 10:08:54 +01:00
Andreas Eversberg
6babe18807
Add LICENSE file
2021-01-03 09:48:02 +01:00
Andreas Eversberg
58f1c9a912
Add libraries from Osmocom-Analog
2020-12-29 19:02:57 +01:00
Andreas Eversberg
fde7cc2ce3
Initial GIT import
2020-12-29 19:02:56 +01:00