2 # Copyright (C) 2017 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 # - try to use system xmlrpc-c once it compiles again :-)
12 include $(TOPDIR
)/rules.mk
15 PKG_NAME
:=$(PRG_NAME
)-stable
18 PKG_MAINTAINER
:=Sebastian Kemper
<sebastian_ml@gmx.net
>
20 PKG_SOURCE
:=$(PRG_NAME
)-$(PKG_VERSION
).
tar.xz
21 PKG_SOURCE_URL
:=https
://files.
$(PRG_NAME
).org
/releases
/$(PRG_NAME
)
22 PKG_MD5SUM
:=709b3e43362d86b9682a7db14eb344b74362493d68244dfc4e6f40218089d4e1
24 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PRG_NAME
)-$(PKG_VERSION
)
26 # configure fails without libjpeg, but it's only needed for mod_spandsp
33 # With mod_ssml and mod_rayo enabled the parallel compiles always failed
34 #PKG_BUILD_PARALLEL:=1
59 PKG_LICENSE_FILES
:=debian
/copyright
61 FS_STABLE_MOD_AVAILABLE
:= \
181 include $(INCLUDE_DIR
)/package.mk
183 $(call include_mk
, python-version.mk
)
184 PYTHON_DIR
:=$(STAGING_DIR
)/usr
185 PYTHON_INC_DIR
:=$(PYTHON_DIR
)/include/python
$(PYTHON_VERSION
)
186 PYTHON_PKG_DIR
:=/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
188 define Package
/$(PKG_NAME
)/install/bin
189 $(INSTALL_DIR
) $(1)/usr
/bin
190 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/$(2) $(1)/usr
/bin
193 define Package
/$(PKG_NAME
)/install/dir
194 if
[ -d
$(2) ]; then
$(INSTALL_DIR
) $(1); fi
195 for
dir in
$$$$(shell [ -d
$(2) ] && cd
$(2) && find
-type d
-print | sed
's|^./\?||'); \
197 $(INSTALL_DIR
) $(1)/$$$$$$$$dir; \
199 for file in
$$$$(shell [ -d
$(2) ] && cd
$(2) && find
-type f
-print | sed
's|^./||'); \
201 $(INSTALL_DATA
) $(2)/$$$$$$$$file $(1)/$$$$$$$$file; \
205 define Package
/$(PKG_NAME
)/install/lib
206 $(INSTALL_DIR
) $(1)/usr
/lib
207 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/$(2).so
* $(1)/usr
/lib
210 define Package
/$(PKG_NAME
)/install/mod
211 $(INSTALL_DIR
) $(1)/usr
/lib
/$(PRG_NAME
)/mod
212 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/$(PRG_NAME
)/mod
/mod_
$(2).so \
213 $(1)/usr
/lib
/$(PRG_NAME
)/mod
216 define Package
/$(PKG_NAME
)/config
217 source
"$(SOURCE)/Config.in"
220 define Package
/$(PKG_NAME
)/Default
224 URL
:=https
://www.
$(PRG_NAME
).org
227 define Package
/$(PKG_NAME
)
228 $(call Package
/$(PKG_NAME
)/Default
)
229 TITLE
:=Open source telephony platform
, v
$(PKG_VERSION
)
231 USERID
:=$(PRG_NAME
)=372:$(PRG_NAME
)=372
233 +FS_STABLE_WITH_FREETYPE
:libfreetype \
234 +FS_STABLE_WITH_LIBEDIT
:libedit \
235 +FS_STABLE_WITH_ODBC
:unixodbc \
236 +FS_STABLE_WITH_PGSQL
:libpq \
237 +FS_STABLE_WITH_PNG
:libpng \
249 CONFLICTS
:=$(PRG_NAME
)
252 define Package
/$(PKG_NAME
)/description
253 FreeSWITCH is a scalable open source cross-platform telephony platform
254 designed to route and interconnect popular communication protocols
255 using audio
, video
, text or any other form of media.
258 define Package
/$(PKG_NAME
)/conffiles
260 /etc
/default
/$(PRG_NAME
)
261 /etc
/init.d
/$(PRG_NAME
)
264 define Package
/$(PKG_NAME
)/install
265 $(call Package
/$(PKG_NAME
)/install/bin
,$(1),$(PRG_NAME
))
266 $(call Package
/$(PKG_NAME
)/install/lib
,$(1),lib
$(PRG_NAME
))
267 $(INSTALL_DIR
) $(1)/etc
/$(PRG_NAME
)/tls
268 $(INSTALL_DIR
) $(1)/usr
/share
/$(PRG_NAME
)/fonts
269 $(INSTALL_DIR
) $(1)/usr
/share
/$(PRG_NAME
)/grammar
270 $(INSTALL_DIR
) $(1)/usr
/share
/$(PRG_NAME
)/htdocs
271 $(INSTALL_DIR
) $(1)/usr
/share
/$(PRG_NAME
)/images
272 $(INSTALL_DIR
) $(1)/usr
/share
/$(PRG_NAME
)/scripts
273 $(INSTALL_DIR
) $(1)/usr
/share
/$(PRG_NAME
)/sounds
274 $(INSTALL_DIR
) $(1)/etc
/default
275 $(INSTALL_CONF
) .
/files
/$(PRG_NAME
).default
$(1)/etc
/default
/$(PRG_NAME
)
276 $(INSTALL_DIR
) $(1)/etc
/init.d
277 $(INSTALL_BIN
) .
/files
/$(PRG_NAME
).init
$(1)/etc
/init.d
/$(PRG_NAME
)
278 ifeq ($(CONFIG_FS_STABLE_WITH_LIBEDIT
),)
279 $(SED
) '/^ #procd_append_param command -nc -nf$$$$/s/#//' \
280 $(1)/etc
/init.d
/$(PRG_NAME
)
284 define Package
/$(PKG_NAME
)/postinst
286 if
[ -z
"$${IPKG_INSTROOT}" ]; then
287 # Prevent autostart of $(PRG_NAME)
288 touch
/etc
/$(PRG_NAME
)_disabled
291 echo
"o-------------------------------------------------------------------o"
292 echo
"| FreeSWITCH note |"
293 echo
"o-------------------------------------------------------------------o"
294 echo
"| Edit /etc/default/freeswitch to change basic init configuration. |"
295 echo
"o-------------------------------------------------------------=^_^=-o"
301 define Package
/$(PKG_NAME
)-hotplug
302 $(call Package
/$(PKG_NAME
)/Default
)
303 TITLE
:=Hotplug script
308 define Package
/$(PKG_NAME
)-hotplug
/description
309 This package includes a hotplug script for FreeSWITCH.
312 define Package
/$(PKG_NAME
)-hotplug
/install
313 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
314 $(INSTALL_BIN
) .
/files
/$(PRG_NAME
).hotplug \
315 $(1)/etc
/hotplug.d
/iface
/99-$(PRG_NAME
)
318 define Package
/$(PKG_NAME
)-hotplug
/postinst
320 if
[ -z
"$${IPKG_INSTROOT}" ]; then
322 echo
"o-------------------------------------------------------------------o"
323 echo
"| FreeSWITCH hotplug note |"
324 echo
"o-------------------------------------------------------------------o"
325 echo
"| See /etc/default/freeswitch for hotplug hints. |"
326 echo
"o-------------------------------------------------------------=^_^=-o"
332 define Package
/$(PKG_NAME
)-python-esl
333 $(call Package
/$(PKG_NAME
)/Default
)
335 DEPENDS
:=$(PKG_NAME
) +PACKAGE_
$(PKG_NAME
)-python-esl
:python-light
338 define Package
/$(PKG_NAME
)-python-esl
/description
339 This package contains the Python binding for FreeSWITCH
's Event Socket
343 define Package/$(PKG_NAME)-python-esl/install
344 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
346 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/ESL.py \
347 $(1)$(PYTHON_PKG_DIR)
349 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/_ESL.so \
350 $(1)$(PYTHON_PKG_DIR)
353 define Package/$(PKG_NAME)-timezones
354 $(call Package/$(PKG_NAME)/Default)
355 TITLE:=Timezones file
360 define Package/$(PKG_NAME)-timezones/description
361 This package includes a timezones file for FreeSWITCH.
364 define Package/$(PKG_NAME)-timezones/install
365 $(INSTALL_DIR) $(1)/usr/share/$(PRG_NAME)/tz
367 $(PKG_BUILD_DIR)/conf/vanilla/autoload_configs/timezones.conf.xml \
368 $(1)/usr/share/$(PRG_NAME)/tz
371 define Package/$(PKG_NAME)/Example
372 define Package/$(PKG_NAME)-example-$(1)
373 $(call Package/$(PKG_NAME)/Default)
374 TITLE:=Example configuration
378 define Package/$(PKG_NAME)-example-$(1)/description
379 This package does not install any configuration for FreeSWITCH into
380 /etc/freeswitch. The system administrator is completely responsible
381 for that directory. If you install one of the example configuration
382 packages, it will install the corresponding sample configuration to
383 /usr/share/freeswitch/conf where you can take a look at it.
385 define Package/$(PKG_NAME)-example-$(1)/install
386 $(call Package/$(PKG_NAME)/install/dir,$$(1)/usr/share/$(PRG_NAME)/conf/$(1),$(PKG_BUILD_DIR)/conf/$(1))
388 $$(eval $$(call BuildPackage,$(PKG_NAME)-example-$(1)))
391 define Package/$(PKG_NAME)/Language
392 define Package/$(PKG_NAME)-lang-$(1)
393 $(call Package/$(PKG_NAME)/Default)
394 TITLE:=$(2) language files
398 define Package/$(PKG_NAME)-lang-$(1)/description
399 This package includes the $(2) language files for FreeSWITCH.
401 define Package/$(PKG_NAME)-lang-$(1)/install
402 $(call Package/$(PKG_NAME)/install/dir,$$(1)/usr/share/$(PRG_NAME)/lang/$(1),$(PKG_BUILD_DIR)/conf/vanilla/lang/$(1))
404 $$(eval $$(call BuildPackage,$(PKG_NAME)-lang-$(1)))
407 define Package/$(PKG_NAME)/Module
408 define Package/$(PKG_NAME)-mod-$(1)
409 $(call Package/$(PKG_NAME)/Default)
411 DEPENDS:=$(PKG_NAME) $(patsubst +%,+PACKAGE_$(PKG_NAME)-mod-$(1):%,$(4))
413 define Package/$(PKG_NAME)-mod-$(1)/description
414 $(subst \n,$(newline),$(3))
416 define Package/$(PKG_NAME)-mod-$(1)/install
417 $(call Package/$(PKG_NAME)/install/mod,$$(1),$(1))
419 $(INSTALL_DIR) $$(1)$(PYTHON_PKG_DIR)
421 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/$(PRG_NAME).py \
422 $$(1)$(PYTHON_PKG_DIR)
425 $$(eval $$(call BuildPackage,$(PKG_NAME)-mod-$(1)))
428 define Package/$(PKG_NAME)/Util
429 define Package/$(PKG_NAME)-util-$(1)
430 $(call Package/$(PKG_NAME)/Default)
432 DEPENDS:=$(PKG_NAME) $(patsubst +%,+PACKAGE_$(PKG_NAME)-util-$(1):%,$(4))
437 define Package/$(PKG_NAME)-util-$(1)/description
438 $(subst \n,$(newline),$(3))
440 define Package/$(PKG_NAME)-util-$(1)/install
441 $(call Package/$(PKG_NAME)/install/bin,$$(1),$(1))
443 ifeq ($(1)$(CONFIG_FS_STABLE_WITH_LIBEDIT),fs_cli)
444 define Package/$(PKG_NAME)-util-$(1)/postinst
446 if [ -z "$${IPKG_INSTROOT}" ]; then
448 echo "o-------------------------------------------------------------------o"
449 echo "| fs_cli note |"
450 echo "o-------------------------------------------------------------------o"
451 echo "| Your FreeSWITCH was compiled without libedit support. Due to an |"
452 echo "| interop issue it's possible that when you try to exit fs_cli with |
"
453 echo "| Ctrl-D
, you
'll see messages flashing by and have to kill fs_cli |"
454 echo "| manually. To avoid this you can either use Ctrl-C instead (fs_cli |"
455 echo "| needs to be started with '-i
' for this to work; you could create |"
456 echo "| an appropriate alias in /etc/profile) or type /exit, /quit or |"
458 echo "o-------------------------------------------------------------=^_^=-o"
464 $$(eval $$(call BuildPackage,$(PKG_NAME)-util-$(1)))
467 # we neither need host-perl nor host-php
469 ac_cv_prog_PERL=false \
471 ac_cv_prog_PHP=false \
473 ac_cv_prog_PHP_CONFIG=false \
474 ac_cv_have_php_config=no
476 # The autoconf variables in this block are OK for both musl and glibc
478 ac_cv_file__dev_ptmx=yes \
479 ac_cv_file__dev_urandom=yes \
480 ac_cv_file_dbd_apr_dbd_mysql_c=no \
481 ac_cv_free_null=yes \
482 ac_cv_func_mmap_fixed_mapped=yes \
483 ac_cv_func_pthread_rwlock_init=yes \
484 ac_cv_func_sem_open=yes \
485 ac_cv_have_working_memmove=yes \
486 ac_cv_negative_eai=yes \
487 ac_cv_o_nonblock_inherited=no \
488 ac_cv_struct_rlimit=yes \
490 apr_cv_gai_addrconfig=yes \
491 apr_cv_mutex_recursive=yes \
492 apr_cv_process_shared_works=yes \
493 apr_cv_pthreads_lib=-lpthread \
494 apr_cv_tcp_nodelay_with_cork=yes \
495 apr_cv_type_rwlock_t=yes
497 # Regarding apr_cv_mutex_robust_shared=no see
498 # http://www.openwall.com/lists/musl/2016/11/26/1
499 # _Don't_ remove quotes below
!
500 ifeq ($(CONFIG_LIBC
),"musl")
502 apr_cv_mutex_robust_shared
=no \
503 ac_cv_strerror_r_rc_int
=yes
506 apr_cv_mutex_robust_shared
=yes
514 _python_sysroot
="$(STAGING_DIR)" \
515 _python_prefix
="/usr" \
516 _python_exec_prefix
="/usr"
519 --build
=$(GNU_HOST_NAME
) \
520 --host
=$(GNU_TARGET_NAME
) \
521 --target
=$(GNU_TARGET_NAME
) \
522 --prefix=/usr
/share
/$(PRG_NAME
) \
525 --srcdir=$(PKG_BUILD_DIR
) \
527 --disable-dependency-tracking \
529 --disable-system-xmlrpc-c \
531 --with-cachedir
=/tmp
/$(PRG_NAME
)/cache \
532 --with-certsdir
=/etc
/$(PRG_NAME
)/tls \
533 --with-dbdir
=/tmp
/$(PRG_NAME
)/db \
534 --with-fontsdir
=/usr
/share
/$(PRG_NAME
)/fonts \
535 --with-grammardir
=/usr
/share
/$(PRG_NAME
)/grammar \
536 --with-htdocsdir
=/usr
/share
/$(PRG_NAME
)/htdocs \
537 --with-imagesdir
=/usr
/share
/$(PRG_NAME
)/images \
538 --with-logfiledir
=/tmp
/$(PRG_NAME
)/log \
539 --with-modinstdir
=/usr
/lib
/$(PRG_NAME
)/mod \
540 --with-recordingsdir
=/tmp
/$(PRG_NAME
)/recordings \
541 --with-rundir
=/var
/run
/$(PRG_NAME
) \
542 --with-scriptdir
=/usr
/share
/$(PRG_NAME
)/scripts \
543 --with-soundsdir
=/usr
/share
/$(PRG_NAME
)/sounds \
544 --with-storagedir
=/tmp
/$(PRG_NAME
)/storage \
545 $(call autoconf_bool
,CONFIG_FS_STABLE_WITH_LIBEDIT
,core-libedit-support
) \
546 $(call autoconf_bool
,CONFIG_FS_STABLE_WITH_ODBC
,core-odbc-support
) \
547 $(call autoconf_bool
,CONFIG_FS_STABLE_WITH_SRTP
,srtp
) \
548 $(call autoconf_bool
,CONFIG_FS_STABLE_WITH_ZRTP
,zrtp
) \
549 $(if
$(CONFIG_FS_STABLE_WITH_DEBUG
),,--disable-debug
) \
550 $(if
$(CONFIG_FS_STABLE_WITH_FREETYPE
),,--without-freetype
) \
551 $(if
$(CONFIG_FS_STABLE_WITH_LIBYUV
),,--disable-libyuv
) \
552 $(if
$(CONFIG_FS_STABLE_WITH_ODBC
),--with-odbc-lib
="$(STAGING_DIR)/usr/lib") \
553 $(if
$(CONFIG_FS_STABLE_WITH_ODBC
),--with-odbc
="$(STAGING_DIR)/usr") \
554 $(if
$(CONFIG_FS_STABLE_WITH_PGSQL
),--enable-core-pgsql-support
,--without-pgsql
) \
555 $(if
$(CONFIG_FS_STABLE_WITH_PNG
),,--without-png
) \
556 $(if
$(CONFIG_FS_STABLE_WITH_VPX
),,--disable-libvpx
)
558 # Need to update LDFLAGS for libs/unimrcp, otherwise it will try to link to a
559 # different apr/apr-util if found.
560 # FS_ANCHOR: string in build/acmacros/apr.m4 that will be replaced
561 FS_ANCHOR
:=dnl Get build information from APR
562 FS_APR_LIBS
:=-L
$(PKG_BUILD_DIR
)/libs
/apr
-L
$(PKG_BUILD_DIR
)/libs
/apr-util
565 $(call Build
/Prepare
/Default
)
566 $(SED
) '/^#/!s/^/#/' $(PKG_BUILD_DIR
)/modules.conf
567 $(foreach m
,$(FS_STABLE_MOD_AVAILABLE
),
568 $(if
$(CONFIG_PACKAGE_
$(PKG_NAME
)-mod-
$(m
)),
569 $(SED
) '/mod_$(m)$$$$/s/^#//' $(PKG_BUILD_DIR
)/modules.conf
))
571 find
$(PKG_BUILD_DIR
)/libs
/esl
-name Makefile \
572 -exec
$(SED
) 's|swig2.0|$(STAGING_DIR_HOSTPKG)/bin/swig|' \
574 find
$(PKG_BUILD_DIR
)/src
/mod
/languages
-name Makefile.am \
575 -exec
$(SED
) 's|swig2.0|$(STAGING_DIR_HOSTPKG)/bin/swig|' \
578 $(SED
) 's|^LOCAL_CFLAGS=.*|LOCAL_CFLAGS=-I$(PYTHON_INC_DIR)|' \
579 $(PKG_BUILD_DIR
)/libs
/esl
/python
/Makefile
580 $(SED
) 's|^LOCAL_LDFLAGS=.*|LOCAL_LDFLAGS=$(TARGET_LDFLAGS) -lpython$(PYTHON_VERSION)|' \
581 $(PKG_BUILD_DIR
)/libs
/esl
/python
/Makefile
582 $(SED
) 's|^SITE_DIR=.*|SITE_DIR=$$$$(DESTDIR)$(PYTHON_PKG_DIR)|' \
583 $(PKG_BUILD_DIR
)/libs
/esl
/python
/Makefile
584 $(SED
) 's|^PYTHON_SITE_DIR=.*|PYTHON_SITE_DIR=$(PYTHON_PKG_DIR)|' \
585 $(PKG_BUILD_DIR
)/src
/mod
/languages
/mod_python
/Makefile.am
586 $(SED
) 's|@PYTHON_CFLAGS@|-I$(PYTHON_INC_DIR)|' \
587 $(PKG_BUILD_DIR
)/src
/mod
/languages
/mod_python
/Makefile.am
588 $(SED
) 's|@PYTHON_LDFLAGS@|$(TARGET_LDFLAGS) -lpython$(PYTHON_VERSION)|' \
589 $(PKG_BUILD_DIR
)/src
/mod
/languages
/mod_python
/Makefile.am
590 $(SED
) 's|$(FS_ANCHOR)|APR_SETVAR(LDFLAGS,$(FS_APR_LIBS) $(TARGET_LDFLAGS))|' \
591 $(PKG_BUILD_DIR
)/libs
/unimrcp
/build
/acmacros
/apr.m4
593 # Hack for mod_unimrcp - it has a build-time dep on mod_sofia
594 ifneq ($(CONFIG_PACKAGE_
$(PKG_NAME
)-mod-unimrcp
),)
595 ifeq ($(CONFIG_PACKAGE_
$(PKG_NAME
)-mod-sofia
),)
596 $(SED
) '/mod_sofia$$$$/s/^#//' $(PKG_BUILD_DIR
)/modules.conf
601 define Build
/Configure
602 find
$(PKG_BUILD_DIR
) -name missing
-type f
-exec
rm {} \
;
603 cd
$(PKG_BUILD_DIR
); $(AM_TOOL_PATHS
) .
/rebootstrap.sh
604 $(call Build
/Configure
/Default
)
608 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/src
/mod
/languages
/mod_lua swigclean
)
609 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/src
/mod
/languages
/mod_python swigclean
)
610 $(call Build
/Compile
/Default
)
611 $(call Build
/Compile
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl swigclean pymod
)
615 $(call Build
/Install
/Default
)
616 $(call Build
/Install
/Default
,-C
$(PKG_BUILD_DIR
)/libs
/esl pymod-install
)
619 $(eval
$(call BuildPackage
,$(PKG_NAME
)))
620 $(eval
$(call BuildPackage
,$(PKG_NAME
)-hotplug
))
621 $(eval
$(call BuildPackage
,$(PKG_NAME
)-python-esl
))
622 $(eval
$(call BuildPackage
,$(PKG_NAME
)-timezones
))
624 ################################
625 # FreeSWITCH example configs
627 # 1 - Package subname
628 ################################
630 $(eval
$(call Package
/$(PKG_NAME
)/Example
,curl
))
631 $(eval
$(call Package
/$(PKG_NAME
)/Example
,insideout
))
632 $(eval
$(call Package
/$(PKG_NAME
)/Example
,minimal
))
633 $(eval
$(call Package
/$(PKG_NAME
)/Example
,rayo
))
634 $(eval
$(call Package
/$(PKG_NAME
)/Example
,sbc
))
635 $(eval
$(call Package
/$(PKG_NAME
)/Example
,softphone
))
636 $(eval
$(call Package
/$(PKG_NAME
)/Example
,testing
))
637 $(eval
$(call Package
/$(PKG_NAME
)/Example
,vanilla
))
639 ################################
640 # FreeSWITCH language files
644 ################################
646 $(eval
$(call Package
/$(PKG_NAME
)/Language
,de
,German
))
647 $(eval
$(call Package
/$(PKG_NAME
)/Language
,en
,English
))
648 $(eval
$(call Package
/$(PKG_NAME
)/Language
,es
,Spanish
))
649 $(eval
$(call Package
/$(PKG_NAME
)/Language
,fr
,French
))
650 $(eval
$(call Package
/$(PKG_NAME
)/Language
,he
,Hebrew
))
651 $(eval
$(call Package
/$(PKG_NAME
)/Language
,pt
,Portuguese
))
652 $(eval
$(call Package
/$(PKG_NAME
)/Language
,ru
,Russian
))
653 $(eval
$(call Package
/$(PKG_NAME
)/Language
,sv
,Swedish
))
655 ################################
658 # 1 - Package subname
660 # 3 - Module description
661 # 4 - Module dependencies
662 ################################
664 $(eval
$(call Package
/$(PKG_NAME
)/Module
,abstraction
,API abstraction
,This module provides a way to create new API functions via regex
\nrewriting.
,))
665 $(eval
$(call Package
/$(PKG_NAME
)/Module
,alsa
,ALSA endpoint
,ALSA endpoint module.
,+alsa-lib
))
666 $(eval
$(call Package
/$(PKG_NAME
)/Module
,amr
,AMR passthrough
,Passthrough AMR codec support.
,))
667 $(eval
$(call Package
/$(PKG_NAME
)/Module
,amrwb
,AMR wideband passthrough
,Passthrough AMR wideband codec support.
,))
668 $(eval
$(call Package
/$(PKG_NAME
)/Module
,av
,AV
,Video codec and format support via FFmpeg.
,+libffmpeg-full @BROKEN
))
669 $(eval
$(call Package
/$(PKG_NAME
)/Module
,avmd
,Voicemail detection
,This module attempts to determine when a voicemail system has answered
\nthe call.
,))
670 $(eval
$(call Package
/$(PKG_NAME
)/Module
,basic
,BASIC
,BASIC module for FreeSWITCH.
,))
671 $(eval
$(call Package
/$(PKG_NAME
)/Module
,bert
,BERT
,Line testing tool.
,))
672 $(eval
$(call Package
/$(PKG_NAME
)/Module
,blacklist
,Blacklist helper
,This module provides tools to blacklist callers.
,))
673 $(eval
$(call Package
/$(PKG_NAME
)/Module
,callcenter
,Call center
,This module implements Automated Call Distribution queues.
,))
674 $(eval
$(call Package
/$(PKG_NAME
)/Module
,cdr_csv
,CSV CDR
,CSV Call Detail Record handler.
,))
675 $(eval
$(call Package
/$(PKG_NAME
)/Module
,cdr_mongodb
,MongoDB CDR
,MongoDB Call Detail Record handler.
,))
676 $(eval
$(call Package
/$(PKG_NAME
)/Module
,cdr_pg_csv
,PostgreSQL CDR
,PostgreSQL Call Detail Record handler.
,@FS_STABLE_WITH_PGSQL
))
677 $(eval
$(call Package
/$(PKG_NAME
)/Module
,cdr_sqlite
,SQLite CDR
,SQLite Call Detail Record handler.
,))
678 $(eval
$(call Package
/$(PKG_NAME
)/Module
,cidlookup
,Caller ID lookup
,This module provides an API for querying caller ID name and location
\ndata.
,))
679 $(eval
$(call Package
/$(PKG_NAME
)/Module
,cluechoo
,Clue Choo
,This demo module renders a Clue Choo train on the FreeSWITCH console.
,+libncurses
))
680 $(eval
$(call Package
/$(PKG_NAME
)/Module
,commands
,Commands
,This module provides miscellaneous API commands.
,))
681 $(eval
$(call Package
/$(PKG_NAME
)/Module
,conference
,Conference
,This module provides multi-party conferencing.
,))
682 $(eval
$(call Package
/$(PKG_NAME
)/Module
,console
,Console logger
,Allows control over what messages
get logged to the console. When
\nFreeSWITCH is compiled without libedit support
- this is not the
\ndefault
- mod_console has no effect because the init script starts
\nFreeSWITCH with the console disabled to work around an
\ninteroperability issue that causes high CPU load.
,))
683 $(eval
$(call Package
/$(PKG_NAME
)/Module
,curl
,cURL
,This module provides an API for making HTTP requests with cURL.
,))
684 $(eval
$(call Package
/$(PKG_NAME
)/Module
,db
,DB
,This module implements a simple db API with group support. Also can be
\nused
as a limit db backend.
,))
685 $(eval
$(call Package
/$(PKG_NAME
)/Module
,dialplan_asterisk
,Asterisk dialplan
,Asterisk extensions.conf style dialplan parser.
,))
686 $(eval
$(call Package
/$(PKG_NAME
)/Module
,dialplan_xml
,XML dialplan
,Standard FreeSWITCH XML dialplan support.
,))
687 $(eval
$(call Package
/$(PKG_NAME
)/Module
,dingaling
,Generic XMPP
,Allows FreeSWITCH to be used
as a client for XMPP Servers.
,))
688 $(eval
$(call Package
/$(PKG_NAME
)/Module
,directory
,Dial-by-name directory
,This module implements a dial-by-name directory IVR.
,))
689 $(eval
$(call Package
/$(PKG_NAME
)/Module
,distributor
,Load distributor
,This module implements a mechanism for performing load balancing.
,))
690 $(eval
$(call Package
/$(PKG_NAME
)/Module
,dptools
,Dialplan tools
,This module implements basic dialplan tools.
,))
691 $(eval
$(call Package
/$(PKG_NAME
)/Module
,easyroute
,DID routing
,This module does destination lookup based on DID.
,))
692 $(eval
$(call Package
/$(PKG_NAME
)/Module
,enum
,ENUM routing
,This module implements ENUM support.
,+libldns
))
693 $(eval
$(call Package
/$(PKG_NAME
)/Module
,erlang_event
,Erlang event
,Erlang event module.
,))
694 $(eval
$(call Package
/$(PKG_NAME
)/Module
,esf
,Multicast
,This module adds multi-cast support.
,))
695 $(eval
$(call Package
/$(PKG_NAME
)/Module
,esl
,Single ESL
,This module adds an API for generating one-off ESL requests.
,))
696 $(eval
$(call Package
/$(PKG_NAME
)/Module
,event_multicast
,Multicast Event
,Multicast Event System for FreeSWITCH.
,))
697 $(eval
$(call Package
/$(PKG_NAME
)/Module
,event_socket
,Event socket
,Sends events via a single socket. Needed for fs_cli.
,))
698 $(eval
$(call Package
/$(PKG_NAME
)/Module
,expr
,Expr
,This module adds expr support for expression evaluation.
,))
699 $(eval
$(call Package
/$(PKG_NAME
)/Module
,fifo
,FIFO
,This module adds a first-in first-out queue system.
,))
700 $(eval
$(call Package
/$(PKG_NAME
)/Module
,format_cdr
,Multiformat CDR
,A superset of mod_json_cdr and mod_xml_cdr.
,))
701 $(eval
$(call Package
/$(PKG_NAME
)/Module
,fsk
,FSK
,This module adds frequency-shift keying support which can be used to
\nsend and receive caller ID.
,))
702 $(eval
$(call Package
/$(PKG_NAME
)/Module
,fsv
,FSV
,This module provides dialplan applications for recording and playing
\nvideos.
,))
703 $(eval
$(call Package
/$(PKG_NAME
)/Module
,g723_1
,G
.723.1 passthrough
,G
.723.1 codec passthrough.
,))
704 $(eval
$(call Package
/$(PKG_NAME
)/Module
,g729
,G
.729 passthrough
,G
.729 codec passthrough.
,))
705 $(eval
$(call Package
/$(PKG_NAME
)/Module
,graylog2
,Graylog2 logger
,GELF logger for Graylog2 and Logstash.
,))
706 $(eval
$(call Package
/$(PKG_NAME
)/Module
,h26x
,H
.26x passthrough
,H
.26x video codec passthrough.
,))
707 $(eval
$(call Package
/$(PKG_NAME
)/Module
,hash
,Hash
,This module provides a key-value in-memory datastore. Usable
as a
\nlimit backend.
,))
708 $(eval
$(call Package
/$(PKG_NAME
)/Module
,hiredis
,Redis client
,This module provides a mechanism to use Redis
as a datastore.
,+libhiredis
))
709 $(eval
$(call Package
/$(PKG_NAME
)/Module
,httapi
,HT-TAPI
,This module provides an API for controlling the switch by responding
\nto HTTP requests.
,))
710 $(eval
$(call Package
/$(PKG_NAME
)/Module
,http_cache
,HTTP GET with caching
,This module provides an API for making HTTP GET requests where the
\nresult is cached.
,))
711 $(eval
$(call Package
/$(PKG_NAME
)/Module
,isac
,iSAC
,iSAC codec support.
,@arm||i386||mips||mips64||mips64el||mipsel||x86_64
))
712 $(eval
$(call Package
/$(PKG_NAME
)/Module
,json_cdr
,JSON CDR
,JSON-based Call Detail Record handler.
,))
713 $(eval
$(call Package
/$(PKG_NAME
)/Module
,kazoo
,Kazoo
,Kazoo module for FreeSWITCH.
,))
714 $(eval
$(call Package
/$(PKG_NAME
)/Module
,lcr
,LCR
,This module adds a facility for least-cost routing.
,))
715 $(eval
$(call Package
/$(PKG_NAME
)/Module
,ldap
,LDAP
,LDAP module for FreeSWITCH.
,+libopenldap
))
716 $(eval
$(call Package
/$(PKG_NAME
)/Module
,local_stream
,Local stream
,Connects multiple channels to a looped stream.
,))
717 $(eval
$(call Package
/$(PKG_NAME
)/Module
,logfile
,File logger
,Logs FreeSWITCH output to a file.
,))
718 $(eval
$(call Package
/$(PKG_NAME
)/Module
,loopback
,Loopback
,A loopback channel driver.
,))
719 $(eval
$(call Package
/$(PKG_NAME
)/Module
,lua
,Lua
,Lua language interface for FreeSWITCH.
,+liblua
))
720 $(eval
$(call Package
/$(PKG_NAME
)/Module
,mp4v
,MP4 video passthrough
,MP4 video passthrough..
,))
721 $(eval
$(call Package
/$(PKG_NAME
)/Module
,native_file
,Native file
,Plays files that are already encoded in the right format.
,))
722 $(eval
$(call Package
/$(PKG_NAME
)/Module
,nibblebill
,Nibblebill
,This module allows for real-time accounting of a cash balance and
\nusing that information for call routing.
,))
723 $(eval
$(call Package
/$(PKG_NAME
)/Module
,odbc_cdr
,ODBC CDR
,ODBC Call Detail Record handler.
,))
724 $(eval
$(call Package
/$(PKG_NAME
)/Module
,opus
,Opus
,Opus codec support.
,+libopus
))
725 $(eval
$(call Package
/$(PKG_NAME
)/Module
,oreka
,Oreka
,This module provides media recording with the Oreka cross-platform
\naudio stream recording and retrieval system.
,))
726 $(eval
$(call Package
/$(PKG_NAME
)/Module
,png
,PNG
,Allows playback of video using PNG files.
,))
727 $(eval
$(call Package
/$(PKG_NAME
)/Module
,prefix,Prefix match
,This module provides a data store with fast lookups by the longest
\nprefix match rule.
,))
728 $(eval
$(call Package
/$(PKG_NAME
)/Module
,python
,Python
,Python support module.
,+python-light
))
729 $(eval
$(call Package
/$(PKG_NAME
)/Module
,rayo
,Rayo
,Rayo
/XMPP
3PCC server for FreeSWITCH.
,+$(PKG_NAME
)-mod-ssml
))
730 $(eval
$(call Package
/$(PKG_NAME
)/Module
,redis
,Redis limit backend
,This module provides a mechanism to use Redis
as a limit backend data
\nstore.
,))
731 $(eval
$(call Package
/$(PKG_NAME
)/Module
,rss
,RSS
,Parses and reads XML based RSS feeds and reads the entries aloud via a TTS engine.
,))
732 $(eval
$(call Package
/$(PKG_NAME
)/Module
,rtc
,Media streaming
,Media streaming
as used by WebRTC and mod_verto.
,))
733 $(eval
$(call Package
/$(PKG_NAME
)/Module
,rtmp
,RTMP endpoint
,RTMP endpoint support. Allows FreeSWITCH to be used from RTMP clients.
,))
734 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_de
,German Say
,Uses prerecorded sounds to read or say various things.
,))
735 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_en
,English Say
,Uses prerecorded sounds to read or say various things.
,))
736 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_es
,Spanish Say
,Uses prerecorded sounds to read or say various things.
,))
737 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_es_ar
,Argentinian Spanish Say
,Uses prerecorded sounds to read or say various things.
,))
738 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_fa
,Persian Say
,Uses prerecorded sounds to read or say various things.
,))
739 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_fr
,French Say
,Uses prerecorded sounds to read or say various things.
,))
740 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_he
,Hebrew Say
,Uses prerecorded sounds to read or say various things.
,))
741 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_hr
,Croatian Say
,Uses prerecorded sounds to read or say various things.
,))
742 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_hu
,Hungarian Say
,Uses prerecorded sounds to read or say various things.
,))
743 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_it
,Italian Say
,Uses prerecorded sounds to read or say various things.
,))
744 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_ja
,Japanese Say
,Uses prerecorded sounds to read or say various things.
,))
745 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_nl
,Dutch Say
,Uses prerecorded sounds to read or say various things.
,))
746 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_pl
,Polish Say
,Uses prerecorded sounds to read or say various things.
,))
747 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_pt
,Portuguese Say
,Uses prerecorded sounds to read or say various things.
,))
748 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_ru
,Russian Say
,Uses prerecorded sounds to read or say various things.
,))
749 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_sv
,Swedish Say
,Uses prerecorded sounds to read or say various things.
,))
750 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_th
,Thai Say
,Uses prerecorded sounds to read or say various things.
,))
751 $(eval
$(call Package
/$(PKG_NAME
)/Module
,say_zh
,Chinese Say
,Uses prerecorded sounds to read or say various things.
,))
752 $(eval
$(call Package
/$(PKG_NAME
)/Module
,shell_stream
,Shell stream
,Allows to stream audio from an arbitrary
shell command.
,))
753 $(eval
$(call Package
/$(PKG_NAME
)/Module
,shout
,Shout
,Allows to stream audio from MP3s or Shoutcast streams.
,+lame-lib
+libmpg123
+libshout
))
754 $(eval
$(call Package
/$(PKG_NAME
)/Module
,skinny
,Skinny
,Skinny Call Control Protocol endpoint support.
,))
755 $(eval
$(call Package
/$(PKG_NAME
)/Module
,sms
,SMS
,This module provides an abstract facility for interfacing with SMS
\nsystems.
,))
756 $(eval
$(call Package
/$(PKG_NAME
)/Module
,snapshot
,Snapshot
,This module can record a sliding window of audio and take snapshots
\nto disk.
,))
757 $(eval
$(call Package
/$(PKG_NAME
)/Module
,sndfile
,Soundfile
,Adds sound format support via libsndfile.
,+libsndfile
))
758 $(eval
$(call Package
/$(PKG_NAME
)/Module
,snmp
,SNMP
,An SNMP stats reporter.
,+libnetsnmp
))
759 $(eval
$(call Package
/$(PKG_NAME
)/Module
,snom
,SNOM
,This module implements features specific to SNOM phones.
,))
760 $(eval
$(call Package
/$(PKG_NAME
)/Module
,sofia
,Sofia SIP
,SIP module.
,))
761 $(eval
$(call Package
/$(PKG_NAME
)/Module
,sonar
,Sonar
,This module measures the latency on an audio link by sending audible
\naudio sonar pings.
,))
762 $(eval
$(call Package
/$(PKG_NAME
)/Module
,spandsp
,SpanDSP
,This module implements SpanDSP fax. It includes DSP and codec
\nfunctionality.
,+libjpeg
+liblzma
))
763 $(eval
$(call Package
/$(PKG_NAME
)/Module
,spy
,User Spy
,This module adds the ability to monitor the audio of a channel.
,))
764 $(eval
$(call Package
/$(PKG_NAME
)/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.
,))
765 $(eval
$(call Package
/$(PKG_NAME
)/Module
,stress
,Stress
,This module attempts to detect voice stress on an audio channel.
,))
766 $(eval
$(call Package
/$(PKG_NAME
)/Module
,syslog
,Syslog logger
,Logs FreeSWITCH output to the syslog.
,))
767 $(eval
$(call Package
/$(PKG_NAME
)/Module
,theora
,Theora passthrough
,Theora video codec passthrough.
,))
768 $(eval
$(call Package
/$(PKG_NAME
)/Module
,tone_stream
,Tone stream
,Tone generation stream.
,))
769 $(eval
$(call Package
/$(PKG_NAME
)/Module
,translate
,Number translation
,This module implements number translation.
,))
770 $(eval
$(call Package
/$(PKG_NAME
)/Module
,tts_commandline
,TTS command-line
,Run a command-line and play the output file.
,))
771 $(eval
$(call Package
/$(PKG_NAME
)/Module
,unimrcp
,UniMRCP
,Allows communication with Media Resource Control Protocol servers.
,))
772 $(eval
$(call Package
/$(PKG_NAME
)/Module
,valet_parking
,Valet parking
,This module implements the valet call parking strategy.
,))
773 $(eval
$(call Package
/$(PKG_NAME
)/Module
,verto
,Verto
,Verto signaling protocol.
,))
774 $(eval
$(call Package
/$(PKG_NAME
)/Module
,voicemail
,Voicemail
,This module provides a voicemail system.
,))
775 $(eval
$(call Package
/$(PKG_NAME
)/Module
,voicemail_ivr
,Voicemail IVR
,This module provides an extensible voicemail IVR system.
,))
776 $(eval
$(call Package
/$(PKG_NAME
)/Module
,xml_cdr
,XML CDR
,XML Call Detail Record handler.
,))
777 $(eval
$(call Package
/$(PKG_NAME
)/Module
,xml_curl
,XML cURL
,Provides an XML cURL interfaces to pull dynamic XML configuration for
\nFreeSWITCH over HTTP.
,))
778 $(eval
$(call Package
/$(PKG_NAME
)/Module
,xml_ldap
,XML LDAP
,LDAP XML gateway.
,+libopenldap
))
779 $(eval
$(call Package
/$(PKG_NAME
)/Module
,xml_rpc
,XML RPC
,Allows using the webapi to control FreeSWITCH.
,))
780 $(eval
$(call Package
/$(PKG_NAME
)/Module
,xml_scgi
,XML SCGI
,SCGI XML Gateway.
,))
781 $(eval
$(call Package
/$(PKG_NAME
)/Module
,yaml
,YAML
,YAML language module.
,+libyaml
))
783 ################################
784 # FreeSWITCH utilities
786 # 1 - Package subname
788 # 3 - Utility description
789 # 4 - Utility dependencies
790 # 5 - Utility is a script (y/n)
791 ################################
793 $(eval
$(call Package
/$(PKG_NAME
)/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
))
794 $(eval
$(call Package
/$(PKG_NAME
)/Util
,fs_encode
,Sound file conversion
,Format conversion of sound files so the result can be used by
\nmod_native_file.
,+$(PKG_NAME
)-mod-native_file
+$(PKG_NAME
)-mod-sndfile
+$(PKG_NAME
)-mod-spandsp
,n
))
795 $(eval
$(call Package
/$(PKG_NAME
)/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
))
796 $(eval
$(call Package
/$(PKG_NAME
)/Util
,gentls_cert
,TLS certificate
,Can be used to create TLS certificates and setup CAs.
,+openssl-util
,y
))
797 $(eval
$(call Package
/$(PKG_NAME
)/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.
,+$(PKG_NAME
)-mod-sndfile
,n
))