Commit Graph

23 Commits

Author SHA1 Message Date
Dennis Grunert 8bf932d5fa Add "morsegerman" parameter; fix german tone pattern timings
- Parameter "morsegerman" for option "local-tones" will generate morse-a dialtone (pre-1979).
- Fixed german tone pattern timings according to 1TR110-1 Chapter 8
  * Busy tone: 480ms on / 480ms off
  * Hangup tone: 480ms on / 480ms off
  * Old german ringing: 1000ms on / 4000ms off
  * Old german busy/hangup tone: 125ms on / 475ms off
2024-02-04 00:28:50 +01:00
Dennis Grunert 5d2f50b98a Change IE_METERING timing information from deciseconds to seconds and milliseconds 2024-01-29 10:58:54 +01:00
Dennis Grunert 4672e35a13 Fix: AOC-D unit information length; encode AOC-E according to real traces; Add option to disable seconds in time/date IE
- Fix: AOC-D unit information length was set to 1 despite its actual length
- Removed optional BillingID from AOC-E data
- Cross-checked AOC-D and AOC-E IEs to other systems (Audiocodes Mediant 800; traces found in public sources)
- Tested with ISDN TEs: Siemens Profiset 51, T-Concept P522, Philips SOPHO ErgoLine, sphairon NT1PLUS-split; K1297 ISDN protocol tester
- Attach AOC-E to DISCONNECT or RELEASE; transmit AOC-E even if zero units have been charged
- Send AOC-D with zero units to indicate free of charge call
- New option "time-no-seconds" disables sending current seconds within the date/time IE
2024-01-29 02:44:03 +01:00
Dennis Grunert e39db4cffd AOC-S: Changed typeOfCharging to stepFunction
The durationCurrency typeOfCharging=stepFunction is more suitable to a per-unit metering than continuousCharging. stepFunction implies start of the first unit at call connect - for normal calls without additional unit charges for call setup, chargedItem CallSetup is set to FreeOfCharge.
Source: ETS 300 178
Tested with Bluephone and Clubtelefon 5 ISDN.
2024-01-18 18:39:05 +01:00
Dennis Grunert a390e93d9a AOC-S: Use variable time unit length (1...3 Bytes). Fixes wrong time calculation on Clubtelefon 5 ISDN 2024-01-18 18:39:04 +01:00
Dennis Grunert dfa07323c3 AOC-S time scale adjusted 2024-01-18 18:39:02 +01:00
Dennis Grunert cd7f1f8590 AOC information as separate facility messages for compatibility (CONNECT-attached AOC-D IE ignored by NT1plus) 2024-01-18 18:39:00 +01:00
Dennis Grunert 3779fd3034 Handling of unknown facility indications from terminals 2024-01-18 18:38:58 +01:00
Dennis Grunert ea6f1bec84 AOC-D and AOC-S facility generation from CC metering information
If metering details via IE_METERING are received from osmo-cc, AOC-S and/or AOC-D facility IEs are attached to PROCEEDING/ALERTING/CONNECT messages, and AOC-D facility messages are generated during the call. This feature can be enabled by setting 'aocs' and/or 'aocd' within the mISDN endpoint configuration.
2024-01-18 18:38:54 +01:00
Andreas Eversberg da94632e6e 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-18 18:38:50 +01:00
Andreas Eversberg 8c10ee4a26 Replace polling by select and timer events 2023-01-23 18:36:36 +01:00
Andreas Eversberg 3e970cbc48 Updated libs 2023-01-22 19:52:38 +01:00
Andreas Eversberg 2d24c1e12b fixed minor comment 2023-01-22 19:50:20 +01:00
Andreas Eversberg c72e5070ef Add comfort noise when call is on hold
This is required so that the RTP stream does not interrupt.
2022-10-30 16:58:44 +01:00
Andreas Eversberg 42f4e4a243 Fixed suspend/resume feature 2022-10-30 16:57:16 +01:00
Andreas Eversberg e6aa538562 Remove DSP kernel module dependency
* Use raw bchannel instead of DSP feature
* Removed DSP features
* Use new jitter buffer and control TX FIFO load by this application
* Added bridging daemon to assign time slots for bridging
2022-10-30 16:57:12 +01:00
Andreas Eversberg bc888d85cc Add clearmode and handle bearer capability according to Osmo-CC spec 2022-09-16 17:19:02 +02:00
Andreas Eversberg 8c0419b70e Add kernel (hardware) bridging 2022-09-16 17:18:58 +02:00
Andreas Eversberg e1dcbb89db Fixed issue in handling channel offer
When (exclusive or suggested) channel is offered, we must "seize" it, so that
it is linked with call instance. Still the channel might be changed on reply.
2022-05-01 10:15:08 +02:00
Andreas Eversberg 231cc1b9f9 update libs 2021-07-09 20:26:07 +02:00
Andreas Eversberg eb9b40c260 Fixed MSN option and handling 2021-03-28 12:52:58 +02:00
Martin Hauke c2caeb2a2f Fix typos 2021-01-03 10:08:10 +01:00
Andreas Eversberg 22dab51ab1 Initial GIT import 2020-12-23 10:00:18 +01:00