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
:=9a08d4e184e6d715e1c12c43a0f901597151752ef236f0a37e40996272b5c38d
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
216 PKG_CONFIG_DEPENDS
:= \
217 $(patsubst %,CONFIG_PACKAGE_freeswitch-mod-
%,$(subst _
,-,$(FS_MOD_AVAILABLE
))) \
218 CONFIG_FS_WITH_DEBUG \
219 CONFIG_FS_WITH_FREETYPE \
220 CONFIG_FS_WITH_LIBYUV \
221 CONFIG_FS_WITH_ODBC \
223 CONFIG_FS_WITH_SRTP \
225 CONFIG_FS_WITH_ZRTP \
227 CONFIG_PACKAGE_libfreetdm \
228 CONFIG_PACKAGE_libfreetdm-ftmod-libpri \
229 CONFIG_PACKAGE_libfreetdm-ftmod-pritap \
230 CONFIG_PACKAGE_freeswitch-misc-perl-esl \
233 include $(INCLUDE_DIR
)/package.mk
235 include $(INCLUDE_DIR
)/nls.mk
237 FS_PERL_FEED
:=$(TOPDIR
)/feeds
/packages
/lang
/perl
239 include $(FS_PERL_FEED
)/perlver.mk
241 PERL_SITELIB
:=/usr
/lib
/perl
$(PERL_MAJOR
)/$(PERL_VERSION2
)
243 FS_PERL_LIBS
:=$(shell grep
"^libs=" \
244 $(FS_PERL_FEED
)/files
/base.config | \
245 sed
"s/^libs=//;s/'//g")
247 define Download
/files
257 $$(eval
$$(call Download
,$(1)))
260 define Package
/freeswitch
/enable
/plugin
261 $(SED
) '/$(1)$$$$/s/^#//' $(PKG_BUILD_DIR
)/modules.conf
264 define Package
/freeswitch
/install/bin
265 $(INSTALL_DIR
) $(1)$(FS_BIN_DIR
)
266 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)$(FS_BIN_DIR
)/$(2) \
270 define Package
/freeswitch
/install/dir
271 if
[ -d
$(2) ]; then
$(INSTALL_DIR
) $(1); fi
272 for
dir in
$$$$(shell [ -d
$(2) ] && cd
$(2) && $(FIND
) -type d
-print | sed
's|^./\?||'); \
274 $(INSTALL_DIR
) $(1)/$$$$$$$$dir; \
276 for file in
$$$$(shell [ -d
$(2) ] && cd
$(2) && $(FIND
) -type f
-print | sed
's|^./||'); \
278 $(INSTALL_DATA
) $(2)/$$$$$$$$file $(1)/$$$$$$$$file; \
282 define Package
/libfreetdm
/install/ftmod
283 $(INSTALL_DIR
) $(1)$(FS_MOD_DIR
)
284 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)$(FS_MOD_DIR
)/ftmod_
$(2).so \
288 define Package
/freeswitch
/install/lib
289 $(INSTALL_DIR
) $(1)$(FS_LIB_DIR
)
290 $(CP
) $(PKG_INSTALL_DIR
)$(FS_LIB_DIR
)/$(2).so.
* \
294 define Package
/freeswitch
/install/mod
295 $(INSTALL_DIR
) $(1)$(FS_MOD_DIR
)
296 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)$(FS_MOD_DIR
)/mod_
$(2).so \
300 define Package
/freeswitch
/config
301 source
"$(SOURCE)/Config.in"
304 define Package
/libfreetdm
/Default
308 URL
:=https
://www.freeswitch.org
311 define Package
/libfreetdm
312 $(call Package
/libfreetdm
/Default
)
314 TITLE
:=TDM signaling and media API
316 URL
:=https
://www.freeswitch.org
319 define Package
/libfreetdm
/description
320 Provides a unified interface to hardware TDM cards and SS7 stacks.
323 define Package
/libfreetdm
/install
324 $(call Package
/freeswitch
/install/lib
,$(1),libfreetdm
)
327 define Package
/libfreetdm
/FTModule
328 define Package
/libfreetdm-ftmod-
$(subst _
,-,$(1))
329 $(call Package
/libfreetdm
/Default
)
330 DEPENDS
:=libfreetdm \
331 $(patsubst +%,+PACKAGE_libfreetdm-ftmod-
$(subst _
,-,$(1)):%,$(4))
332 TITLE
:=$(2) FreeTDM module
334 define Package
/libfreetdm-ftmod-
$(subst _
,-,$(1))/description
335 $(subst \n,$(newline
),$(3))
337 define Package
/libfreetdm-ftmod-
$(subst _
,-,$(1))/install
338 $(call Package
/libfreetdm
/install/ftmod
,$$(1),$(1))
340 $$(eval
$$(call BuildPackage
,libfreetdm-ftmod-
$(subst _
,-,$(1))))
343 define Package
/freeswitch
/Default
347 URL
:=https
://www.freeswitch.org
350 # Note: shadow deps are a bit strange; you need to select shadow-utils
351 # package first for shadow-su to be selected, even though the
352 # shadow-utils package later becomes a no-op.
353 define Package
/freeswitch
354 $(call Package
/freeswitch
/Default
)
355 TITLE
:=Open source telephony platform
, v
$(PKG_VERSION
)
357 USERID
:=freeswitch
=372:freeswitch
=372
361 +!BUSYBOX_DEFAULT_SU
:shadow-utils \
362 +!BUSYBOX_DEFAULT_SU
:shadow-su \
363 +@OPENSSL_WITH_DEPRECATED \
364 +FS_WITH_FREETYPE
:libfreetype \
365 +FS_WITH_ODBC
:unixodbc \
366 +FS_WITH_PNG
:libpng \
382 define Package
/freeswitch
/description
383 FreeSWITCH is a scalable open source cross-platform telephony platform
384 designed to route and interconnect popular communication protocols
385 using audio
, video
, text or any other form of media.
388 define Package
/freeswitch
/conffiles
389 $(FS_SYSCONF_DIR
)/freeswitch
390 $(FS_SYSCONF_DIR
)/config
/freeswitch
391 $(FS_SYSCONF_DIR
)/init.d
/freeswitch
394 define Package
/freeswitch
/install
395 $(call Package
/freeswitch
/install/bin
,$(1),freeswitch
)
396 $(call Package
/freeswitch
/install/lib
,$(1),libfreeswitch
)
397 $(INSTALL_DIR
) $(1)$(FS_FONTS_DIR
)
398 $(INSTALL_DIR
) $(1)$(FS_GRAMMAR_DIR
)
399 $(INSTALL_DIR
) $(1)$(FS_HTDOCS_DIR
)
400 $(INSTALL_DIR
) $(1)$(FS_IMAGES_DIR
)
401 $(INSTALL_DIR
) $(1)$(FS_SCRIPTS_DIR
)
402 $(INSTALL_DIR
) $(1)$(FS_SOUNDS_DIR
)
403 $(INSTALL_DIR
) $(1)$(FS_SYSCONF_DIR
)/config
404 $(INSTALL_DIR
) $(1)$(FS_SYSCONF_DIR
)/hotplug.d
/iface
405 $(INSTALL_DIR
) $(1)$(FS_SYSCONF_DIR
)/init.d
406 $(INSTALL_DIR
) $(1)$(FS_TLS_DIR
)
407 $(INSTALL_BIN
) .
/files
/freeswitch.init \
408 $(1)$(FS_SYSCONF_DIR
)/init.d
/freeswitch
409 $(INSTALL_BIN
) .
/files
/freeswitch.hotplug \
410 $(1)$(FS_SYSCONF_DIR
)/hotplug.d
/iface
/90-freeswitch
411 $(INSTALL_CONF
) .
/files
/freeswitch.conf \
412 $(1)$(FS_SYSCONF_DIR
)/config
/freeswitch
415 define Package
/freeswitch
/postinst
417 if
[ -z
"$${IPKG_INSTROOT}" ]; then
419 echo
"o-------------------------------------------------------------------o"
420 echo
"| FreeSWITCH note |"
421 echo
"o-------------------------------------------------------------------o"
422 echo
"| Edit /etc/config/freeswitch to change basic init configuration. |"
424 echo
"| Also visit the Wiki at: |"
425 echo
"| https://openwrt.org/docs/guide-user/services/voip/freeswitch |"
426 echo
"o-------------------------------------------------------------=^_^=-o"
432 define Package
/freeswitch-misc-perl-esl
433 $(call Package
/freeswitch
/Default
)
435 DEPENDS
:=freeswitch \
436 +PACKAGE_freeswitch-misc-perl-esl
:perlbase-autoloader \
437 +PACKAGE_freeswitch-misc-perl-esl
:perlbase-data \
438 +PACKAGE_freeswitch-misc-perl-esl
:perlbase-dynaloader \
442 define Package
/freeswitch-misc-perl-esl
/description
443 This package contains the Perl binding for FreeSWITCH
's Event Socket
447 define Package/freeswitch-misc-perl-esl/install
448 $(INSTALL_DIR) $(1)$(PERL_SITELIB)/ESL
449 $(INSTALL_DIR) $(1)$(PERL_SITELIB)/auto/ESL
451 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL.so \
452 $(1)$(PERL_SITELIB)/auto/ESL
454 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL.pm \
457 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL/Dispatch.pm \
458 $(1)$(PERL_SITELIB)/ESL
460 $(PKG_INSTALL_DIR)$(PERL_SITELIB)/ESL/IVR.pm \
461 $(1)$(PERL_SITELIB)/ESL
464 define Package/freeswitch-misc-timezones
465 $(call Package/freeswitch/Default)
466 TITLE:=Timezones file
471 define Package/freeswitch-misc-timezones/description
472 This package includes a timezones file for FreeSWITCH.
475 define Package/freeswitch-misc-timezones/install
476 $(INSTALL_DIR) $(1)$(FS_TZ_DIR)
478 $(PKG_BUILD_DIR)/conf/vanilla/autoload_configs/timezones.conf.xml \
482 define Package/freeswitch/Example
483 define Package/freeswitch-example-$(subst _,-,$(1))
484 $(call Package/freeswitch/Default)
485 TITLE:=Example configuration
489 define Package/freeswitch-example-$(subst _,-,$(1))/description
490 This package does not install any configuration for FreeSWITCH into
491 /etc/freeswitch. The system administrator is completely responsible
492 for that directory. If you install one of the example configuration
493 packages, it will install the corresponding sample configuration to
494 /usr/share/freeswitch/examples where you can take a look at it.
496 define Package/freeswitch-example-$(subst _,-,$(1))/install
497 $(call Package/freeswitch/install/dir,$$(1)$(FS_EXAMPLES_DIR)/$(1),$(PKG_BUILD_DIR)/conf/$(1))
499 $$(eval $$(call BuildPackage,freeswitch-example-$(subst _,-,$(1))))
502 define Package/freeswitch/Language
503 define Package/freeswitch-lang-$(subst _,-,$(1))
504 $(call Package/freeswitch/Default)
505 TITLE:=$(2) language files
509 define Package/freeswitch-lang-$(subst _,-,$(1))/description
510 This package includes the $(2) language files for FreeSWITCH.
512 define Package/freeswitch-lang-$(subst _,-,$(1))/install
513 $(call Package/freeswitch/install/dir,$$(1)$(FS_LANG_DIR)/$(1),$(PKG_BUILD_DIR)/conf/vanilla/lang/$(1))
515 $$(eval $$(call BuildPackage,freeswitch-lang-$(subst _,-,$(1))))
518 # The next package generator is for miscellaneous files that only
519 # require being copied from PKG_INSTALL_DIR to the ipkg.
520 define Package/freeswitch/Misc
521 define Package/freeswitch-$(subst _,-,$(1))
522 $(call Package/freeswitch/Default)
529 define Package/freeswitch-$(subst _,-,$(1))/description
530 $(subst \n,$(newline),$(3))
532 define Package/freeswitch-$(subst _,-,$(1))/install
533 $(call Package/freeswitch/install/dir,$$(1)$(5),$(PKG_INSTALL_DIR)$(4))
535 $$(eval $$(call BuildPackage,freeswitch-$(subst _,-,$(1))))
538 define Package/freeswitch/Module
539 define Package/freeswitch-mod-$(subst _,-,$(1))
540 $(call Package/freeswitch/Default)
542 DEPENDS:=freeswitch $(patsubst +%,+PACKAGE_freeswitch-mod-$(subst _,-,$(1)):%,$(4))
544 define Package/freeswitch-mod-$(subst _,-,$(1))/description
545 $(subst \n,$(newline),$(3))
547 define Package/freeswitch-mod-$(subst _,-,$(1))/install
548 $(call Package/freeswitch/install/mod,$$(1),$(1))
549 ifeq ($(CONFIG_FS_WITH_MODCONF),y)
550 $(call Package/freeswitch/install/dir,$$(1)$(FS_EXAMPLES_DIR)/mod_$(1),$(PKG_BUILD_DIR)/src/mod/*/mod_$(1)/conf)
553 $(INSTALL_DIR) $$(1)$(PERL_SITELIB)/auto/freeswitch
555 $(PKG_INSTALL_DIR)/usr/perl/freeswitch.so \
556 $$(1)$(PERL_SITELIB)/auto/freeswitch
558 $(PKG_INSTALL_DIR)/usr/perl/freeswitch.pm \
562 $$(eval $$(call BuildPackage,freeswitch-mod-$(subst _,-,$(1))))
565 define Package/freeswitch/Util
566 define Package/freeswitch-util-$(subst _,-,$(1))
567 $(call Package/freeswitch/Default)
569 DEPENDS:=freeswitch $(patsubst +%,+PACKAGE_freeswitch-util-$(subst _,-,$(1)):%,$(4))
574 define Package/freeswitch-util-$(subst _,-,$(1))/description
575 $(subst \n,$(newline),$(3))
577 define Package/freeswitch-util-$(subst _,-,$(1))/install
578 $(call Package/freeswitch/install/bin,$$(1),$(1))
580 $$(eval $$(call BuildPackage,freeswitch-util-$(subst _,-,$(1))))
584 --srcdir=$(PKG_BUILD_DIR) \
585 --disable-dependency-tracking \
587 --disable-system-xmlrpc-c \
588 --enable-core-libedit-support \
590 --with-cachedir=/tmp/freeswitch/cache \
591 --with-dbdir=/tmp/freeswitch/db \
592 --with-imagesdir=$(FS_IMAGES_DIR) \
593 --with-logfiledir=/tmp/freeswitch/log \
595 --with-recordingsdir=/tmp/freeswitch/recordings \
596 --with-storagedir=/tmp/freeswitch/storage \
597 $(call autoconf_bool,CONFIG_FS_WITH_DEBUG,debug) \
598 $(call autoconf_bool,CONFIG_FS_WITH_LIBYUV,libyuv) \
599 $(call autoconf_bool,CONFIG_FS_WITH_ODBC,core-odbc-support) \
600 $(call autoconf_bool,CONFIG_FS_WITH_SRTP,srtp) \
601 $(call autoconf_bool,CONFIG_FS_WITH_VPX,libvpx) \
602 $(call autoconf_bool,CONFIG_FS_WITH_ZRTP,zrtp) \
603 $(if $(CONFIG_FS_WITH_FREETYPE),,--without-freetype) \
604 $(if $(CONFIG_FS_WITH_ODBC),--with-odbc-lib="$(STAGING_DIR)$(FS_LIB_DIR)") \
605 $(if $(CONFIG_FS_WITH_ODBC),--with-odbc="$(STAGING_DIR)/usr") \
606 $(if $(CONFIG_FS_WITH_PNG),,--without-png) \
607 $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-libpri),--with-libpri="$(STAGING_DIR)/usr",--without-libpri) \
608 $(if $(CONFIG_PACKAGE_libfreetdm-ftmod-pritap),--with-pritap,--without-pritap)
610 ifeq ($(CONFIG_PACKAGE_freeswitch-mod-erlang-event)$(CONFIG_PACKAGE_freeswitch-mod-kazoo),)
615 # FreeSWITCH dropped postgresql support from the core. postgresql
616 # support is now available via mod_pgsql. We still need to pass
617 # '--without-pgsql
', otherwise apr-util links to libpq and we still
618 # would have the core link to it.
622 # Don't want host-php
625 ac_cv_have_php_config
=no \
626 ac_cv_prog_PHP
=false \
627 ac_cv_prog_PHP_CONFIG
=false
629 # The autoconf variables in this block are OK for both musl and glibc
631 ac_cv_dev_urandom
=yes \
632 ac_cv_file__dev_ptmx
=yes \
633 ac_cv_file__dev_urandom
=yes \
634 ac_cv_file_dbd_apr_dbd_mysql_c
=no \
635 ac_cv_free_null
=yes \
636 ac_cv_func_mmap_fixed_mapped
=yes \
637 ac_cv_func_pthread_rwlock_init
=yes \
638 ac_cv_func_sem_open
=yes \
639 ac_cv_have_working_memmove
=yes \
640 ac_cv_negative_eai
=yes \
641 ac_cv_o_nonblock_inherited
=no \
642 ac_cv_struct_rlimit
=yes \
644 apr_cv_gai_addrconfig
=yes \
645 apr_cv_mutex_recursive
=yes \
646 apr_cv_process_shared_works
=yes \
647 apr_cv_pthreads_lib
=-lpthread \
648 apr_cv_tcp_nodelay_with_cork
=yes \
649 apr_cv_type_rwlock_t
=yes
655 # Regarding apr_cv_mutex_robust_shared=no see
656 # http://www.openwall.com/lists/musl/2016/11/26/1
657 ifeq ($(call qstrip
,$(CONFIG_LIBC
)),musl
)
659 apr_cv_mutex_robust_shared
=no \
660 ac_cv_strerror_r_rc_int
=yes
663 apr_cv_mutex_robust_shared
=yes
666 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-perl-esl
)$(CONFIG_PACKAGE_freeswitch-mod-perl
),)
668 PERL
="$(STAGING_DIR_HOSTPKG)/usr/bin/perl$(PERL_VERSION)" \
669 PERL_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -I$(STAGING_DIR)$(PERL_SITELIB)/CORE" \
670 PERL_INC
="-I$(STAGING_DIR)$(PERL_SITELIB)/CORE" \
671 PERL_LDFLAGS
="-Wl,-rpath,$(PERL_SITELIB)/CORE -L$(STAGING_DIR)$(PERL_SITELIB)/CORE -lperl" \
672 PERL_LIBDIR
="-L$(PERL_SITELIB)/CORE" \
673 PERL_LIBS
="$(FS_PERL_LIBS) $(EXTRA_LIBDIRS:%=-L%) $(EXTRA_LIBS:%=-l%)" \
674 PERL_SITEDIR
="$(PERL_SITELIB)"
678 ac_cv_prog_PERL
=false
681 # mod_radius_cdr runs configure in libs/freeradius-client. Let
682 # freeradius-client know /dev/urandom is available on target devices.
684 ac_cv_dev_urandom
=yes
686 # Make sphinxbase use fixed point math when soft float support is
687 # enabled on target devices.
688 ifeq ($(CONFIG_SOFT_FLOAT
),y
)
690 FS_USE_FIXED_POINT
="--enable-fixed"
694 FS_LIBS_URL
:=https
://files.freeswitch.org
/downloads
/libs
695 FS_SPHINX_URL
:=@SF
/cmusphinx
698 FS_ZEROMQ_FILE
:=zeromq-2.1
.9.
tar.gz
699 FS_ZEROMQ_HASH
:=f3542f756687e622beef3a75c8e027fe2d95d4654350cbca4c070ffc58d9ace0
700 FS_ZEROMQ_URL
:=http
://download.zeromq.org
703 FS_POCKETSPHINX_FILE
:=pocketsphinx-0.8.
tar.gz
704 FS_POCKETSPHINX_HASH
:=874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a
706 FS_SPHINXBASE_FILE
:=sphinxbase-0.8.
tar.gz
707 FS_SPHINXBASE_HASH
:=55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8
709 FS_SPHINXMODEL_FILE
:=communicator_semi_6000_20080321.
tar.gz
710 FS_SPHINXMODEL_HASH
:=dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18
713 FS_FREERADIUS_CLIENT_FILE
:=freeradius-client-1.1
.7.
tar.gz
714 FS_FREERADIUS_CLIENT_HASH
:=eada2861b8f4928e3ac6b5bbfe11e92cd6cdcacfce40cae1085e77c1b6add0e9
716 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-event-zmq
),)
717 $(eval
$(call Download
/files
,zmq
,$(FS_ZEROMQ_FILE
),$(FS_ZEROMQ_URL
),$(FS_ZEROMQ_HASH
)))
720 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-pocketsphinx
)$(CONFIG_PACKAGE_freeswitch-misc-grammar
),)
721 $(eval
$(call Download
/files
,pocketsphinx
,$(FS_POCKETSPHINX_FILE
),$(FS_SPHINX_URL
),$(FS_POCKETSPHINX_HASH
)))
722 $(eval
$(call Download
/files
,sphinxbase
,$(FS_SPHINXBASE_FILE
),$(FS_SPHINX_URL
),$(FS_SPHINXBASE_HASH
)))
723 $(eval
$(call Download
/files
,communicator
,$(FS_SPHINXMODEL_FILE
),$(FS_LIBS_URL
),$(FS_SPHINXMODEL_HASH
)))
726 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-radius-cdr
),)
727 $(eval
$(call Download
/files
,freeradius-client
,$(FS_FREERADIUS_CLIENT_FILE
),$(FS_LIBS_URL
),$(FS_FREERADIUS_CLIENT_HASH
)))
730 # Need to update LDFLAGS for libs/unimrcp, otherwise it will try to link to a
731 # different apr/apr-util if found.
732 # FS_ANCHOR: string in build/acmacros/apr.m4 that will be replaced
733 FS_ANCHOR
:=dnl Get build information from APR
734 FS_APR_LIBS
:=-L
$(PKG_BUILD_DIR
)/libs
/apr
-L
$(PKG_BUILD_DIR
)/libs
/apr-util
737 $(call Build
/Prepare
/Default
)
739 echo
'#applications/mod_random' >> $(PKG_BUILD_DIR
)/modules.conf
740 echo
'#codecs/mod_yuv' >> $(PKG_BUILD_DIR
)/modules.conf
741 echo
'#event_handlers/mod_event_test' >> $(PKG_BUILD_DIR
)/modules.conf
743 $(SED
) 's|$(FS_ANCHOR)|APR_SETVAR(LDFLAGS,[$(FS_APR_LIBS) $(TARGET_LDFLAGS)])|' \
744 $(PKG_BUILD_DIR
)/libs
/unimrcp
/build
/acmacros
/apr.m4
747 define Build
/Configure
748 $(SED
) '/^#/!s/^/#/' $(PKG_BUILD_DIR
)/modules.conf
749 $(foreach m
,$(FS_MOD_AVAILABLE
),
750 $(if
$(CONFIG_PACKAGE_freeswitch-mod-
$(subst _
,-,$(m
))),
751 $(call Package
/freeswitch
/enable
/plugin
,mod_
$(m
))))
753 # Some of the dependencies that necessitate below hacks are documented in
754 # src/mod/Makefile.am.
756 # Hack for misc-grammar - needs mod_pocketsphinx to provide grammar files
757 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-grammar
),)
758 $(call Package
/freeswitch
/enable
/plugin
,mod_pocketsphinx
)
761 # Hack for mod_gsmopen - it has a build-time dep on mod_spandsp
762 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-gsmopen
),)
763 $(call Package
/freeswitch
/enable
/plugin
,mod_spandsp
)
766 # Hack for mod_rayo - it has a build-time dep on mod_dingaling
767 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-rayo
),)
768 $(call Package
/freeswitch
/enable
/plugin
,mod_dingaling
)
771 # Hack for mod_ssml - it has a build-time dep on mod_rayo. And mod_rayo needs
773 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-ssml
),)
774 $(call Package
/freeswitch
/enable
/plugin
,mod_rayo
)
775 $(call Package
/freeswitch
/enable
/plugin
,mod_dingaling
)
778 # Hack for mod_unimrcp - it has a build-time dep on mod_sofia
779 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-unimrcp
),)
780 $(call Package
/freeswitch
/enable
/plugin
,mod_sofia
)
783 $(call Build
/Configure
/Default
)
787 # Copy some source files if certain modules are selected
788 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-event-zmq
),)
789 $(CP
) $(DL_DIR
)/$(FS_ZEROMQ_FILE
) $(PKG_BUILD_DIR
)/libs
792 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-pocketsphinx
)$(CONFIG_PACKAGE_freeswitch-misc-grammar
),)
793 $(CP
) $(DL_DIR
)/$(FS_POCKETSPHINX_FILE
) $(PKG_BUILD_DIR
)/libs
794 $(CP
) $(DL_DIR
)/$(FS_SPHINXBASE_FILE
) $(PKG_BUILD_DIR
)/libs
795 $(CP
) $(DL_DIR
)/$(FS_SPHINXMODEL_FILE
) $(PKG_BUILD_DIR
)/libs
798 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-radius-cdr
),)
799 $(CP
) $(DL_DIR
)/$(FS_FREERADIUS_CLIENT_FILE
) $(PKG_BUILD_DIR
)/libs
802 # Compile FreeTDM first
803 ifneq ($(CONFIG_PACKAGE_libfreetdm
),)
804 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/freetdm
)
806 ifneq ($(CONFIG_PACKAGE_freeswitch
),)
807 $(call Build
/Compile
/Default
)
809 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-perl-esl
),)
810 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl perlmod
)
815 # Again, FreeTDM first
816 ifneq ($(CONFIG_PACKAGE_libfreetdm
),)
817 $(call Build
/Install
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/freetdm
install)
819 ifneq ($(CONFIG_PACKAGE_freeswitch
),)
820 $(call Build
/Install
/Default
)
822 ifneq ($(CONFIG_PACKAGE_freeswitch-misc-perl-esl
),)
823 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl DESTDIR
=$(PKG_INSTALL_DIR
) perlmod-install
)
827 define Build
/InstallDev
/libfreetdm
828 $(INSTALL_DIR
) $(1)/usr
/include
830 $(PKG_INSTALL_DIR
)$(FS_PKGCONFIG_DIR
)/freetdm.
pc \
831 $(1)$(FS_PKGCONFIG_DIR
)
832 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/include/*.h
$(1)/usr
/include
835 define Build
/InstallDev
/freeswitch
836 $(INSTALL_DIR
) $(1)$(FS_INCLUDES_DIR
)
837 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)$(FS_INCLUDES_DIR
)/*.h \
838 $(1)$(FS_INCLUDES_DIR
)
840 $(PKG_INSTALL_DIR
)$(FS_PKGCONFIG_DIR
)/freeswitch.
pc \
841 $(1)$(FS_PKGCONFIG_DIR
)
844 define Build
/InstallDev
845 $(INSTALL_DIR
) $(1)$(FS_PKGCONFIG_DIR
)
846 ifneq ($(CONFIG_PACKAGE_libfreetdm
),)
847 $(call Build
/InstallDev
/libfreetdm
,$(1))
849 ifneq ($(CONFIG_PACKAGE_freeswitch
),)
850 $(call Build
/InstallDev
/freeswitch
,$(1))
854 $(eval
$(call BuildPackage
,libfreetdm
))
855 $(eval
$(call BuildPackage
,freeswitch
))
856 $(eval
$(call BuildPackage
,freeswitch-misc-perl-esl
))
857 $(eval
$(call BuildPackage
,freeswitch-misc-timezones
))
859 ################################
860 # FreeSWITCH example configs
862 # 1 - Package subname
863 ################################
865 $(eval
$(call Package
/freeswitch
/Example
,curl
))
866 $(eval
$(call Package
/freeswitch
/Example
,insideout
))
867 $(eval
$(call Package
/freeswitch
/Example
,minimal
))
868 $(eval
$(call Package
/freeswitch
/Example
,rayo
))
869 $(eval
$(call Package
/freeswitch
/Example
,sbc
))
870 $(eval
$(call Package
/freeswitch
/Example
,softphone
))
871 $(eval
$(call Package
/freeswitch
/Example
,testing
))
872 $(eval
$(call Package
/freeswitch
/Example
,vanilla
))
874 ################################
877 # 1 - Package subname
879 # 3 - Module description
880 # 4 - Module dependencies
881 ################################
883 $(eval
$(call Package
/libfreetdm
/FTModule
,analog
,Analog
,Offers generic FXO
/FXS support for any type of card supported by FreeTDM.
,))
884 $(eval
$(call Package
/libfreetdm
/FTModule
,analog_em
,Analog EM
,Offers generic E
&M signaling for any type of card supported by FreeTDM.
,))
885 $(eval
$(call Package
/libfreetdm
/FTModule
,libpri
,LibPRI
,Offers support for PRI lines using the open source libpri stack for any
\ntype of card supported by FreeTDM. Supports both PRI and BRI signalling.
,+libpri @
!aarch64
))
886 $(eval
$(call Package
/libfreetdm
/FTModule
,pritap
,PRI tapping
,This module is used to tap PRI lines.
,+libfreetdm-ftmod-libpri
))
887 $(eval
$(call Package
/libfreetdm
/FTModule
,skel
,Skeleton
,ftmod_skel is an example module.
,))
888 $(eval
$(call Package
/libfreetdm
/FTModule
,zt
,DAHDI I
/O
,This module supports the DAHDI interface. The DAHDI interface is used by
\nseveral hardware vendors.
,))
890 ################################
891 # FreeSWITCH language files
895 ################################
897 $(eval
$(call Package
/freeswitch
/Language
,de
,German
))
898 $(eval
$(call Package
/freeswitch
/Language
,en
,English
))
899 $(eval
$(call Package
/freeswitch
/Language
,es
,Spanish
))
900 $(eval
$(call Package
/freeswitch
/Language
,fr
,French
))
901 $(eval
$(call Package
/freeswitch
/Language
,he
,Hebrew
))
902 $(eval
$(call Package
/freeswitch
/Language
,pt
,Portuguese
))
903 $(eval
$(call Package
/freeswitch
/Language
,ru
,Russian
))
904 $(eval
$(call Package
/freeswitch
/Language
,sv
,Swedish
))
906 ################################
907 # FreeSWITCH misc packages
909 # 1 - Package subname
911 # 3 - Package description
912 # 4 - Source dir relative to
914 # 5 - Dest dir relative to ipkg
915 # 6 - Arch independent files
916 ################################
918 $(eval
$(call Package
/freeswitch
/Misc
,misc-fonts
,Fonts
,This package includes the fonts bundled with FreeSWITCH.
,$(FS_FONTS_DIR
),$(FS_FONTS_DIR
),y
))
919 $(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
))
920 $(eval
$(call Package
/freeswitch
/Misc
,misc-images
,Images
,This package includes the images bundled with FreeSWITCH.
,$(FS_IMAGES_DIR
),$(FS_IMAGES_DIR
),y
))
922 ################################
925 # 1 - Package subname
927 # 3 - Module description
928 # 4 - Module dependencies
929 ################################
931 $(eval
$(call Package
/freeswitch
/Module
,abstraction
,API abstraction
,This module provides a way to create new API functions via regex
\nrewriting.
,))
932 $(eval
$(call Package
/freeswitch
/Module
,alsa
,ALSA endpoint
,ALSA endpoint module.
,+alsa-lib
))
933 $(eval
$(call Package
/freeswitch
/Module
,amr
,AMR passthrough
,Passthrough AMR codec support.
,))
934 $(eval
$(call Package
/freeswitch
/Module
,amrwb
,AMR wideband passthrough
,Passthrough AMR wideband codec support.
,))
935 $(eval
$(call Package
/freeswitch
/Module
,av
,AV
,Video codec and format support via FFmpeg.
,+libffmpeg-full @x86_64
))
936 $(eval
$(call Package
/freeswitch
/Module
,avmd
,Voicemail detection
,This module attempts to determine when a voicemail system has answered
\nthe call.
,))
937 $(eval
$(call Package
/freeswitch
/Module
,b64
,Base64
,Transfers data Base64 encoded.
,))
938 $(eval
$(call Package
/freeswitch
/Module
,basic
,BASIC
,BASIC module for FreeSWITCH.
,))
939 $(eval
$(call Package
/freeswitch
/Module
,bert
,BERT
,Line testing tool.
,))
940 $(eval
$(call Package
/freeswitch
/Module
,blacklist
,Blacklist helper
,This module provides tools to blacklist callers.
,))
941 $(eval
$(call Package
/freeswitch
/Module
,callcenter
,Call center
,This module implements Automated Call Distribution queues.
,))
942 $(eval
$(call Package
/freeswitch
/Module
,cdr_csv
,CSV CDR
,CSV Call Detail Record handler.
,))
943 $(eval
$(call Package
/freeswitch
/Module
,cdr_mongodb
,MongoDB CDR
,MongoDB Call Detail Record handler.
,))
944 $(eval
$(call Package
/freeswitch
/Module
,cdr_pg_csv
,PostgreSQL CDR
,PostgreSQL Call Detail Record handler.
,+libpq
))
945 $(eval
$(call Package
/freeswitch
/Module
,cdr_sqlite
,SQLite CDR
,SQLite Call Detail Record handler.
,))
946 $(eval
$(call Package
/freeswitch
/Module
,cidlookup
,Caller ID lookup
,This module provides an API for querying caller ID name and location
\ndata.
,))
947 $(eval
$(call Package
/freeswitch
/Module
,clearmode
,Clearmode
,Clearmode codec passthrough support.
,))
948 $(eval
$(call Package
/freeswitch
/Module
,cluechoo
,Clue Choo
,This demo module renders a Clue Choo train on the FreeSWITCH console.
,+libncurses
))
949 $(eval
$(call Package
/freeswitch
/Module
,commands
,Commands
,This module provides miscellaneous API commands.
,))
950 $(eval
$(call Package
/freeswitch
/Module
,conference
,Conference
,This module provides multi-party conferencing.
,))
951 $(eval
$(call Package
/freeswitch
/Module
,console
,Console logger
,Allows control over what messages
get logged to the console.
,))
952 $(eval
$(call Package
/freeswitch
/Module
,curl
,cURL
,This module provides an API for making HTTP requests with cURL.
,))
953 $(eval
$(call Package
/freeswitch
/Module
,dahdi_codec
,DAHDI codec
,DAHDI codec module.
,))
954 $(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.
,))
955 $(eval
$(call Package
/freeswitch
/Module
,dialplan_asterisk
,Asterisk dialplan
,Asterisk extensions.conf style dialplan parser.
,))
956 $(eval
$(call Package
/freeswitch
/Module
,dialplan_directory
,Directory dialplan
,Directory dialplan support.
,))
957 $(eval
$(call Package
/freeswitch
/Module
,dialplan_xml
,XML dialplan
,Standard FreeSWITCH XML dialplan support.
,))
958 $(eval
$(call Package
/freeswitch
/Module
,dingaling
,Generic XMPP
,Allows FreeSWITCH to be used
as a client for XMPP Servers.
,))
959 $(eval
$(call Package
/freeswitch
/Module
,directory
,Dial-by-name directory
,This module implements a dial-by-name directory IVR.
,))
960 $(eval
$(call Package
/freeswitch
/Module
,distributor
,Load distributor
,This module implements a mechanism for performing load balancing.
,))
961 $(eval
$(call Package
/freeswitch
/Module
,dptools
,Dialplan tools
,This module implements basic dialplan tools.
,))
962 $(eval
$(call Package
/freeswitch
/Module
,easyroute
,DID routing
,This module does destination lookup based on DID.
,))
963 $(eval
$(call Package
/freeswitch
/Module
,enum
,ENUM routing
,This module implements ENUM support.
,+libldns
))
964 $(eval
$(call Package
/freeswitch
/Module
,erlang_event
,Erlang event
,Erlang event module.
,+erlang
))
965 $(eval
$(call Package
/freeswitch
/Module
,esf
,Multicast
,This module adds multi-cast support.
,))
966 $(eval
$(call Package
/freeswitch
/Module
,esl
,Single ESL
,This module adds an API for generating one-off ESL requests.
,))
967 $(eval
$(call Package
/freeswitch
/Module
,event_multicast
,Multicast Event
,Multicast Event System for FreeSWITCH.
,))
968 $(eval
$(call Package
/freeswitch
/Module
,event_socket
,Event socket
,Sends events via a single socket. Needed for fs_cli.
,))
969 $(eval
$(call Package
/freeswitch
/Module
,event_test
,Event
test,Event demo module.
,))
970 $(eval
$(call Package
/freeswitch
/Module
,event_zmq
,ZMQ event
,ZMQ event module.
,))
971 $(eval
$(call Package
/freeswitch
/Module
,expr
,Expr
,This module adds expr support for expression evaluation.
,))
972 $(eval
$(call Package
/freeswitch
/Module
,fail2ban
,Fail2ban logging
,Provides support for Fail2ban logging.
,))
973 $(eval
$(call Package
/freeswitch
/Module
,fifo
,FIFO
,This module adds a first-in first-out queue system.
,))
974 $(eval
$(call Package
/freeswitch
/Module
,format_cdr
,Multiformat CDR
,A superset of mod_json_cdr and mod_xml_cdr.
,))
975 $(eval
$(call Package
/freeswitch
/Module
,freetdm
,FreeTDM endpoint
,This module is the glue between FreeSWITCH and FreeTDM.
,+libfreetdm
))
976 $(eval
$(call Package
/freeswitch
/Module
,fsk
,FSK
,This module adds frequency-shift keying support which can be used to
\nsend and receive caller ID.
,))
977 $(eval
$(call Package
/freeswitch
/Module
,fsv
,FSV
,This module provides dialplan applications for recording and playing
\nvideos.
,))
978 $(eval
$(call Package
/freeswitch
/Module
,g723_1
,G
.723.1 passthrough
,G
.723.1 codec passthrough.
,))
979 $(eval
$(call Package
/freeswitch
/Module
,g729
,G
.729 passthrough
,G
.729 codec passthrough.
,))
980 $(eval
$(call Package
/freeswitch
/Module
,graylog2
,Graylog2 logger
,GELF logger for Graylog2 and Logstash.
,))
981 $(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
))
982 $(eval
$(call Package
/freeswitch
/Module
,h26x
,H
.26x passthrough
,H
.26x video codec passthrough.
,))
983 $(eval
$(call Package
/freeswitch
/Module
,hash
,Hash
,This module provides a key-value in-memory datastore. Usable
as a
\nlimit backend.
,))
984 $(eval
$(call Package
/freeswitch
/Module
,hiredis
,Redis client
,This module provides a mechanism to use Redis
as a datastore.
,+libhiredis
))
985 $(eval
$(call Package
/freeswitch
/Module
,httapi
,HT-TAPI
,This module provides an API for controlling the switch by responding
\nto HTTP requests.
,))
986 $(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.
,))
987 $(eval
$(call Package
/freeswitch
/Module
,isac
,iSAC
,iSAC codec support.
,@arm||i386||mips||mips64||mips64el||mipsel||x86_64
))
988 $(eval
$(call Package
/freeswitch
/Module
,json_cdr
,JSON CDR
,JSON-based Call Detail Record handler.
,))
989 $(eval
$(call Package
/freeswitch
/Module
,kazoo
,Kazoo
,Kazoo module for FreeSWITCH.
,+erlang
))
990 $(eval
$(call Package
/freeswitch
/Module
,lcr
,LCR
,This module adds a facility for least-cost routing.
,))
991 $(eval
$(call Package
/freeswitch
/Module
,ldap
,LDAP
,LDAP module for FreeSWITCH.
,+libopenldap
))
992 $(eval
$(call Package
/freeswitch
/Module
,local_stream
,Local stream
,Connects multiple channels to a looped stream.
,))
993 $(eval
$(call Package
/freeswitch
/Module
,logfile
,File logger
,Logs FreeSWITCH output to a file.
,))
994 $(eval
$(call Package
/freeswitch
/Module
,loopback
,Loopback
,A loopback channel driver.
,))
995 $(eval
$(call Package
/freeswitch
/Module
,lua
,Lua
,Lua language interface for FreeSWITCH.
,+liblua
))
996 $(eval
$(call Package
/freeswitch
/Module
,mariadb
,MariaDB
,Adds MariaDB support.
,+libmariadb
))
997 $(eval
$(call Package
/freeswitch
/Module
,mp4v
,MP4 video passthrough
,MP4 video passthrough.
,))
998 $(eval
$(call Package
/freeswitch
/Module
,native_file
,Native file
,Plays files that are already encoded in the right format.
,))
999 $(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.
,))
1000 $(eval
$(call Package
/freeswitch
/Module
,odbc_cdr
,ODBC CDR
,ODBC Call Detail Record handler.
,))
1001 $(eval
$(call Package
/freeswitch
/Module
,opus
,Opus
,Opus codec support.
,+libopus
))
1002 $(eval
$(call Package
/freeswitch
/Module
,opusfile
,Opus file
,Read and Write OGG
/Opus files.
,+libopusenc
+libopusfile
))
1003 $(eval
$(call Package
/freeswitch
/Module
,oreka
,Oreka
,This module provides media recording with the Oreka cross-platform
\naudio stream recording and retrieval system.
,))
1004 $(eval
$(call Package
/freeswitch
/Module
,perl
,Perl
,This package contains mod_perl for FreeSWITCH.
,+libdb47
+libgdbm
+perlbase-essential @PERL_THREADS
))
1005 $(eval
$(call Package
/freeswitch
/Module
,pgsql
,PostgreSQL
,Adds PostgreSQL support.
,+libpq
))
1006 $(eval
$(call Package
/freeswitch
/Module
,png
,PNG
,Allows playback of video using PNG files.
,@FS_WITH_PNG
))
1007 $(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
1008 $(eval
$(call Package
/freeswitch
/Module
,portaudio
,Portaudio
,Voice through a local soundcard.
,+portaudio
))
1009 $(eval
$(call Package
/freeswitch
/Module
,portaudio_stream
,Portaudio streaming
,Stream from an external audio source for Music on Hold.
,+portaudio
))
1010 $(eval
$(call Package
/freeswitch
/Module
,posix_timer
,POSIX timer
,Add POSIX timer support.
,))
1011 $(eval
$(call Package
/freeswitch
/Module
,prefix,Prefix match
,This module provides a data store with fast lookups by the longest
\nprefix match rule.
,))
1012 $(eval
$(call Package
/freeswitch
/Module
,radius_cdr
,Radius CDR
,Radius Call Detail Record handler.
,))
1013 $(eval
$(call Package
/freeswitch
/Module
,random
,Entropy
,This module extracts entropy from FreeSWITCH and feeds it into
\n/dev
/random.
,))
1014 $(eval
$(call Package
/freeswitch
/Module
,raven
,Raven logging
,Adds support for logging to Raven instances.
,))
1015 $(eval
$(call Package
/freeswitch
/Module
,rayo
,Rayo
,Rayo
/XMPP
3PCC server for FreeSWITCH.
,+freeswitch-mod-ssml
))
1016 $(eval
$(call Package
/freeswitch
/Module
,redis
,Redis limit backend
,This module provides a mechanism to use Redis
as a limit backend data
\nstore.
,))
1017 $(eval
$(call Package
/freeswitch
/Module
,rss
,RSS
,Parses and reads XML based RSS feeds and reads the entries aloud via a TTS engine.
,))
1018 $(eval
$(call Package
/freeswitch
/Module
,rtc
,Media streaming
,Media streaming
as used by WebRTC and mod_verto.
,))
1019 $(eval
$(call Package
/freeswitch
/Module
,rtmp
,RTMP endpoint
,RTMP endpoint support. Allows FreeSWITCH to be used from RTMP clients.
,))
1020 $(eval
$(call Package
/freeswitch
/Module
,say_de
,German Say
,Uses prerecorded sounds to read or say various things.
,))
1021 $(eval
$(call Package
/freeswitch
/Module
,say_en
,English Say
,Uses prerecorded sounds to read or say various things.
,))
1022 $(eval
$(call Package
/freeswitch
/Module
,say_es
,Spanish Say
,Uses prerecorded sounds to read or say various things.
,))
1023 $(eval
$(call Package
/freeswitch
/Module
,say_es_ar
,Argentinian Spanish Say
,Uses prerecorded sounds to read or say various things.
,))
1024 $(eval
$(call Package
/freeswitch
/Module
,say_fa
,Persian Say
,Uses prerecorded sounds to read or say various things.
,))
1025 $(eval
$(call Package
/freeswitch
/Module
,say_fr
,French Say
,Uses prerecorded sounds to read or say various things.
,))
1026 $(eval
$(call Package
/freeswitch
/Module
,say_he
,Hebrew Say
,Uses prerecorded sounds to read or say various things.
,))
1027 $(eval
$(call Package
/freeswitch
/Module
,say_hr
,Croatian Say
,Uses prerecorded sounds to read or say various things.
,))
1028 $(eval
$(call Package
/freeswitch
/Module
,say_hu
,Hungarian Say
,Uses prerecorded sounds to read or say various things.
,))
1029 $(eval
$(call Package
/freeswitch
/Module
,say_it
,Italian Say
,Uses prerecorded sounds to read or say various things.
,))
1030 $(eval
$(call Package
/freeswitch
/Module
,say_ja
,Japanese Say
,Uses prerecorded sounds to read or say various things.
,))
1031 $(eval
$(call Package
/freeswitch
/Module
,say_nl
,Dutch Say
,Uses prerecorded sounds to read or say various things.
,))
1032 $(eval
$(call Package
/freeswitch
/Module
,say_pl
,Polish Say
,Uses prerecorded sounds to read or say various things.
,))
1033 $(eval
$(call Package
/freeswitch
/Module
,say_pt
,Portuguese Say
,Uses prerecorded sounds to read or say various things.
,))
1034 $(eval
$(call Package
/freeswitch
/Module
,say_ru
,Russian Say
,Uses prerecorded sounds to read or say various things.
,))
1035 $(eval
$(call Package
/freeswitch
/Module
,say_sv
,Swedish Say
,Uses prerecorded sounds to read or say various things.
,))
1036 $(eval
$(call Package
/freeswitch
/Module
,say_th
,Thai Say
,Uses prerecorded sounds to read or say various things.
,))
1037 $(eval
$(call Package
/freeswitch
/Module
,say_zh
,Chinese Say
,Uses prerecorded sounds to read or say various things.
,))
1038 $(eval
$(call Package
/freeswitch
/Module
,shell_stream
,Shell stream
,Allows to stream audio from an arbitrary
shell command.
,))
1039 $(eval
$(call Package
/freeswitch
/Module
,shout
,Shout
,Allows to stream audio from MP3s or Shoutcast streams.
,+lame-lib
+libmpg123
+libshout
))
1040 $(eval
$(call Package
/freeswitch
/Module
,signalwire
,SignalWire
,SignalWire CLOUD
- FreeSWITCH connector.
,+signalwire-client-c
))
1041 $(eval
$(call Package
/freeswitch
/Module
,skinny
,Skinny
,Skinny Call Control Protocol endpoint support.
,))
1042 $(eval
$(call Package
/freeswitch
/Module
,sms
,SMS
,This module provides an abstract facility for interfacing with SMS
\nsystems.
,))
1043 $(eval
$(call Package
/freeswitch
/Module
,snapshot
,Snapshot
,This module can record a sliding window of audio and take snapshots
\nto disk.
,))
1044 $(eval
$(call Package
/freeswitch
/Module
,sndfile
,Soundfile
,Adds sound format support via libsndfile.
,+libsndfile
))
1045 $(eval
$(call Package
/freeswitch
/Module
,snmp
,SNMP
,An SNMP stats reporter.
,+libnetsnmp
))
1046 $(eval
$(call Package
/freeswitch
/Module
,snom
,SNOM
,This module implements features specific to SNOM phones.
,))
1047 $(eval
$(call Package
/freeswitch
/Module
,sofia
,Sofia SIP
,SIP module.
,))
1048 $(eval
$(call Package
/freeswitch
/Module
,sonar
,Sonar
,This module measures the latency on an audio link by sending audible
\naudio sonar pings.
,))
1049 $(eval
$(call Package
/freeswitch
/Module
,spandsp
,SpanDSP
,This module implements SpanDSP fax. It includes DSP and codec
\nfunctionality.
,+libjpeg-turbo
+liblzma
+libtiff
))
1050 $(eval
$(call Package
/freeswitch
/Module
,spy
,User Spy
,This module adds the ability to monitor the audio of a channel.
,))
1051 $(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.
,))
1052 $(eval
$(call Package
/freeswitch
/Module
,stress
,Stress
,This module attempts to detect voice stress on an audio channel.
,))
1053 $(eval
$(call Package
/freeswitch
/Module
,syslog
,Syslog logger
,Logs FreeSWITCH output to the syslog.
,))
1054 $(eval
$(call Package
/freeswitch
/Module
,theora
,Theora passthrough
,Theora video codec passthrough.
,))
1055 $(eval
$(call Package
/freeswitch
/Module
,tone_stream
,Tone stream
,Tone generation stream.
,))
1056 $(eval
$(call Package
/freeswitch
/Module
,translate
,Number translation
,This module implements number translation.
,))
1057 $(eval
$(call Package
/freeswitch
/Module
,tts_commandline
,TTS command-line
,Run a command-line and play the output file.
,))
1058 $(eval
$(call Package
/freeswitch
/Module
,unimrcp
,UniMRCP
,Allows communication with Media Resource Control Protocol servers.
,))
1059 $(eval
$(call Package
/freeswitch
/Module
,valet_parking
,Valet parking
,This module implements the valet call parking strategy.
,))
1060 $(eval
$(call Package
/freeswitch
/Module
,verto
,Verto
,Verto signaling protocol.
,))
1061 $(eval
$(call Package
/freeswitch
/Module
,video_filter
,Video
filter chromakey
,This module provides a media bug for chromakey functionality.
,))
1062 $(eval
$(call Package
/freeswitch
/Module
,vmd
,Voicemail detection
,This module detects voicemail beeps.
,))
1063 $(eval
$(call Package
/freeswitch
/Module
,voicemail
,Voicemail
,This module provides a voicemail system.
,))
1064 $(eval
$(call Package
/freeswitch
/Module
,voicemail_ivr
,Voicemail IVR
,This module provides an extensible voicemail IVR system.
,))
1065 $(eval
$(call Package
/freeswitch
/Module
,xml_cdr
,XML CDR
,XML Call Detail Record handler.
,))
1066 $(eval
$(call Package
/freeswitch
/Module
,xml_curl
,XML cURL
,Provides an XML cURL interfaces to pull dynamic XML configuration for
\nFreeSWITCH over HTTP.
,))
1067 $(eval
$(call Package
/freeswitch
/Module
,xml_ldap
,XML LDAP
,LDAP XML gateway.
,+libopenldap
))
1068 $(eval
$(call Package
/freeswitch
/Module
,xml_rpc
,XML RPC
,Allows using the webapi to control FreeSWITCH.
,))
1069 $(eval
$(call Package
/freeswitch
/Module
,xml_scgi
,XML SCGI
,SCGI XML Gateway.
,))
1070 $(eval
$(call Package
/freeswitch
/Module
,yaml
,YAML
,YAML language module.
,+libyaml
))
1071 $(eval
$(call Package
/freeswitch
/Module
,yuv
,Raw YUV
,Raw YUV I420 video codec support.
,@FS_WITH_LIBYUV
))
1073 ################################
1074 # FreeSWITCH utilities
1076 # 1 - Package subname
1078 # 3 - Utility description
1079 # 4 - Utility dependencies
1080 # 5 - Utility is a script (y/n)
1081 ################################
1083 $(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
))
1084 $(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
))
1085 $(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
))
1086 $(eval
$(call Package
/freeswitch
/Util
,fs_tts
,TTS to sound file
,Use TTS to generate a sound file.
,,n
))
1087 $(eval
$(call Package
/freeswitch
/Util
,gentls_cert
,TLS certificate
,Can be used to create TLS certificates and setup CAs.
,+openssl-util
,y
))
1088 $(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
))