mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-04 18:27:36 +00:00
Stefan Knoblich
810f0d4eaa
[ftmod_misdn] Make misdn_handle_mph_information_ind() cope with hfcsusb-style MPH_INFORMATION_IND messages.
Only two mISDN hardware drivers emit MPH_INFORMATION_IND messages and both use a different payload: - hfcsusb (HFC-based USB dongle) sends a set of ph_info + ph_info_ch structures which contain the complete state information of the port (including internal hw-specific state and flags). - hfcmulti which sends a single integer, a single L1_SIGNAL_* event. We now try to guess the type of message from the payload length. The hfcmulti signals are converted to FreeTDM alarm flags; the hfcsusb state/flags are defined in kernel internal hw-specific headers and are ignored ATM (todo). Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses
264 MiB
Languages
C
64.4%
C++
21.8%
JavaScript
4.7%
Assembly
2%
Makefile
1%
Other
5.4%