Change IE_METERING timing information from deciseconds to seconds and milliseconds; Fix: AOC-D unit information length; encode AOC-E according to real traces; Add option to disable seconds in time/date IE #4

Merged
jolly merged 2 commits from nt2mku/osmo-cc-misdn-endpoint:nt2mku/work into jolly/work 2024-01-29 16:07:01 +00:00

2 Commits

Author SHA1 Message Date
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