[mod_sangoma_codec] Remove from tree

This commit is contained in:
Andrey Volk 2024-08-27 16:45:57 +00:00
parent 4470f8d801
commit 1944260c7b
12 changed files with 2 additions and 1639 deletions

View File

@ -1582,8 +1582,7 @@ Files: libs/libcodec2/src/pack.c
Copyright: 2010 Perens LLC <bruce@perens.com> Copyright: 2010 Perens LLC <bruce@perens.com>
License: GPL-3+ License: GPL-3+
Files: src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c Files: src/include/switch_profile.h
src/include/switch_profile.h
src/switch_profile.c src/switch_profile.c
Copyright: 2009,2010, Sangoma Technologies Copyright: 2009,2010, Sangoma Technologies
License: BSD-3-clause License: BSD-3-clause

1
build/modules.conf.in Normal file → Executable file
View File

@ -75,7 +75,6 @@ codecs/mod_h26x
#codecs/mod_isac #codecs/mod_isac
#codecs/mod_mp4v #codecs/mod_mp4v
codecs/mod_opus codecs/mod_opus
#codecs/mod_sangoma_codec
#codecs/mod_silk #codecs/mod_silk
#codecs/mod_siren #codecs/mod_siren
#codecs/mod_theora #codecs/mod_theora

1
build/modules.conf.most Normal file → Executable file
View File

@ -72,7 +72,6 @@ codecs/mod_ilbc
codecs/mod_isac codecs/mod_isac
codecs/mod_mp4v codecs/mod_mp4v
codecs/mod_opus codecs/mod_opus
codecs/mod_sangoma_codec
codecs/mod_silk codecs/mod_silk
codecs/mod_siren codecs/mod_siren
codecs/mod_theora codecs/mod_theora

1
ci.sh
View File

@ -96,7 +96,6 @@ configure_freeswitch()
-e '/mod_mp4/s/^/#/g' \ -e '/mod_mp4/s/^/#/g' \
-e '/mod_mongo/s/^/#/g' \ -e '/mod_mongo/s/^/#/g' \
-e '/mod_pocketsphinx/s/^/#/g' \ -e '/mod_pocketsphinx/s/^/#/g' \
-e '/mod_sangoma_codec/s/^/#/g' \
-e '/mod_siren/s/^/#/g' \ -e '/mod_siren/s/^/#/g' \
-e '/mod_avmd/s/^/#/g' \ -e '/mod_avmd/s/^/#/g' \
-e '/mod_basic/s/^/#/g' \ -e '/mod_basic/s/^/#/g' \

View File

@ -1,37 +0,0 @@
<configuration name="sangoma_codec.conf" description="Sangoma Codec Configuration">
<settings>
<!--
Comma separated list of codecs to register with FreeSWITCH,
by default (if this parameter is not set) all available codecs are registered.
Valid codec values are: PCMU,PCMA,G729,G726-32,G722,GSM,G723,AMR,G7221,iLBC
If this parameter is not specified only G729 will be registered
<param name="register" value="all"/>
-->
<!--
List of codecs to not register with FreeSWITCH, by default this is empty,
but you may want to not load PCMU and PCMA or may be others to not use your
resources in codecs that are done well and fast in software.
<param name="noregister" value="PCMU,PCMA"/>
-->
<!--
Transcoding SOAP server URL. If you are installing the soap server (sngtc_server)
in the same box where FreeSWITCH, do not use this value, the default URL
that is hard-coded will work out of the box for local installations.
If you modify this value, you must configure your SOAP server (/etc/sngtc/sngtc_server.conf.xml)
to listen for HTTP requests on the same IP/port that you specify here.
<param name="soapserver" value="http://192.168.1.100:8080"/>
-->
<!--
RTP IP to use
By default, this module asks FreeSWITCH for the local ip address. However if you want to use a specific
IP address you can set it here.
<param name="rtpip" value="192.168.1.1"/>
-->
</settings>
</configuration>

3
configure.ac Normal file → Executable file
View File

@ -1079,7 +1079,7 @@ if test "x${ax_cv_c_compiler_vendor}" = "xclang" ; then
fi fi
# Tested and fixed lot of modules, but some are untested. Will be added back when the core team decide it ready # Tested and fixed lot of modules, but some are untested. Will be added back when the core team decide it ready
# Untested modules : mod_osp mod_soundtouch mod_sangoma_codec mod_opal mod_h323 mod_khomp # Untested modules : mod_osp mod_soundtouch mod_opal mod_h323 mod_khomp
# mod_cepstral mod_erlang_event mod_snmp mod_perl mod_java mod_managed # mod_cepstral mod_erlang_event mod_snmp mod_perl mod_java mod_managed
# #
#saved_CFLAGS="$CFLAGS" #saved_CFLAGS="$CFLAGS"
@ -2171,7 +2171,6 @@ AC_CONFIG_FILES([Makefile
src/mod/codecs/mod_mp4v/Makefile src/mod/codecs/mod_mp4v/Makefile
src/mod/codecs/mod_opus/Makefile src/mod/codecs/mod_opus/Makefile
src/mod/codecs/mod_openh264/Makefile src/mod/codecs/mod_openh264/Makefile
src/mod/codecs/mod_sangoma_codec/Makefile
src/mod/codecs/mod_silk/Makefile src/mod/codecs/mod_silk/Makefile
src/mod/codecs/mod_siren/Makefile src/mod/codecs/mod_siren/Makefile
src/mod/codecs/mod_skel_codec/Makefile src/mod/codecs/mod_skel_codec/Makefile

1
debian/bootstrap.sh vendored
View File

@ -46,7 +46,6 @@ avoid_mods=(
codecs/mod_com_g729 codecs/mod_com_g729
codecs/mod_openh264 codecs/mod_openh264
codecs/mod_siren codecs/mod_siren
codecs/mod_sangoma_codec
codecs/mod_skel_codec codecs/mod_skel_codec
endpoints/mod_h323 endpoints/mod_h323
endpoints/mod_khomp endpoints/mod_khomp

5
debian/control-modules vendored Normal file → Executable file
View File

@ -360,11 +360,6 @@ Description: mod_opus
Adds mod_opus. Adds mod_opus.
Build-Depends: libopus-dev Build-Depends: libopus-dev
Module: codecs/mod_sangoma_codec
Description: mod_sangoma_codec
Adds mod_sangoma_codec.
Build-Depends: libsngtc-dev
Module: codecs/mod_silk Module: codecs/mod_silk
Description: mod_silk Description: mod_silk
Adds mod_silk. Adds mod_silk.

6
debian/copyright vendored Normal file → Executable file
View File

@ -1582,12 +1582,6 @@ Files: libs/libcodec2/src/pack.c
Copyright: 2010 Perens LLC <bruce@perens.com> Copyright: 2010 Perens LLC <bruce@perens.com>
License: GPL-3+ License: GPL-3+
Files: src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c
src/include/switch_profile.h
src/switch_profile.c
Copyright: 2009,2010, Sangoma Technologies
License: BSD-3-clause
Files: src/mod/codecs/mod_isac/* Files: src/mod/codecs/mod_isac/*
Copyright: 2011-2012 The WebRTC project authors Copyright: 2011-2012 The WebRTC project authors
License: BSD-3-clause License: BSD-3-clause

39
freeswitch.spec Normal file → Executable file
View File

@ -29,17 +29,11 @@
# #
###################################################################################################################### ######################################################################################################################
# Module build settings # Module build settings
%define build_sng_isdn 0
%define build_sng_ss7 0
%define build_sng_tc 0
%define build_py26_esl 0 %define build_py26_esl 0
%define build_timerfd 0 %define build_timerfd 0
%define build_mod_esl 0 %define build_mod_esl 0
%define build_mod_v8 0 %define build_mod_v8 0
%{?with_sang_tc:%define build_sng_tc 1 }
%{?with_sang_isdn:%define build_sng_isdn 1 }
%{?with_sang_ss7:%define build_sng_ss7 1 }
%{?with_py26_esl:%define build_py26_esl 1 } %{?with_py26_esl:%define build_py26_esl 1 }
%{?with_timerfd:%define build_timerfd 1 } %{?with_timerfd:%define build_timerfd 1 }
%{?with_mod_esl:%define build_mod_esl 1 } %{?with_mod_esl:%define build_mod_esl 1 }
@ -746,19 +740,6 @@ BuildRequires: opus-devel >= 1.1
%description codec-opus %description codec-opus
OPUS Codec support for FreeSWITCH open source telephony platform OPUS Codec support for FreeSWITCH open source telephony platform
%if %{build_sng_tc}
%package sangoma-codec
Summary: Sangoma D100 and D500 Codec Card Support
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: sng-tc-linux
BuildRequires: sng-tc-linux
%description sangoma-codec
Sangoma D100 and D500 Codec Card Support
%endif
%package codec-silk %package codec-silk
Summary: Silk Codec support for FreeSWITCH open source telephony platform Summary: Silk Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries Group: System/Libraries
@ -1394,9 +1375,6 @@ CODECS_MODULES="codecs/mod_amr codecs/mod_amrwb codecs/mod_bv codecs/mod_codec2
codecs/mod_g729 codecs/mod_h26x codecs/mod_ilbc codecs/mod_isac codecs/mod_mp4v codecs/mod_opus codecs/mod_silk \ codecs/mod_g729 codecs/mod_h26x codecs/mod_ilbc codecs/mod_isac codecs/mod_mp4v codecs/mod_opus codecs/mod_silk \
codecs/mod_siren codecs/mod_theora" codecs/mod_siren codecs/mod_theora"
# #
%if %{build_sng_tc}
CODECS_MODULES+="codecs/mod_sangoma_codec"
%endif
###################################################################################################################### ######################################################################################################################
# #
@ -1648,17 +1626,6 @@ cd ../..
# #
###################################################################################################################### ######################################################################################################################
%if %{build_sng_ss7}
#do not delete a thing
%else
%{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_ss7*
%endif
%if %{build_sng_isdn}
#do not delete a thing
%else
%{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_isdn*
%endif
%{__rm} -f %{buildroot}/%{LIBDIR}/*.la %{__rm} -f %{buildroot}/%{LIBDIR}/*.la
%{__rm} -f %{buildroot}/%{MODINSTDIR}/*.la %{__rm} -f %{buildroot}/%{MODINSTDIR}/*.la
@ -1886,7 +1853,6 @@ fi
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/redis.conf.xml %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/redis.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rss.conf.xml %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rss.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rtmp.conf.xml %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rtmp.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sangoma_codec.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/shout.conf.xml %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/shout.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/signalwire.conf.xml %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/signalwire.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/skinny.conf.xml %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/skinny.conf.xml
@ -2140,11 +2106,6 @@ fi
%{MODINSTDIR}/mod_opus.so* %{MODINSTDIR}/mod_opus.so*
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opus.conf.xml %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opus.conf.xml
%if %{build_sng_tc}
%files sangoma-codec
%{MODINSTDIR}/mod_sangoma_codec.so*
%endif
%files codec-silk %files codec-silk
%{MODINSTDIR}/mod_silk.so* %{MODINSTDIR}/mod_silk.so*

View File

@ -1,8 +0,0 @@
include $(top_srcdir)/build/modmake.rulesam
MODNAME=mod_sangoma_codec
mod_LTLIBRARIES = mod_sangoma_codec.la
mod_sangoma_codec_la_SOURCES = mod_sangoma_codec.c
mod_sangoma_codec_la_CFLAGS = $(AM_CFLAGS)
mod_sangoma_codec_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_sangoma_codec_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lsngtc_node

File diff suppressed because it is too large Load Diff