2 # Copyright (C) 2017 Sebastian Kemper <sebastian_ml@gmx.net>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MAINTAINER
:=Sebastian Kemper
<sebastian_ml@gmx.net
>
15 PKG_SOURCE
:=freeswitch-
$(PKG_VERSION
).
-release.
tar.xz
16 PKG_SOURCE_URL
:=https
://files.freeswitch.org
/releases
/freeswitch
17 PKG_HASH
:=d2c702c7f4bd6eca539c3981cf859ad5c1846d9283829e24cd75686f2322b9df
19 PKG_CPE_ID
:=cpe
:/a
:freeswitch
:freeswitch
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/freeswitch-
$(PKG_VERSION
).
-release
23 PKG_BUILD_DEPENDS
:=perl
/host
52 PKG_LICENSE_FILES
:=debian
/copyright
54 FS_DATA_DIR
:=/usr
/share
/freeswitch
57 FS_EXAMPLES_DIR
:=$(FS_DATA_DIR
)/examples
58 FS_FONTS_DIR
:=$(FS_DATA_DIR
)/fonts
59 FS_GRAMMAR_DIR
:=$(FS_DATA_DIR
)/grammar
60 FS_HTDOCS_DIR
:=$(FS_DATA_DIR
)/htdocs
61 FS_IMAGES_DIR
:=$(FS_DATA_DIR
)/images
62 FS_INCLUDES_DIR
:=/usr
/include/freeswitch
63 FS_LANG_DIR
:=$(FS_DATA_DIR
)/lang
65 FS_MOD_DIR
:=$(FS_LIB_DIR
)/freeswitch
/mod
66 FS_PKGCONFIG_DIR
:=$(FS_LIB_DIR
)/pkgconfig
67 FS_SCRIPTS_DIR
:=$(FS_DATA_DIR
)/scripts
68 FS_SOUNDS_DIR
:=$(FS_DATA_DIR
)/sounds
70 FS_TLS_DIR
:=$(FS_SYSCONF_DIR
)/freeswitch
/tls
71 FS_TZ_DIR
:=$(FS_DATA_DIR
)/tz
214 PKG_CONFIG_DEPENDS
:= \
215 $(patsubst %,CONFIG_PACKAGE_freeswitch-mod-
%,$(subst _
,-,$(FS_MOD_AVAILABLE
))) \
216 CONFIG_FS_WITH_DEBUG \
217 CONFIG_FS_WITH_FREETYPE \
218 CONFIG_FS_WITH_LIBYUV \
219 CONFIG_FS_WITH_ODBC \
221 CONFIG_FS_WITH_SRTP \
224 CONFIG_PACKAGE_freeswitch-misc-perl-esl \
225 CONFIG_PACKAGE_freeswitch-misc-python3-esl \
228 include $(INCLUDE_DIR
)/package.mk
230 include $(INCLUDE_DIR
)/nls.mk
232 FS_PERL_FEED
:=$(TOPDIR
)/feeds
/packages
/lang
/perl
234 include $(TOPDIR
)/feeds
/packages
/lang
/python
/python3-version.mk
235 include $(FS_PERL_FEED
)/perlver.mk
237 PERL_SITELIB
:=/usr
/lib
/perl
$(PERL_MAJOR
)/$(PERL_VERSION2
)
239 FS_PERL_LIBS
:=$(shell grep
"^libs=" \
240 $(FS_PERL_FEED
)/files
/base.config | \
241 sed
"s/^libs=//;s/'//g")
243 FS_PYTHON3_SITE_DIR
:=$(FS_LIB_DIR
)/python
$(PYTHON3_VERSION
)/site-packages
245 define Download
/files
255 $$(eval
$$(call Download
,$(1)))
258 define Package
/freeswitch
/enable
/plugin
259 $(SED
) '/$(1)$$$$/s/^#//' $(PKG_BUILD_DIR
)/modules.conf
262 define Package
/freeswitch
/install/bin
263 $(INSTALL_DIR
) $(1)$(FS_BIN_DIR
)
264 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)$(FS_BIN_DIR
)/$(2) \
268 define Package
/freeswitch
/install/dir
269 if
[ -d
$(2) ]; then
$(INSTALL_DIR
) $(1); fi
270 for
dir in
$$$$(shell [ -d
$(2) ] && cd
$(2) && $(FIND
) -type d
-print | sed
's|^./\?||'); \
272 $(INSTALL_DIR
) $(1)/$$$$$$$$dir; \
274 for file in
$$$$(shell [ -d
$(2) ] && cd
$(2) && $(FIND
) -type f
-print | sed
's|^./||'); \
276 $(INSTALL_DATA
) $(2)/$$$$$$$$file $(1)/$$$$$$$$file; \
280 define Package
/freeswitch
/install/lib
281 $(INSTALL_DIR
) $(1)$(FS_LIB_DIR
)
282 $(CP
) $(PKG_INSTALL_DIR
)$(FS_LIB_DIR
)/$(2).so.
* \
286 define Package
/freeswitch
/install/mod
287 $(INSTALL_DIR
) $(1)$(FS_MOD_DIR
)
288 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)$(FS_MOD_DIR
)/mod_
$(2).so \
292 define Package
/freeswitch
/config
293 source
"$(SOURCE)/Config.in"
296 define Package
/freeswitch
/Default
300 URL
:=https
://www.freeswitch.org
303 # Note: shadow deps are a bit strange; you need to select shadow-utils
304 # package first for shadow-su to be selected, even though the
305 # shadow-utils package later becomes a no-op.
306 define Package
/freeswitch
307 $(call Package
/freeswitch
/Default
)
308 TITLE
:=Open source telephony platform
, v
$(PKG_VERSION
)
310 USERID
:=freeswitch
=372:freeswitch
=372
314 +!BUSYBOX_DEFAULT_SU
:shadow-utils \
315 +!BUSYBOX_DEFAULT_SU
:shadow-su \
316 +@OPENSSL_WITH_DEPRECATED \
317 +FS_WITH_FREETYPE
:libfreetype \
318 +FS_WITH_ODBC
:unixodbc \
319 +FS_WITH_PNG
:libpng \
335 define Package
/freeswitch
/description
336 FreeSWITCH is a scalable open source cross-platform telephony platform
337 designed to route and interconnect popular communication protocols
338 using audio
, video
, text or any other form of media.
341 define Package
/freeswitch
/conffiles
342 $(FS_SYSCONF_DIR
)/freeswitch
343 $(FS_SYSCONF_DIR
)/config
/freeswitch
344 $(FS_SYSCONF_DIR
)/init.d
/freeswitch
347 define Package
/freeswitch
/install
348 $(call Package
/freeswitch
/install/bin
,$(1),freeswitch
)
349 $(call Package
/freeswitch
/install/lib
,$(1),libfreeswitch
)
350 $(INSTALL_DIR
) $(1)$(FS_FONTS_DIR
)
351 $(INSTALL_DIR
) $(1)$(FS_GRAMMAR_DIR
)
352 $(INSTALL_DIR
) $(1)$(FS_HTDOCS_DIR
)
353 $(INSTALL_DIR
) $(1)$(FS_IMAGES_DIR
)
354 $(INSTALL_DIR
) $(1)$(FS_SCRIPTS_DIR
)
355 $(INSTALL_DIR
) $(1)$(FS_SOUNDS_DIR
)
356 $(INSTALL_DIR
) $(1)$(FS_SYSCONF_DIR
)/config
357 $(INSTALL_DIR
) $(1)$(FS_SYSCONF_DIR
)/hotplug.d
/iface
358 $(INSTALL_DIR
) $(1)$(FS_SYSCONF_DIR
)/init.d
359 $(INSTALL_DIR
) $(1)$(FS_TLS_DIR
)
360 $(INSTALL_BIN
) .
/files
/freeswitch.init \
361 $(1)$(FS_SYSCONF_DIR
)/init.d
/freeswitch
362 $(INSTALL_BIN
) .
/files
/freeswitch.hotplug \
363 $(1)$(FS_SYSCONF_DIR
)/hotplug.d
/iface
/90-freeswitch
364 $(INSTALL_CONF
) .
/files
/freeswitch.conf \
365 $(1)$(FS_SYSCONF_DIR
)/config
/freeswitch
368 define Package
/freeswitch
/postinst
370 if
[ -z
"$${IPKG_INSTROOT}" ]; then
372 echo
"o-------------------------------------------------------------------o"
373 echo
"| FreeSWITCH note |"
374 echo
"o-------------------------------------------------------------------o"
375 echo
"| Edit /etc/config/freeswitch to change basic init configuration. |"
377 echo
"| Also visit the Wiki at: |"
378 echo
"| https://openwrt.org/docs/guide-user/services/voip/freeswitch |"
379 echo
"o-------------------------------------------------------------=^_^=-o"
385 define Package
/freeswitch-misc-perl-esl
386 $(call Package
/freeswitch
/Default
)
388 DEPENDS
:=freeswitch \
389 +PACKAGE_freeswitch-misc-perl-esl
:perlbase-autoloader \
390 +PACKAGE_freeswitch-misc-perl-esl
:perlbase-data \
391 +PACKAGE_freeswitch-misc-perl-esl
:perlbase-dynaloader \
395 define Package
/freeswitch-misc-perl-esl
/description
396 This package contains the Perl binding for FreeSWITCH
's Event Socket
400 define Package/freeswitch-misc-perl-esl/install
401 $(INSTALL_DIR) $(1)$(PERL_SITELIB)/ESL
402 $(INSTALL_DIR) $(1)$(PERL_SITELIB)/auto/ESL
404 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL.so \
405 $(1)$(PERL_SITELIB)/auto/ESL
407 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL.pm \
410 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL/Dispatch.pm \
411 $(1)$(PERL_SITELIB)/ESL
413 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL/IVR.pm \
414 $(1)$(PERL_SITELIB)/ESL
417 define Package/freeswitch-misc-python3-esl
418 $(call Package/freeswitch/Default)
420 DEPENDS:=freeswitch +PACKAGE_freeswitch-misc-python3-esl:python3-light
423 define Package/freeswitch-misc-python3-esl/description
424 This package contains the Python3 binding for FreeSWITCH's Event Socket
428 define Package
/freeswitch-misc-python3-esl
/install
429 $(INSTALL_DIR
) $(1)$(FS_PYTHON3_SITE_DIR
)
431 $(PKG_INSTALL_DIR
)$(FS_PYTHON3_SITE_DIR
)/_ESL.so \
432 $(1)$(FS_PYTHON3_SITE_DIR
)
434 $(PKG_INSTALL_DIR
)$(FS_PYTHON3_SITE_DIR
)/ESL.py \
435 $(1)$(FS_PYTHON3_SITE_DIR
)
438 define Package
/freeswitch-misc-timezones
439 $(call Package
/freeswitch
/Default
)
440 TITLE
:=Timezones file
445 define Package
/freeswitch-misc-timezones
/description
446 This package includes a timezones file for FreeSWITCH.
449 define Package
/freeswitch-misc-timezones
/install
450 $(INSTALL_DIR
) $(1)$(FS_TZ_DIR
)
452 $(PKG_BUILD_DIR
)/conf
/vanilla
/autoload_configs
/timezones.conf.xml \
456 define Package
/freeswitch
/Example
457 define Package
/freeswitch-example-
$(subst _
,-,$(1))
458 $(call Package
/freeswitch
/Default
)
459 TITLE
:=Example configuration
463 define Package
/freeswitch-example-
$(subst _
,-,$(1))/description
464 This package does not
install any configuration for FreeSWITCH into
465 /etc
/freeswitch. The system administrator is completely responsible
466 for that directory. If you
install one of the example configuration
467 packages
, it will
install the corresponding sample configuration to
468 /usr
/share
/freeswitch
/examples where you can take a look at it.
470 define Package
/freeswitch-example-
$(subst _
,-,$(1))/install
471 $(call Package
/freeswitch
/install/dir,$$(1)$(FS_EXAMPLES_DIR
)/$(1),$(PKG_BUILD_DIR
)/conf
/$(1))
473 $$(eval
$$(call BuildPackage
,freeswitch-example-
$(subst _
,-,$(1))))
476 define Package
/freeswitch
/Language
477 define Package
/freeswitch-lang-
$(subst _
,-,$(1))
478 $(call Package
/freeswitch
/Default
)
479 TITLE
:=$(2) language files
483 define Package
/freeswitch-lang-
$(subst _
,-,$(1))/description
484 This package includes the
$(2) language files for FreeSWITCH.
486 define Package
/freeswitch-lang-
$(subst _
,-,$(1))/install
487 $(call Package
/freeswitch
/install/dir,$$(1)$(FS_LANG_DIR
)/$(1),$(PKG_BUILD_DIR
)/conf
/vanilla
/lang
/$(1))
489 $$(eval
$$(call BuildPackage
,freeswitch-lang-
$(subst _
,-,$(1))))
492 # The next package generator is for miscellaneous files that only
493 # require being copied from PKG_INSTALL_DIR to the ipkg.
494 define Package
/freeswitch
/Misc
495 define Package
/freeswitch-
$(subst _
,-,$(1))
496 $(call Package
/freeswitch
/Default
)
503 define Package
/freeswitch-
$(subst _
,-,$(1))/description
504 $(subst \n,$(newline
),$(3))
506 define Package
/freeswitch-
$(subst _
,-,$(1))/install
507 $(call Package
/freeswitch
/install/dir,$$(1)$(5),$(PKG_INSTALL_DIR
)$(4))
509 $$(eval
$$(call BuildPackage
,freeswitch-
$(subst _
,-,$(1))))
512 define Package
/freeswitch
/Module
513 define Package
/freeswitch-mod-
$(subst _
,-,$(1))
514 $(call Package
/freeswitch
/Default
)
516 DEPENDS
:=freeswitch
$(patsubst +%,+PACKAGE_freeswitch-mod-
$(subst _
,-,$(1)):%,$(4))
518 define Package
/freeswitch-mod-
$(subst _
,-,$(1))/description
519 $(subst \n,$(newline
),$(3))
521 define Package
/freeswitch-mod-
$(subst _
,-,$(1))/install
522 $(call Package
/freeswitch
/install/mod
,$$(1),$(1))
523 ifeq ($(CONFIG_FS_WITH_MODCONF
),y
)
524 $(call Package
/freeswitch
/install/dir,$$(1)$(FS_EXAMPLES_DIR
)/mod_
$(1),$(PKG_BUILD_DIR
)/src
/mod
/*/mod_
$(1)/conf
)
527 $(INSTALL_DIR
) $$(1)$(PERL_SITELIB
)/auto
/freeswitch
529 $(PKG_INSTALL_DIR
)/usr
/perl
/freeswitch.so \
530 $$(1)$(PERL_SITELIB
)/auto
/freeswitch
532 $(PKG_INSTALL_DIR
)/usr
/perl
/freeswitch.pm \
536 $(INSTALL_DIR
) $$(1)$(FS_PYTHON3_SITE_DIR
)
538 $(PKG_INSTALL_DIR
)$(FS_PYTHON3_SITE_DIR
)/freeswitch.py \
539 $$(1)$(FS_PYTHON3_SITE_DIR
)
542 $$(eval
$$(call BuildPackage
,freeswitch-mod-
$(subst _
,-,$(1))))
545 define Package
/freeswitch
/Util
546 define Package
/freeswitch-util-
$(subst _
,-,$(1))
547 $(call Package
/freeswitch
/Default
)
549 DEPENDS
:=freeswitch
$(patsubst +%,+PACKAGE_freeswitch-util-
$(subst _
,-,$(1)):%,$(4))
554 define Package
/freeswitch-util-
$(subst _
,-,$(1))/description
555 $(subst \n,$(newline
),$(3))
557 define Package
/freeswitch-util-
$(subst _
,-,$(1))/install
558 $(call Package
/freeswitch
/install/bin
,$$(1),$(1))
560 $$(eval
$$(call BuildPackage
,freeswitch-util-
$(subst _
,-,$(1))))
564 --srcdir=$(PKG_BUILD_DIR
) \
565 --disable-dependency-tracking \
567 --disable-system-xmlrpc-c \
568 --enable-core-libedit-support \
570 --with-cachedir
=/tmp
/freeswitch
/cache \
571 --with-dbdir
=/tmp
/freeswitch
/db \
572 --with-imagesdir
=$(FS_IMAGES_DIR
) \
573 --with-logfiledir
=/tmp
/freeswitch
/log \
575 --with-recordingsdir
=/tmp
/freeswitch
/recordings \
576 --with-storagedir
=/tmp
/freeswitch
/storage \
577 $(call autoconf_bool
,CONFIG_FS_WITH_DEBUG
,debug
) \
578 $(call autoconf_bool
,CONFIG_FS_WITH_LIBYUV
,libyuv
) \
579 $(call autoconf_bool
,CONFIG_FS_WITH_ODBC
,core-odbc-support
) \
580 $(call autoconf_bool
,CONFIG_FS_WITH_SRTP
,srtp
) \
581 $(call autoconf_bool
,CONFIG_FS_WITH_VPX
,libvpx
) \
582 $(if
$(CONFIG_FS_WITH_FREETYPE
),,--without-freetype
) \
583 $(if
$(CONFIG_FS_WITH_ODBC
),--with-odbc-lib
="$(STAGING_DIR)$(FS_LIB_DIR)") \
584 $(if
$(CONFIG_FS_WITH_ODBC
),--with-odbc
="$(STAGING_DIR)/usr") \
585 $(if
$(CONFIG_FS_WITH_PNG
),,--without-png
)
587 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-python3-esl
)$(CONFIG_PACKAGE_freeswitch-mod-python3
),)
589 --with-python3
=$(STAGING_DIR_HOST
)/bin
/python3
595 ifeq ($(CONFIG_PACKAGE_freeswitch-mod-erlang-event
)$(CONFIG_PACKAGE_freeswitch-mod-kazoo
),)
600 # FreeSWITCH dropped postgresql support from the core. postgresql
601 # support is now available via mod_pgsql. We still need to pass
602 # '--without-pgsql', otherwise apr-util links to libpq and we still
603 # would have the core link to it.
607 # Don't want host-php
610 ac_cv_have_php_config
=no \
611 ac_cv_prog_PHP
=false \
612 ac_cv_prog_PHP_CONFIG
=false
614 # The autoconf variables in this block are OK for both musl and glibc
616 ac_cv_dev_urandom
=yes \
617 ac_cv_file__dev_ptmx
=yes \
618 ac_cv_file__dev_urandom
=yes \
619 ac_cv_file_dbd_apr_dbd_mysql_c
=no \
620 ac_cv_free_null
=yes \
621 ac_cv_func_mmap_fixed_mapped
=yes \
622 ac_cv_func_pthread_rwlock_init
=yes \
623 ac_cv_func_sem_open
=yes \
624 ac_cv_have_working_memmove
=yes \
625 ac_cv_negative_eai
=yes \
626 ac_cv_o_nonblock_inherited
=no \
627 ac_cv_struct_rlimit
=yes \
629 apr_cv_gai_addrconfig
=yes \
630 apr_cv_mutex_recursive
=yes \
631 apr_cv_process_shared_works
=yes \
632 apr_cv_pthreads_lib
=-lpthread \
633 apr_cv_tcp_nodelay_with_cork
=yes \
634 apr_cv_type_rwlock_t
=yes
640 # Regarding apr_cv_mutex_robust_shared=no see
641 # http://www.openwall.com/lists/musl/2016/11/26/1
642 ifeq ($(call qstrip
,$(CONFIG_LIBC
)),musl
)
644 apr_cv_mutex_robust_shared
=no \
645 ac_cv_strerror_r_rc_int
=yes
648 apr_cv_mutex_robust_shared
=yes
651 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-perl-esl
)$(CONFIG_PACKAGE_freeswitch-mod-perl
),)
653 PERL
="$(STAGING_DIR_HOSTPKG)/usr/bin/perl$(PERL_VERSION)" \
654 PERL_CFLAGS
="-D_LARGEFILE_SOURCE $(if $(CONFIG_USE_MUSL),-D_LARGEFILE64_SOURCE) -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -I$(STAGING_DIR)$(PERL_SITELIB)/CORE" \
655 PERL_INC
="-I$(STAGING_DIR)$(PERL_SITELIB)/CORE" \
656 PERL_LDFLAGS
="-Wl,-rpath,$(PERL_SITELIB)/CORE -L$(STAGING_DIR)$(PERL_SITELIB)/CORE -lperl" \
657 PERL_LIBDIR
="-L$(PERL_SITELIB)/CORE" \
658 PERL_LIBS
="$(FS_PERL_LIBS) $(EXTRA_LIBDIRS:%=-L%) $(EXTRA_LIBS:%=-l%)" \
659 PERL_SITEDIR
="$(PERL_SITELIB)"
663 ac_cv_prog_PERL
=false
666 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-python3-esl
)$(CONFIG_PACKAGE_freeswitch-mod-python3
),)
668 PYTHON3_CFLAGS
="-I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION)" \
669 PYTHON3_LDFLAGS
="-lpython$(PYTHON3_VERSION)" \
670 PYTHON3_LIB
="python$(PYTHON3_VERSION)" \
671 PYTHON3_LIBDIR
="$(FS_LIB_DIR)" \
672 PYTHON3_SITE_DIR
="$(FS_PYTHON3_SITE_DIR)"
675 # mod_radius_cdr runs configure in libs/freeradius-client. Let
676 # freeradius-client know /dev/urandom is available on target devices.
678 ac_cv_dev_urandom
=yes
680 # Make sphinxbase use fixed point math when soft float support is
681 # enabled on target devices.
682 ifeq ($(CONFIG_SOFT_FLOAT
),y
)
684 FS_USE_FIXED_POINT
="--enable-fixed"
688 FS_LIBS_URL
:=https
://files.freeswitch.org
/downloads
/libs
689 FS_SPHINX_URL
:=@SF
/cmusphinx
692 FS_ZEROMQ_FILE
:=zeromq-2.1
.9.
tar.gz
693 FS_ZEROMQ_HASH
:=f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0
694 FS_ZEROMQ_URL
:=http
://download.zeromq.org
697 FS_POCKETSPHINX_FILE
:=pocketsphinx-0.8.
tar.gz
698 FS_POCKETSPHINX_HASH
:=874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a
700 FS_SPHINXBASE_FILE
:=sphinxbase-0.8.
tar.gz
701 FS_SPHINXBASE_HASH
:=55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8
703 FS_SPHINXMODEL_FILE
:=communicator_semi_6000_20080321.
tar.gz
704 FS_SPHINXMODEL_HASH
:=dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18
707 FS_FREERADIUS_CLIENT_FILE
:=freeradius-client-1.1
.7.
tar.gz
708 FS_FREERADIUS_CLIENT_HASH
:=eada2861b8f4928e3ac6b5bbfe11e92cd6cdcacfce40cae1085e77c1b6add0e9
710 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-event-zmq
),)
711 $(eval
$(call Download
/files
,zmq
,$(FS_ZEROMQ_FILE
),$(FS_ZEROMQ_URL
),$(FS_ZEROMQ_HASH
)))
714 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-pocketsphinx
)$(CONFIG_PACKAGE_freeswitch-misc-grammar
),)
715 $(eval
$(call Download
/files
,pocketsphinx
,$(FS_POCKETSPHINX_FILE
),$(FS_SPHINX_URL
),$(FS_POCKETSPHINX_HASH
)))
716 $(eval
$(call Download
/files
,sphinxbase
,$(FS_SPHINXBASE_FILE
),$(FS_SPHINX_URL
),$(FS_SPHINXBASE_HASH
)))
717 $(eval
$(call Download
/files
,communicator
,$(FS_SPHINXMODEL_FILE
),$(FS_LIBS_URL
),$(FS_SPHINXMODEL_HASH
)))
720 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-radius-cdr
),)
721 $(eval
$(call Download
/files
,freeradius-client
,$(FS_FREERADIUS_CLIENT_FILE
),$(FS_LIBS_URL
),$(FS_FREERADIUS_CLIENT_HASH
)))
725 $(call Build
/Prepare
/Default
)
727 echo
'#applications/mod_random' >> $(PKG_BUILD_DIR
)/modules.conf
728 echo
'#codecs/mod_yuv' >> $(PKG_BUILD_DIR
)/modules.conf
729 echo
'#event_handlers/mod_event_test' >> $(PKG_BUILD_DIR
)/modules.conf
732 define Build
/Configure
733 $(SED
) '/^#/!s/^/#/' $(PKG_BUILD_DIR
)/modules.conf
734 $(foreach m
,$(FS_MOD_AVAILABLE
),
735 $(if
$(CONFIG_PACKAGE_freeswitch-mod-
$(subst _
,-,$(m
))),
736 $(call Package
/freeswitch
/enable
/plugin
,mod_
$(m
))))
738 # Some of the dependencies that necessitate below hacks are documented in
739 # src/mod/Makefile.am.
741 # Hack for misc-grammar - needs mod_pocketsphinx to provide grammar files
742 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-grammar
),)
743 $(call Package
/freeswitch
/enable
/plugin
,mod_pocketsphinx
)
746 # Hack for mod_gsmopen - it has a build-time dep on mod_spandsp
747 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-gsmopen
),)
748 $(call Package
/freeswitch
/enable
/plugin
,mod_spandsp
)
751 # Hack for mod_ssml - it has a build-time dep on mod_rayo.
752 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-ssml
),)
753 $(call Package
/freeswitch
/enable
/plugin
,mod_rayo
)
756 $(call Build
/Configure
/Default
)
760 # Copy some source files if certain modules are selected
761 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-event-zmq
),)
762 $(CP
) $(DL_DIR
)/$(FS_ZEROMQ_FILE
) $(PKG_BUILD_DIR
)/libs
765 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-pocketsphinx
)$(CONFIG_PACKAGE_freeswitch-misc-grammar
),)
766 $(CP
) $(DL_DIR
)/$(FS_POCKETSPHINX_FILE
) $(PKG_BUILD_DIR
)/libs
767 $(CP
) $(DL_DIR
)/$(FS_SPHINXBASE_FILE
) $(PKG_BUILD_DIR
)/libs
768 $(CP
) $(DL_DIR
)/$(FS_SPHINXMODEL_FILE
) $(PKG_BUILD_DIR
)/libs
771 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-radius-cdr
),)
772 $(CP
) $(DL_DIR
)/$(FS_FREERADIUS_CLIENT_FILE
) $(PKG_BUILD_DIR
)/libs
775 $(call Build
/Compile
/Default
)
777 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-perl-esl
),)
778 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl perlmod
)
780 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-python3-esl
),)
781 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl py3mod
)
786 $(call Build
/Install
/Default
)
787 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-perl-esl
),)
788 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl DESTDIR
=$(PKG_INSTALL_DIR
) perlmod-install
)
790 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-python3-esl
),)
791 $(call Build
/Install
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl py3mod-install
)
795 define Build
/InstallDev
796 $(INSTALL_DIR
) $(1)$(FS_INCLUDES_DIR
) $(1)$(FS_LIB_DIR
) \
797 $(1)$(FS_PKGCONFIG_DIR
)
798 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)$(FS_INCLUDES_DIR
)/*.h \
799 $(1)$(FS_INCLUDES_DIR
)
801 $(PKG_INSTALL_DIR
)$(FS_PKGCONFIG_DIR
)/freeswitch.
pc \
802 $(1)$(FS_PKGCONFIG_DIR
)
803 $(CP
) $(PKG_INSTALL_DIR
)$(FS_LIB_DIR
)/libfreeswitch.so
* \
807 $(eval
$(call BuildPackage
,freeswitch
))
808 $(eval
$(call BuildPackage
,freeswitch-misc-perl-esl
))
809 $(eval
$(call BuildPackage
,freeswitch-misc-python3-esl
))
810 $(eval
$(call BuildPackage
,freeswitch-misc-timezones
))
812 ################################
813 # FreeSWITCH example configs
815 # 1 - Package subname
816 ################################
818 $(eval
$(call Package
/freeswitch
/Example
,curl
))
819 $(eval
$(call Package
/freeswitch
/Example
,insideout
))
820 $(eval
$(call Package
/freeswitch
/Example
,minimal
))
821 $(eval
$(call Package
/freeswitch
/Example
,rayo
))
822 $(eval
$(call Package
/freeswitch
/Example
,sbc
))
823 $(eval
$(call Package
/freeswitch
/Example
,softphone
))
824 $(eval
$(call Package
/freeswitch
/Example
,testing
))
825 $(eval
$(call Package
/freeswitch
/Example
,vanilla
))
827 ################################
828 # FreeSWITCH language files
832 ################################
834 $(eval
$(call Package
/freeswitch
/Language
,de
,German
))
835 $(eval
$(call Package
/freeswitch
/Language
,en
,English
))
836 $(eval
$(call Package
/freeswitch
/Language
,es
,Spanish
))
837 $(eval
$(call Package
/freeswitch
/Language
,fr
,French
))
838 $(eval
$(call Package
/freeswitch
/Language
,he
,Hebrew
))
839 $(eval
$(call Package
/freeswitch
/Language
,pt
,Portuguese
))
840 $(eval
$(call Package
/freeswitch
/Language
,ru
,Russian
))
841 $(eval
$(call Package
/freeswitch
/Language
,sv
,Swedish
))
843 ################################
844 # FreeSWITCH misc packages
846 # 1 - Package subname
848 # 3 - Package description
849 # 4 - Source dir relative to
851 # 5 - Dest dir relative to ipkg
852 # 6 - Arch independent files
853 ################################
855 $(eval
$(call Package
/freeswitch
/Misc
,misc-fonts
,Fonts
,This package includes the fonts bundled with FreeSWITCH.
,$(FS_FONTS_DIR
),$(FS_FONTS_DIR
),y
))
856 $(eval
$(call Package
/freeswitch
/Misc
,misc-grammar
,Grammar
,This package contains grammar files. mod_pocketsphinx would be a
\npotential user.
,$(FS_GRAMMAR_DIR
),$(FS_GRAMMAR_DIR
),y
))
857 $(eval
$(call Package
/freeswitch
/Misc
,misc-images
,Images
,This package includes the images bundled with FreeSWITCH.
,$(FS_IMAGES_DIR
),$(FS_IMAGES_DIR
),y
))
859 ################################
862 # 1 - Package subname
864 # 3 - Module description
865 # 4 - Module dependencies
866 ################################
868 $(eval
$(call Package
/freeswitch
/Module
,abstraction
,API abstraction
,This module provides a way to create new API functions via regex
\nrewriting.
,))
869 $(eval
$(call Package
/freeswitch
/Module
,alsa
,ALSA endpoint
,ALSA endpoint module.
,+alsa-lib
))
870 $(eval
$(call Package
/freeswitch
/Module
,amr
,AMR passthrough
,Passthrough AMR codec support.
,))
871 $(eval
$(call Package
/freeswitch
/Module
,amrwb
,AMR wideband passthrough
,Passthrough AMR wideband codec support.
,))
872 $(eval
$(call Package
/freeswitch
/Module
,av
,AV
,Video codec and format support via FFmpeg.
,+libffmpeg-full @x86_64
))
873 $(eval
$(call Package
/freeswitch
/Module
,avmd
,Voicemail detection
,This module attempts to determine when a voicemail system has answered
\nthe call.
,))
874 $(eval
$(call Package
/freeswitch
/Module
,b64
,Base64
,Transfers data Base64 encoded.
,))
875 $(eval
$(call Package
/freeswitch
/Module
,basic
,BASIC
,BASIC module for FreeSWITCH.
,))
876 $(eval
$(call Package
/freeswitch
/Module
,bert
,BERT
,Line testing tool.
,))
877 $(eval
$(call Package
/freeswitch
/Module
,blacklist
,Blacklist helper
,This module provides tools to blacklist callers.
,))
878 $(eval
$(call Package
/freeswitch
/Module
,callcenter
,Call center
,This module implements Automated Call Distribution queues.
,))
879 $(eval
$(call Package
/freeswitch
/Module
,cdr_csv
,CSV CDR
,CSV Call Detail Record handler.
,))
880 $(eval
$(call Package
/freeswitch
/Module
,cdr_mongodb
,MongoDB CDR
,MongoDB Call Detail Record handler.
,))
881 $(eval
$(call Package
/freeswitch
/Module
,cdr_pg_csv
,PostgreSQL CDR
,PostgreSQL Call Detail Record handler.
,+libpq
))
882 $(eval
$(call Package
/freeswitch
/Module
,cdr_sqlite
,SQLite CDR
,SQLite Call Detail Record handler.
,))
883 $(eval
$(call Package
/freeswitch
/Module
,cidlookup
,Caller ID lookup
,This module provides an API for querying caller ID name and location
\ndata.
,))
884 $(eval
$(call Package
/freeswitch
/Module
,clearmode
,Clearmode
,Clearmode codec passthrough support.
,))
885 $(eval
$(call Package
/freeswitch
/Module
,cluechoo
,Clue Choo
,This demo module renders a Clue Choo train on the FreeSWITCH console.
,+libncurses
))
886 $(eval
$(call Package
/freeswitch
/Module
,commands
,Commands
,This module provides miscellaneous API commands.
,))
887 $(eval
$(call Package
/freeswitch
/Module
,conference
,Conference
,This module provides multi-party conferencing.
,))
888 $(eval
$(call Package
/freeswitch
/Module
,console
,Console logger
,Allows control over what messages
get logged to the console.
,))
889 $(eval
$(call Package
/freeswitch
/Module
,curl
,cURL
,This module provides an API for making HTTP requests with cURL.
,))
890 $(eval
$(call Package
/freeswitch
/Module
,dahdi_codec
,DAHDI codec
,DAHDI codec module.
,))
891 $(eval
$(call Package
/freeswitch
/Module
,db
,DB
,This module implements a simple db API with group support. Also can be
\nused
as a limit db backend.
,))
892 $(eval
$(call Package
/freeswitch
/Module
,dialplan_asterisk
,Asterisk dialplan
,Asterisk extensions.conf style dialplan parser.
,))
893 $(eval
$(call Package
/freeswitch
/Module
,dialplan_directory
,Directory dialplan
,Directory dialplan support.
,))
894 $(eval
$(call Package
/freeswitch
/Module
,dialplan_xml
,XML dialplan
,Standard FreeSWITCH XML dialplan support.
,))
895 $(eval
$(call Package
/freeswitch
/Module
,directory
,Dial-by-name directory
,This module implements a dial-by-name directory IVR.
,))
896 $(eval
$(call Package
/freeswitch
/Module
,distributor
,Load distributor
,This module implements a mechanism for performing load balancing.
,))
897 $(eval
$(call Package
/freeswitch
/Module
,dptools
,Dialplan tools
,This module implements basic dialplan tools.
,))
898 $(eval
$(call Package
/freeswitch
/Module
,easyroute
,DID routing
,This module does destination lookup based on DID.
,))
899 $(eval
$(call Package
/freeswitch
/Module
,enum
,ENUM routing
,This module implements ENUM support.
,+libldns
))
900 $(eval
$(call Package
/freeswitch
/Module
,erlang_event
,Erlang event
,Erlang event module.
,+erlang
))
901 $(eval
$(call Package
/freeswitch
/Module
,esf
,Multicast
,This module adds multi-cast support.
,))
902 $(eval
$(call Package
/freeswitch
/Module
,esl
,Single ESL
,This module adds an API for generating one-off ESL requests.
,))
903 $(eval
$(call Package
/freeswitch
/Module
,event_multicast
,Multicast Event
,Multicast Event System for FreeSWITCH.
,))
904 $(eval
$(call Package
/freeswitch
/Module
,event_socket
,Event socket
,Sends events via a single socket. Needed for fs_cli.
,))
905 $(eval
$(call Package
/freeswitch
/Module
,event_test
,Event
test,Event demo module.
,))
906 $(eval
$(call Package
/freeswitch
/Module
,event_zmq
,ZMQ event
,ZMQ event module.
,))
907 $(eval
$(call Package
/freeswitch
/Module
,expr
,Expr
,This module adds expr support for expression evaluation.
,))
908 $(eval
$(call Package
/freeswitch
/Module
,fail2ban
,Fail2ban logging
,Provides support for Fail2ban logging.
,))
909 $(eval
$(call Package
/freeswitch
/Module
,fifo
,FIFO
,This module adds a first-in first-out queue system.
,))
910 $(eval
$(call Package
/freeswitch
/Module
,format_cdr
,Multiformat CDR
,A superset of mod_json_cdr and mod_xml_cdr.
,))
911 $(eval
$(call Package
/freeswitch
/Module
,fsk
,FSK
,This module adds frequency-shift keying support which can be used to
\nsend and receive caller ID.
,))
912 $(eval
$(call Package
/freeswitch
/Module
,fsv
,FSV
,This module provides dialplan applications for recording and playing
\nvideos.
,))
913 $(eval
$(call Package
/freeswitch
/Module
,g723_1
,G
.723.1 passthrough
,G
.723.1 codec passthrough.
,))
914 $(eval
$(call Package
/freeswitch
/Module
,g729
,G
.729 passthrough
,G
.729 codec passthrough.
,))
915 $(eval
$(call Package
/freeswitch
/Module
,graylog2
,Graylog2 logger
,GELF logger for Graylog2 and Logstash.
,))
916 $(eval
$(call Package
/freeswitch
/Module
,gsmopen
,GSM endpoint
,GSMopen is a channel driver that allows an SMS to be sent to and from
\nFreeSWITCH
as well
as incoming and outgoing GSM voice calls.
,+gsmlib
+libctb
+libjpeg-turbo
+libtiff
))
917 $(eval
$(call Package
/freeswitch
/Module
,h26x
,H
.26x passthrough
,H
.26x video codec passthrough.
,))
918 $(eval
$(call Package
/freeswitch
/Module
,hash
,Hash
,This module provides a key-value in-memory datastore. Usable
as a
\nlimit backend.
,))
919 $(eval
$(call Package
/freeswitch
/Module
,hiredis
,Redis client
,This module provides a mechanism to use Redis
as a datastore.
,+libhiredis
))
920 $(eval
$(call Package
/freeswitch
/Module
,httapi
,HT-TAPI
,This module provides an API for controlling the switch by responding
\nto HTTP requests.
,))
921 $(eval
$(call Package
/freeswitch
/Module
,http_cache
,HTTP GET with caching
,This module provides an API for making HTTP GET requests where the
\nresult is cached.
,))
922 $(eval
$(call Package
/freeswitch
/Module
,isac
,iSAC
,iSAC codec support.
,@arm||i386||mips||mips64||mips64el||mipsel||x86_64
))
923 $(eval
$(call Package
/freeswitch
/Module
,json_cdr
,JSON CDR
,JSON-based Call Detail Record handler.
,))
924 $(eval
$(call Package
/freeswitch
/Module
,kazoo
,Kazoo
,Kazoo module for FreeSWITCH.
,+erlang
))
925 $(eval
$(call Package
/freeswitch
/Module
,lcr
,LCR
,This module adds a facility for least-cost routing.
,))
926 $(eval
$(call Package
/freeswitch
/Module
,ldap
,LDAP
,LDAP module for FreeSWITCH.
,+libopenldap
))
927 $(eval
$(call Package
/freeswitch
/Module
,local_stream
,Local stream
,Connects multiple channels to a looped stream.
,))
928 $(eval
$(call Package
/freeswitch
/Module
,logfile
,File logger
,Logs FreeSWITCH output to a file.
,))
929 $(eval
$(call Package
/freeswitch
/Module
,loopback
,Loopback
,A loopback channel driver.
,))
930 $(eval
$(call Package
/freeswitch
/Module
,lua
,Lua
,Lua language interface for FreeSWITCH.
,+liblua
))
931 $(eval
$(call Package
/freeswitch
/Module
,mariadb
,MariaDB
,Adds MariaDB support.
,+libmariadb
))
932 $(eval
$(call Package
/freeswitch
/Module
,mp4v
,MP4 video passthrough
,MP4 video passthrough.
,))
933 $(eval
$(call Package
/freeswitch
/Module
,native_file
,Native file
,Plays files that are already encoded in the right format.
,))
934 $(eval
$(call Package
/freeswitch
/Module
,nibblebill
,Nibblebill
,This module allows for real-time accounting of a cash balance and
\nusing that information for call routing.
,))
935 $(eval
$(call Package
/freeswitch
/Module
,odbc_cdr
,ODBC CDR
,ODBC Call Detail Record handler.
,))
936 $(eval
$(call Package
/freeswitch
/Module
,opus
,Opus
,Opus codec support.
,+libopus
))
937 $(eval
$(call Package
/freeswitch
/Module
,opusfile
,Opus file
,Read and Write OGG
/Opus files.
,+libopusenc
+libopusfile
))
938 $(eval
$(call Package
/freeswitch
/Module
,oreka
,Oreka
,This module provides media recording with the Oreka cross-platform
\naudio stream recording and retrieval system.
,))
939 $(eval
$(call Package
/freeswitch
/Module
,perl
,Perl
,This package contains mod_perl for FreeSWITCH.
,+libdb47
+libgdbm
+perlbase-essential @PERL_THREADS
))
940 $(eval
$(call Package
/freeswitch
/Module
,pgsql
,PostgreSQL
,Adds PostgreSQL support.
,+libpq
))
941 $(eval
$(call Package
/freeswitch
/Module
,png
,PNG
,Allows playback of video using PNG files.
,@FS_WITH_PNG
))
942 $(eval
$(call Package
/freeswitch
/Module
,pocketsphinx
,Pocketsphinx
,This module allows speech recognition. You might want to
install\nfreeswitch
-misc
-grammar
as well.
,+libsamplerate
)) # When libsamplerate is found it'll be linked against, there is no switch to turn it off
943 $(eval
$(call Package
/freeswitch
/Module
,portaudio
,Portaudio
,Voice through a local soundcard.
,+portaudio
))
944 $(eval
$(call Package
/freeswitch
/Module
,portaudio_stream
,Portaudio streaming
,Stream from an external audio source for Music on Hold.
,+portaudio
))
945 $(eval
$(call Package
/freeswitch
/Module
,posix_timer
,POSIX timer
,Add POSIX timer support.
,))
946 $(eval
$(call Package
/freeswitch
/Module
,prefix,Prefix match
,This module provides a data store with fast lookups by the longest
\nprefix match rule.
,))
947 $(eval
$(call Package
/freeswitch
/Module
,python3
,Python3
,Python3 support module.
,+python3-light
))
948 $(eval
$(call Package
/freeswitch
/Module
,radius_cdr
,Radius CDR
,Radius Call Detail Record handler.
,))
949 $(eval
$(call Package
/freeswitch
/Module
,random
,Entropy
,This module extracts entropy from FreeSWITCH and feeds it into
\n/dev
/random.
,))
950 $(eval
$(call Package
/freeswitch
/Module
,raven
,Raven logging
,Adds support for logging to Raven instances.
,))
951 $(eval
$(call Package
/freeswitch
/Module
,rayo
,Rayo
,Rayo
/XMPP
3PCC server for FreeSWITCH.
,+freeswitch-mod-ssml
))
952 $(eval
$(call Package
/freeswitch
/Module
,redis
,Redis limit backend
,This module provides a mechanism to use Redis
as a limit backend data
\nstore.
,))
953 $(eval
$(call Package
/freeswitch
/Module
,rss
,RSS
,Parses and reads XML based RSS feeds and reads the entries aloud via a TTS engine.
,))
954 $(eval
$(call Package
/freeswitch
/Module
,rtc
,Media streaming
,Media streaming
as used by WebRTC and mod_verto.
,))
955 $(eval
$(call Package
/freeswitch
/Module
,rtmp
,RTMP endpoint
,RTMP endpoint support. Allows FreeSWITCH to be used from RTMP clients.
,))
956 $(eval
$(call Package
/freeswitch
/Module
,say_de
,German Say
,Uses prerecorded sounds to read or say various things.
,))
957 $(eval
$(call Package
/freeswitch
/Module
,say_en
,English Say
,Uses prerecorded sounds to read or say various things.
,))
958 $(eval
$(call Package
/freeswitch
/Module
,say_es
,Spanish Say
,Uses prerecorded sounds to read or say various things.
,))
959 $(eval
$(call Package
/freeswitch
/Module
,say_es_ar
,Argentinian Spanish Say
,Uses prerecorded sounds to read or say various things.
,))
960 $(eval
$(call Package
/freeswitch
/Module
,say_fa
,Persian Say
,Uses prerecorded sounds to read or say various things.
,))
961 $(eval
$(call Package
/freeswitch
/Module
,say_fr
,French Say
,Uses prerecorded sounds to read or say various things.
,))
962 $(eval
$(call Package
/freeswitch
/Module
,say_he
,Hebrew Say
,Uses prerecorded sounds to read or say various things.
,))
963 $(eval
$(call Package
/freeswitch
/Module
,say_hr
,Croatian Say
,Uses prerecorded sounds to read or say various things.
,))
964 $(eval
$(call Package
/freeswitch
/Module
,say_hu
,Hungarian Say
,Uses prerecorded sounds to read or say various things.
,))
965 $(eval
$(call Package
/freeswitch
/Module
,say_it
,Italian Say
,Uses prerecorded sounds to read or say various things.
,))
966 $(eval
$(call Package
/freeswitch
/Module
,say_ja
,Japanese Say
,Uses prerecorded sounds to read or say various things.
,))
967 $(eval
$(call Package
/freeswitch
/Module
,say_nl
,Dutch Say
,Uses prerecorded sounds to read or say various things.
,))
968 $(eval
$(call Package
/freeswitch
/Module
,say_pl
,Polish Say
,Uses prerecorded sounds to read or say various things.
,))
969 $(eval
$(call Package
/freeswitch
/Module
,say_pt
,Portuguese Say
,Uses prerecorded sounds to read or say various things.
,))
970 $(eval
$(call Package
/freeswitch
/Module
,say_ru
,Russian Say
,Uses prerecorded sounds to read or say various things.
,))
971 $(eval
$(call Package
/freeswitch
/Module
,say_sv
,Swedish Say
,Uses prerecorded sounds to read or say various things.
,))
972 $(eval
$(call Package
/freeswitch
/Module
,say_th
,Thai Say
,Uses prerecorded sounds to read or say various things.
,))
973 $(eval
$(call Package
/freeswitch
/Module
,say_zh
,Chinese Say
,Uses prerecorded sounds to read or say various things.
,))
974 $(eval
$(call Package
/freeswitch
/Module
,shell_stream
,Shell stream
,Allows to stream audio from an arbitrary
shell command.
,))
975 $(eval
$(call Package
/freeswitch
/Module
,shout
,Shout
,Allows to stream audio from MP3s or Shoutcast streams.
,+lame-lib
+libmpg123
+libshout
))
976 $(eval
$(call Package
/freeswitch
/Module
,signalwire
,SignalWire
,SignalWire CLOUD
- FreeSWITCH connector.
,+signalwire-client-c
))
977 $(eval
$(call Package
/freeswitch
/Module
,skinny
,Skinny
,Skinny Call Control Protocol endpoint support.
,))
978 $(eval
$(call Package
/freeswitch
/Module
,sms
,SMS
,This module provides an abstract facility for interfacing with SMS
\nsystems.
,))
979 $(eval
$(call Package
/freeswitch
/Module
,snapshot
,Snapshot
,This module can record a sliding window of audio and take snapshots
\nto disk.
,))
980 $(eval
$(call Package
/freeswitch
/Module
,sndfile
,Soundfile
,Adds sound format support via libsndfile.
,+libsndfile
))
981 $(eval
$(call Package
/freeswitch
/Module
,snmp
,SNMP
,An SNMP stats reporter.
,+libnetsnmp
))
982 $(eval
$(call Package
/freeswitch
/Module
,snom
,SNOM
,This module implements features specific to SNOM phones.
,))
983 $(eval
$(call Package
/freeswitch
/Module
,sofia
,Sofia SIP
,SIP module.
,))
984 $(eval
$(call Package
/freeswitch
/Module
,sonar
,Sonar
,This module measures the latency on an audio link by sending audible
\naudio sonar pings.
,))
985 $(eval
$(call Package
/freeswitch
/Module
,spandsp
,SpanDSP
,This module implements SpanDSP fax. It includes DSP and codec
\nfunctionality.
,+libjpeg-turbo
+liblzma
+libtiff
))
986 $(eval
$(call Package
/freeswitch
/Module
,spy
,User Spy
,This module adds the ability to monitor the audio of a channel.
,))
987 $(eval
$(call Package
/freeswitch
/Module
,ssml
,SSML
,mod_ssml is a FreeSWITCH module that renders SSML into audio. This
\nmodule requires a text-to-speech module for speech synthesis.
,))
988 $(eval
$(call Package
/freeswitch
/Module
,stress
,Stress
,This module attempts to detect voice stress on an audio channel.
,))
989 $(eval
$(call Package
/freeswitch
/Module
,syslog
,Syslog logger
,Logs FreeSWITCH output to the syslog.
,))
990 $(eval
$(call Package
/freeswitch
/Module
,theora
,Theora passthrough
,Theora video codec passthrough.
,))
991 $(eval
$(call Package
/freeswitch
/Module
,tone_stream
,Tone stream
,Tone generation stream.
,))
992 $(eval
$(call Package
/freeswitch
/Module
,translate
,Number translation
,This module implements number translation.
,))
993 $(eval
$(call Package
/freeswitch
/Module
,tts_commandline
,TTS command-line
,Run a command-line and play the output file.
,))
994 $(eval
$(call Package
/freeswitch
/Module
,valet_parking
,Valet parking
,This module implements the valet call parking strategy.
,))
995 $(eval
$(call Package
/freeswitch
/Module
,verto
,Verto
,Verto signaling protocol.
,+libks
))
996 $(eval
$(call Package
/freeswitch
/Module
,video_filter
,Video
filter chromakey
,This module provides a media bug for chromakey functionality.
,))
997 $(eval
$(call Package
/freeswitch
/Module
,vmd
,Voicemail detection
,This module detects voicemail beeps.
,))
998 $(eval
$(call Package
/freeswitch
/Module
,voicemail
,Voicemail
,This module provides a voicemail system.
,))
999 $(eval
$(call Package
/freeswitch
/Module
,voicemail_ivr
,Voicemail IVR
,This module provides an extensible voicemail IVR system.
,))
1000 $(eval
$(call Package
/freeswitch
/Module
,xml_cdr
,XML CDR
,XML Call Detail Record handler.
,))
1001 $(eval
$(call Package
/freeswitch
/Module
,xml_curl
,XML cURL
,Provides an XML cURL interfaces to pull dynamic XML configuration for
\nFreeSWITCH over HTTP.
,))
1002 $(eval
$(call Package
/freeswitch
/Module
,xml_ldap
,XML LDAP
,LDAP XML gateway.
,+libopenldap
))
1003 $(eval
$(call Package
/freeswitch
/Module
,xml_rpc
,XML RPC
,Allows using the webapi to control FreeSWITCH.
,))
1004 $(eval
$(call Package
/freeswitch
/Module
,xml_scgi
,XML SCGI
,SCGI XML Gateway.
,))
1005 $(eval
$(call Package
/freeswitch
/Module
,yaml
,YAML
,YAML language module.
,+libyaml
))
1006 $(eval
$(call Package
/freeswitch
/Module
,yuv
,Raw YUV
,Raw YUV I420 video codec support.
,@FS_WITH_LIBYUV
))
1008 ################################
1009 # FreeSWITCH utilities
1011 # 1 - Package subname
1013 # 3 - Utility description
1014 # 4 - Utility dependencies
1015 # 5 - Utility is a script (y/n)
1016 ################################
1018 $(eval
$(call Package
/freeswitch
/Util
,fs_cli
,CLI
,The fs_cli program is a Command-Line Interface that allows a user to
\nconnect to a FreeSWITCH instance running on the local or a remote
\nsystem.
,,n
))
1019 $(eval
$(call Package
/freeswitch
/Util
,fs_encode
,Sound file conversion
,Format conversion of sound files so the result can be used by
\nmod_native_file.
,+freeswitch-mod-native-file
+freeswitch-mod-sndfile
+freeswitch-mod-spandsp
,n
))
1020 $(eval
$(call Package
/freeswitch
/Util
,fs_ivrd
,IVR daemon
,The FreeSWITCH IVR daemon is an abstraction layer that sits on top of
\nthe ESL. The basic idea is that the ivrd will allow the user to have
\na STDIN
/STDOUT interface for simple call control.
,,n
))
1021 $(eval
$(call Package
/freeswitch
/Util
,fs_tts
,TTS to sound file
,Use TTS to generate a sound file.
,,n
))
1022 $(eval
$(call Package
/freeswitch
/Util
,gentls_cert
,TLS certificate
,Can be used to create TLS certificates and setup CAs.
,+openssl-util
,y
))
1023 $(eval
$(call Package
/freeswitch
/Util
,tone2wav
,Sound file generation
,Generates a sound file from a teletone script. The output can be in
\nany format that is supported by libsndfile.
,+freeswitch-mod-sndfile
,n
))