freeswitch-stable: move examples location
[feed/telephony.git] / net / freeswitch-stable / Makefile
1 #
2 # Copyright (C) 2017 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 # TODO
9 #
10 # - try to use system xmlrpc-c once it compiles again :-)
11
12 include $(TOPDIR)/rules.mk
13
14 PRG_NAME:=freeswitch
15 PKG_NAME:=$(PRG_NAME)-stable
16 PKG_VERSION:=1.6.17
17 PKG_RELEASE:=1
18 PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
19
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
23
24 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PRG_NAME)-$(PKG_VERSION)
25
26 # configure fails without libjpeg, but it's only needed for mod_spandsp
27 PKG_BUILD_DEPENDS:= \
28 erlang \
29 libjpeg \
30 python \
31 swig/host
32
33 # With mod_ssml and mod_rayo enabled the parallel compiles always failed
34 #PKG_BUILD_PARALLEL:=1
35 PKG_INSTALL:=1
36
37 PKG_LICENSE:= \
38 AGPL-3.0 \
39 Apache-2.0 \
40 BSD-2-Clause \
41 BSD-3-Clause \
42 BSD-4-Clause \
43 BSD-like \
44 Beerware \
45 GPL-1.0+ \
46 GPL-2.0 \
47 GPL-2.0+ \
48 GPL-3.0 \
49 ISC \
50 LGPL-2.0+ \
51 LGPL-2.1 \
52 LGPL-2.1+ \
53 MIT/X11 (BSD like) \
54 MPL-1.1 \
55 OpenLDAP \
56 RSA-MD \
57 zlib-acknowledgement
58
59 PKG_LICENSE_FILES:=debian/copyright
60
61 FS_STABLE_MOD_AVAILABLE:= \
62 abstraction \
63 alsa \
64 amr \
65 amrwb \
66 av \
67 avmd \
68 basic \
69 bert \
70 blacklist \
71 callcenter \
72 cdr_csv \
73 cdr_mongodb \
74 cdr_pg_csv \
75 cdr_sqlite \
76 cidlookup \
77 cluechoo \
78 commands \
79 conference \
80 console \
81 curl \
82 db \
83 dialplan_asterisk \
84 dialplan_xml \
85 dingaling \
86 directory \
87 distributor \
88 dptools \
89 easyroute \
90 enum \
91 erlang_event \
92 esf \
93 esl \
94 event_multicast \
95 event_socket \
96 expr \
97 fifo \
98 format_cdr \
99 fsk \
100 fsv \
101 g723_1 \
102 g729 \
103 graylog2 \
104 h26x \
105 hash \
106 hiredis \
107 httapi \
108 http_cache \
109 isac \
110 json_cdr \
111 kazoo \
112 lcr \
113 ldap \
114 local_stream \
115 logfile \
116 loopback \
117 lua \
118 mp4v \
119 native_file \
120 nibblebill \
121 odbc_cdr \
122 opus \
123 oreka \
124 png \
125 prefix \
126 python \
127 rayo \
128 redis \
129 rss \
130 rtc \
131 rtmp \
132 say_de \
133 say_en \
134 say_es \
135 say_es_ar \
136 say_fa \
137 say_fr \
138 say_he \
139 say_hr \
140 say_hu \
141 say_it \
142 say_ja \
143 say_nl \
144 say_pl \
145 say_pt \
146 say_ru \
147 say_sv \
148 say_th \
149 say_zh \
150 shell_stream \
151 shout \
152 skinny \
153 sms \
154 snapshot \
155 sndfile \
156 snmp \
157 snom \
158 sofia \
159 sonar \
160 spandsp \
161 spy \
162 ssml \
163 stress \
164 syslog \
165 theora \
166 tone_stream \
167 translate \
168 tts_commandline \
169 unimrcp \
170 valet_parking \
171 verto \
172 voicemail \
173 voicemail_ivr \
174 xml_cdr \
175 xml_curl \
176 xml_ldap \
177 xml_rpc \
178 xml_scgi \
179 yaml
180
181 include $(INCLUDE_DIR)/package.mk
182
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
187
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
191 endef
192
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|^./\?||'); \
196 do \
197 $(INSTALL_DIR) $(1)/$$$$$$$$dir; \
198 done
199 for file in $$$$(shell [ -d $(2) ] && cd $(2) && find -type f -print | sed 's|^./||'); \
200 do \
201 $(INSTALL_DATA) $(2)/$$$$$$$$file $(1)/$$$$$$$$file; \
202 done
203 endef
204
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
208 endef
209
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
214 endef
215
216 define Package/$(PKG_NAME)/config
217 source "$(SOURCE)/Config.in"
218 endef
219
220 define Package/$(PKG_NAME)/Default
221 SUBMENU:=Telephony
222 SECTION:=net
223 CATEGORY:=Network
224 URL:=https://www.$(PRG_NAME).org
225 endef
226
227 define Package/$(PKG_NAME)
228 $(call Package/$(PKG_NAME)/Default)
229 TITLE:=Open source telephony platform, v$(PKG_VERSION)
230 MENU:=1
231 USERID:=$(PRG_NAME)=372:$(PRG_NAME)=372
232 DEPENDS:= \
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 \
238 +libcurl \
239 +libopenssl \
240 +libpcre \
241 +libpthread \
242 +librt \
243 +libspeex \
244 +libspeexdsp \
245 +libstdcpp \
246 +libsqlite3 \
247 +libuuid \
248 +zlib
249 CONFLICTS:=$(PRG_NAME)
250 endef
251
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.
256 endef
257
258 define Package/$(PKG_NAME)/conffiles
259 /etc/$(PRG_NAME)
260 /etc/default/$(PRG_NAME)
261 /etc/init.d/$(PRG_NAME)
262 endef
263
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)
281 endif
282 endef
283
284 define Package/$(PKG_NAME)/postinst
285 #!/bin/sh
286 if [ -z "$${IPKG_INSTROOT}" ]; then
287 # Prevent autostart of $(PRG_NAME)
288 touch /etc/$(PRG_NAME)_disabled
289
290 echo
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"
296 echo
297 fi
298 exit 0
299 endef
300
301 define Package/$(PKG_NAME)-hotplug
302 $(call Package/$(PKG_NAME)/Default)
303 TITLE:=Hotplug script
304 DEPENDS:=$(PKG_NAME)
305 PKGARCH:=all
306 endef
307
308 define Package/$(PKG_NAME)-hotplug/description
309 This package includes a hotplug script for FreeSWITCH.
310 endef
311
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)
316 endef
317
318 define Package/$(PKG_NAME)-hotplug/postinst
319 #!/bin/sh
320 if [ -z "$${IPKG_INSTROOT}" ]; then
321 echo
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"
327 echo
328 fi
329 exit 0
330 endef
331
332 define Package/$(PKG_NAME)-python-esl
333 $(call Package/$(PKG_NAME)/Default)
334 TITLE:=Python ESL
335 DEPENDS:=$(PKG_NAME) +PACKAGE_$(PKG_NAME)-python-esl:python-light
336 endef
337
338 define Package/$(PKG_NAME)-python-esl/description
339 This package contains the Python binding for FreeSWITCH's Event Socket
340 Library (ESL).
341 endef
342
343 define Package/$(PKG_NAME)-python-esl/install
344 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
345 $(INSTALL_DATA) \
346 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/ESL.py \
347 $(1)$(PYTHON_PKG_DIR)
348 $(INSTALL_BIN) \
349 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/_ESL.so \
350 $(1)$(PYTHON_PKG_DIR)
351 endef
352
353 define Package/$(PKG_NAME)-timezones
354 $(call Package/$(PKG_NAME)/Default)
355 TITLE:=Timezones file
356 DEPENDS:=$(PKG_NAME)
357 PKGARCH:=all
358 endef
359
360 define Package/$(PKG_NAME)-timezones/description
361 This package includes a timezones file for FreeSWITCH.
362 endef
363
364 define Package/$(PKG_NAME)-timezones/install
365 $(INSTALL_DIR) $(1)/usr/share/$(PRG_NAME)/tz
366 $(INSTALL_DATA) \
367 $(PKG_BUILD_DIR)/conf/vanilla/autoload_configs/timezones.conf.xml \
368 $(1)/usr/share/$(PRG_NAME)/tz
369 endef
370
371 define Package/$(PKG_NAME)/Example
372 define Package/$(PKG_NAME)-example-$(1)
373 $(call Package/$(PKG_NAME)/Default)
374 TITLE:=Example configuration
375 DEPENDS:=$(PKG_NAME)
376 PKGARCH:=all
377 endef
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/examples where you can take a look at it.
384 endef
385 define Package/$(PKG_NAME)-example-$(1)/install
386 $(call Package/$(PKG_NAME)/install/dir,$$(1)/usr/share/$(PRG_NAME)/examples/$(1),$(PKG_BUILD_DIR)/conf/$(1))
387 endef
388 $$(eval $$(call BuildPackage,$(PKG_NAME)-example-$(1)))
389 endef
390
391 define Package/$(PKG_NAME)/Language
392 define Package/$(PKG_NAME)-lang-$(1)
393 $(call Package/$(PKG_NAME)/Default)
394 TITLE:=$(2) language files
395 DEPENDS:=$(PKG_NAME)
396 PKGARCH:=all
397 endef
398 define Package/$(PKG_NAME)-lang-$(1)/description
399 This package includes the $(2) language files for FreeSWITCH.
400 endef
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))
403 endef
404 $$(eval $$(call BuildPackage,$(PKG_NAME)-lang-$(1)))
405 endef
406
407 # The next package generator is for miscellaneous files that only
408 # require being copied from PKG_INSTALL_DIR to the ipkg.
409 define Package/$(PKG_NAME)/Misc
410 define Package/$(PKG_NAME)-misc-$(1)
411 $(call Package/$(PKG_NAME)/Default)
412 TITLE:=$(2)
413 DEPENDS:=$(PKG_NAME)
414 endef
415 define Package/$(PKG_NAME)-misc-$(1)/description
416 $(subst \n,$(newline),$(3))
417 endef
418 define Package/$(PKG_NAME)-misc-$(1)/install
419 $(call Package/$(PKG_NAME)/install/dir,$$(1)$(5),$(PKG_INSTALL_DIR)$(4))
420 ifeq ($(1),dev)
421 $(INSTALL_DIR) $$(1)/usr/lib/pkgconfig
422 $(INSTALL_DATA) \
423 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freeswitch.pc \
424 $$(1)/usr/lib/pkgconfig
425 endif
426 endef
427 $$(eval $$(call BuildPackage,$(PKG_NAME)-misc-$(1)))
428 endef
429
430 define Package/$(PKG_NAME)/Module
431 define Package/$(PKG_NAME)-mod-$(1)
432 $(call Package/$(PKG_NAME)/Default)
433 TITLE:=$(2) module
434 DEPENDS:=$(PKG_NAME) $(patsubst +%,+PACKAGE_$(PKG_NAME)-mod-$(1):%,$(4))
435 endef
436 define Package/$(PKG_NAME)-mod-$(1)/description
437 $(subst \n,$(newline),$(3))
438 endef
439 define Package/$(PKG_NAME)-mod-$(1)/install
440 $(call Package/$(PKG_NAME)/install/mod,$$(1),$(1))
441 ifeq ($(CONFIG_FS_STABLE_WITH_MODCONF),y)
442 $(call Package/$(PKG_NAME)/install/dir,$$(1)/usr/share/$(PRG_NAME)/examples/mod_$(1),$(PKG_BUILD_DIR)/src/mod/*/mod_$(1)/conf)
443 endif
444 ifeq ($(1),python)
445 $(INSTALL_DIR) $$(1)$(PYTHON_PKG_DIR)
446 $(INSTALL_DATA) \
447 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/$(PRG_NAME).py \
448 $$(1)$(PYTHON_PKG_DIR)
449 endif
450 endef
451 $$(eval $$(call BuildPackage,$(PKG_NAME)-mod-$(1)))
452 endef
453
454 define Package/$(PKG_NAME)/Util
455 define Package/$(PKG_NAME)-util-$(1)
456 $(call Package/$(PKG_NAME)/Default)
457 TITLE:=$(2) utility
458 DEPENDS:=$(PKG_NAME) $(patsubst +%,+PACKAGE_$(PKG_NAME)-util-$(1):%,$(4))
459 ifeq ($(5),y)
460 PKGARCH:=all
461 endif
462 endef
463 define Package/$(PKG_NAME)-util-$(1)/description
464 $(subst \n,$(newline),$(3))
465 endef
466 define Package/$(PKG_NAME)-util-$(1)/install
467 $(call Package/$(PKG_NAME)/install/bin,$$(1),$(1))
468 endef
469 ifeq ($(1)$(CONFIG_FS_STABLE_WITH_LIBEDIT),fs_cli)
470 define Package/$(PKG_NAME)-util-$(1)/postinst
471 #!/bin/sh
472 if [ -z "$${IPKG_INSTROOT}" ]; then
473 echo
474 echo "o-------------------------------------------------------------------o"
475 echo "| fs_cli note |"
476 echo "o-------------------------------------------------------------------o"
477 echo "| Your FreeSWITCH was compiled without libedit support. Due to an |"
478 echo "| interop issue it's possible that when you try to exit fs_cli with |"
479 echo "| Ctrl-D, you'll see messages flashing by and have to kill fs_cli |"
480 echo "| manually. To avoid this you can either use Ctrl-C instead (fs_cli |"
481 echo "| needs to be started with '-i' for this to work; you could create |"
482 echo "| an appropriate alias in /etc/profile) or type /exit, /quit or |"
483 echo "| /bye. |"
484 echo "o-------------------------------------------------------------=^_^=-o"
485 echo
486 fi
487 exit 0
488 endef
489 endif
490 $$(eval $$(call BuildPackage,$(PKG_NAME)-util-$(1)))
491 endef
492
493 # we neither need host-perl nor host-php
494 CONFIGURE_VARS+= \
495 ac_cv_prog_PERL=false \
496 ac_cv_have_perl=no \
497 ac_cv_prog_PHP=false \
498 ac_cv_have_php=no \
499 ac_cv_prog_PHP_CONFIG=false \
500 ac_cv_have_php_config=no
501
502 # The autoconf variables in this block are OK for both musl and glibc
503 CONFIGURE_VARS+= \
504 ac_cv_file__dev_ptmx=yes \
505 ac_cv_file__dev_urandom=yes \
506 ac_cv_file_dbd_apr_dbd_mysql_c=no \
507 ac_cv_free_null=yes \
508 ac_cv_func_mmap_fixed_mapped=yes \
509 ac_cv_func_pthread_rwlock_init=yes \
510 ac_cv_func_sem_open=yes \
511 ac_cv_have_working_memmove=yes \
512 ac_cv_negative_eai=yes \
513 ac_cv_o_nonblock_inherited=no \
514 ac_cv_struct_rlimit=yes \
515 apr_cv_epoll=yes \
516 apr_cv_gai_addrconfig=yes \
517 apr_cv_mutex_recursive=yes \
518 apr_cv_process_shared_works=yes \
519 apr_cv_pthreads_lib=-lpthread \
520 apr_cv_tcp_nodelay_with_cork=yes \
521 apr_cv_type_rwlock_t=yes
522
523 # Regarding apr_cv_mutex_robust_shared=no see
524 # http://www.openwall.com/lists/musl/2016/11/26/1
525 # _Don't_ remove quotes below!
526 ifeq ($(CONFIG_LIBC),"musl")
527 CONFIGURE_VARS+= \
528 apr_cv_mutex_robust_shared=no \
529 ac_cv_strerror_r_rc_int=yes
530 else
531 CONFIGURE_VARS+= \
532 apr_cv_mutex_robust_shared=yes
533 endif
534
535 # fs_cli
536 CONFIGURE_VARS+= \
537 disable_cc=yes
538
539 CONFIGURE_VARS+= \
540 _python_sysroot="$(STAGING_DIR)" \
541 _python_prefix="/usr" \
542 _python_exec_prefix="/usr"
543
544 CONFIGURE_ARGS+= \
545 --build=$(GNU_HOST_NAME) \
546 --host=$(GNU_TARGET_NAME) \
547 --target=$(GNU_TARGET_NAME) \
548 --prefix=/usr/share/$(PRG_NAME) \
549 --bindir=/usr/bin \
550 --libdir=/usr/lib \
551 --srcdir=$(PKG_BUILD_DIR) \
552 --sysconfdir=/etc \
553 --disable-dependency-tracking \
554 --disable-static \
555 --disable-system-xmlrpc-c \
556 --enable-fhs \
557 --with-cachedir=/tmp/$(PRG_NAME)/cache \
558 --with-certsdir=/etc/$(PRG_NAME)/tls \
559 --with-dbdir=/tmp/$(PRG_NAME)/db \
560 --with-fontsdir=/usr/share/$(PRG_NAME)/fonts \
561 --with-grammardir=/usr/share/$(PRG_NAME)/grammar \
562 --with-htdocsdir=/usr/share/$(PRG_NAME)/htdocs \
563 --with-imagesdir=/usr/share/$(PRG_NAME)/images \
564 --with-logfiledir=/tmp/$(PRG_NAME)/log \
565 --with-modinstdir=/usr/lib/$(PRG_NAME)/mod \
566 --with-recordingsdir=/tmp/$(PRG_NAME)/recordings \
567 --with-rundir=/var/run/$(PRG_NAME) \
568 --with-scriptdir=/usr/share/$(PRG_NAME)/scripts \
569 --with-soundsdir=/usr/share/$(PRG_NAME)/sounds \
570 --with-storagedir=/tmp/$(PRG_NAME)/storage \
571 $(call autoconf_bool,CONFIG_FS_STABLE_WITH_LIBEDIT,core-libedit-support) \
572 $(call autoconf_bool,CONFIG_FS_STABLE_WITH_ODBC,core-odbc-support) \
573 $(call autoconf_bool,CONFIG_FS_STABLE_WITH_SRTP,srtp) \
574 $(call autoconf_bool,CONFIG_FS_STABLE_WITH_ZRTP,zrtp) \
575 $(if $(CONFIG_FS_STABLE_WITH_DEBUG),,--disable-debug) \
576 $(if $(CONFIG_FS_STABLE_WITH_FREETYPE),,--without-freetype) \
577 $(if $(CONFIG_FS_STABLE_WITH_LIBYUV),,--disable-libyuv) \
578 $(if $(CONFIG_FS_STABLE_WITH_ODBC),--with-odbc-lib="$(STAGING_DIR)/usr/lib") \
579 $(if $(CONFIG_FS_STABLE_WITH_ODBC),--with-odbc="$(STAGING_DIR)/usr") \
580 $(if $(CONFIG_FS_STABLE_WITH_PGSQL),--enable-core-pgsql-support,--without-pgsql) \
581 $(if $(CONFIG_FS_STABLE_WITH_PNG),,--without-png) \
582 $(if $(CONFIG_FS_STABLE_WITH_VPX),,--disable-libvpx)
583
584 # Need to update LDFLAGS for libs/unimrcp, otherwise it will try to link to a
585 # different apr/apr-util if found.
586 # FS_ANCHOR: string in build/acmacros/apr.m4 that will be replaced
587 FS_ANCHOR:=dnl Get build information from APR
588 FS_APR_LIBS:=-L$(PKG_BUILD_DIR)/libs/apr -L$(PKG_BUILD_DIR)/libs/apr-util
589
590 define Build/Prepare
591 $(call Build/Prepare/Default)
592 $(SED) '/^#/!s/^/#/' $(PKG_BUILD_DIR)/modules.conf
593 $(foreach m,$(FS_STABLE_MOD_AVAILABLE),
594 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-$(m)),
595 $(SED) '/mod_$(m)$$$$/s/^#//' $(PKG_BUILD_DIR)/modules.conf))
596
597 find $(PKG_BUILD_DIR)/libs/esl -name Makefile \
598 -exec $(SED) 's|swig2.0|$(STAGING_DIR_HOSTPKG)/bin/swig|' \
599 {} \;
600 find $(PKG_BUILD_DIR)/src/mod/languages -name Makefile.am \
601 -exec $(SED) 's|swig2.0|$(STAGING_DIR_HOSTPKG)/bin/swig|' \
602 {} \;
603
604 $(SED) 's|^LOCAL_CFLAGS=.*|LOCAL_CFLAGS=-I$(PYTHON_INC_DIR)|' \
605 $(PKG_BUILD_DIR)/libs/esl/python/Makefile
606 $(SED) 's|^LOCAL_LDFLAGS=.*|LOCAL_LDFLAGS=$(TARGET_LDFLAGS) -lpython$(PYTHON_VERSION)|' \
607 $(PKG_BUILD_DIR)/libs/esl/python/Makefile
608 $(SED) 's|^SITE_DIR=.*|SITE_DIR=$$$$(DESTDIR)$(PYTHON_PKG_DIR)|' \
609 $(PKG_BUILD_DIR)/libs/esl/python/Makefile
610 $(SED) 's|^PYTHON_SITE_DIR=.*|PYTHON_SITE_DIR=$(PYTHON_PKG_DIR)|' \
611 $(PKG_BUILD_DIR)/src/mod/languages/mod_python/Makefile.am
612 $(SED) 's|@PYTHON_CFLAGS@|-I$(PYTHON_INC_DIR)|' \
613 $(PKG_BUILD_DIR)/src/mod/languages/mod_python/Makefile.am
614 $(SED) 's|@PYTHON_LDFLAGS@|$(TARGET_LDFLAGS) -lpython$(PYTHON_VERSION)|' \
615 $(PKG_BUILD_DIR)/src/mod/languages/mod_python/Makefile.am
616 $(SED) 's|$(FS_ANCHOR)|APR_SETVAR(LDFLAGS,$(FS_APR_LIBS) $(TARGET_LDFLAGS))|' \
617 $(PKG_BUILD_DIR)/libs/unimrcp/build/acmacros/apr.m4
618
619 # Hack for mod_unimrcp - it has a build-time dep on mod_sofia
620 ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-unimrcp),)
621 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-sofia),)
622 $(SED) '/mod_sofia$$$$/s/^#//' $(PKG_BUILD_DIR)/modules.conf
623 endif
624 endif
625 endef
626
627 define Build/Configure
628 find $(PKG_BUILD_DIR) -name missing -type f -exec rm {} \;
629 cd $(PKG_BUILD_DIR); $(AM_TOOL_PATHS) ./rebootstrap.sh
630 $(call Build/Configure/Default)
631 endef
632
633 define Build/Compile
634 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/src/mod/languages/mod_lua swigclean)
635 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/src/mod/languages/mod_python swigclean)
636 $(call Build/Compile/Default)
637 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/libs/esl swigclean pymod)
638 endef
639
640 define Build/Install
641 $(call Build/Install/Default)
642 $(call Build/Install/Default,-C $(PKG_BUILD_DIR)/libs/esl pymod-install)
643 endef
644
645 $(eval $(call BuildPackage,$(PKG_NAME)))
646 $(eval $(call BuildPackage,$(PKG_NAME)-hotplug))
647 $(eval $(call BuildPackage,$(PKG_NAME)-python-esl))
648 $(eval $(call BuildPackage,$(PKG_NAME)-timezones))
649
650 ################################
651 # FreeSWITCH example configs
652 # Params:
653 # 1 - Package subname
654 ################################
655
656 $(eval $(call Package/$(PKG_NAME)/Example,curl))
657 $(eval $(call Package/$(PKG_NAME)/Example,insideout))
658 $(eval $(call Package/$(PKG_NAME)/Example,minimal))
659 $(eval $(call Package/$(PKG_NAME)/Example,rayo))
660 $(eval $(call Package/$(PKG_NAME)/Example,sbc))
661 $(eval $(call Package/$(PKG_NAME)/Example,softphone))
662 $(eval $(call Package/$(PKG_NAME)/Example,testing))
663 $(eval $(call Package/$(PKG_NAME)/Example,vanilla))
664
665 ################################
666 # FreeSWITCH language files
667 # Params:
668 # 1 - Language code
669 # 2 - Language
670 ################################
671
672 $(eval $(call Package/$(PKG_NAME)/Language,de,German))
673 $(eval $(call Package/$(PKG_NAME)/Language,en,English))
674 $(eval $(call Package/$(PKG_NAME)/Language,es,Spanish))
675 $(eval $(call Package/$(PKG_NAME)/Language,fr,French))
676 $(eval $(call Package/$(PKG_NAME)/Language,he,Hebrew))
677 $(eval $(call Package/$(PKG_NAME)/Language,pt,Portuguese))
678 $(eval $(call Package/$(PKG_NAME)/Language,ru,Russian))
679 $(eval $(call Package/$(PKG_NAME)/Language,sv,Swedish))
680
681 ################################
682 # FreeSWITCH misc packages
683 # Params:
684 # 1 - Package subname
685 # 2 - Package title
686 # 3 - Package description
687 # 4 - Source dir relative to
688 # PKG_INSTALL_DIR
689 # 5 - Dest dir relative to ipkg
690 ################################
691
692 $(eval $(call Package/$(PKG_NAME)/Misc,dev,Development files,This package includes the FreeSWITCH headers and pkgconfig file.,/usr/share/$(PRG_NAME)/include,/usr/include))
693 $(eval $(call Package/$(PKG_NAME)/Misc,fonts,Fonts,This package includes the fonts bundled with FreeSWITCH.,/usr/share/$(PRG_NAME)/fonts,/usr/share/$(PRG_NAME)/fonts))
694 $(eval $(call Package/$(PKG_NAME)/Misc,images,Images,This package includes the images bundled with FreeSWITCH.,/usr/share/$(PRG_NAME)/images,/usr/share/$(PRG_NAME)/images))
695
696 ################################
697 # FreeSWITCH modules
698 # Params:
699 # 1 - Package subname
700 # 2 - Package title
701 # 3 - Module description
702 # 4 - Module dependencies
703 ################################
704
705 $(eval $(call Package/$(PKG_NAME)/Module,abstraction,API abstraction,This module provides a way to create new API functions via regex\nrewriting.,))
706 $(eval $(call Package/$(PKG_NAME)/Module,alsa,ALSA endpoint,ALSA endpoint module.,+alsa-lib))
707 $(eval $(call Package/$(PKG_NAME)/Module,amr,AMR passthrough,Passthrough AMR codec support.,))
708 $(eval $(call Package/$(PKG_NAME)/Module,amrwb,AMR wideband passthrough,Passthrough AMR wideband codec support.,))
709 $(eval $(call Package/$(PKG_NAME)/Module,av,AV,Video codec and format support via FFmpeg.,+libffmpeg-full @BROKEN))
710 $(eval $(call Package/$(PKG_NAME)/Module,avmd,Voicemail detection,This module attempts to determine when a voicemail system has answered\nthe call.,))
711 $(eval $(call Package/$(PKG_NAME)/Module,basic,BASIC,BASIC module for FreeSWITCH.,))
712 $(eval $(call Package/$(PKG_NAME)/Module,bert,BERT,Line testing tool.,))
713 $(eval $(call Package/$(PKG_NAME)/Module,blacklist,Blacklist helper,This module provides tools to blacklist callers.,))
714 $(eval $(call Package/$(PKG_NAME)/Module,callcenter,Call center,This module implements Automated Call Distribution queues.,))
715 $(eval $(call Package/$(PKG_NAME)/Module,cdr_csv,CSV CDR,CSV Call Detail Record handler.,))
716 $(eval $(call Package/$(PKG_NAME)/Module,cdr_mongodb,MongoDB CDR,MongoDB Call Detail Record handler.,))
717 $(eval $(call Package/$(PKG_NAME)/Module,cdr_pg_csv,PostgreSQL CDR,PostgreSQL Call Detail Record handler.,@FS_STABLE_WITH_PGSQL))
718 $(eval $(call Package/$(PKG_NAME)/Module,cdr_sqlite,SQLite CDR,SQLite Call Detail Record handler.,))
719 $(eval $(call Package/$(PKG_NAME)/Module,cidlookup,Caller ID lookup,This module provides an API for querying caller ID name and location\ndata.,))
720 $(eval $(call Package/$(PKG_NAME)/Module,cluechoo,Clue Choo,This demo module renders a Clue Choo train on the FreeSWITCH console.,+libncurses))
721 $(eval $(call Package/$(PKG_NAME)/Module,commands,Commands,This module provides miscellaneous API commands.,))
722 $(eval $(call Package/$(PKG_NAME)/Module,conference,Conference,This module provides multi-party conferencing.,))
723 $(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.,))
724 $(eval $(call Package/$(PKG_NAME)/Module,curl,cURL,This module provides an API for making HTTP requests with cURL.,))
725 $(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.,))
726 $(eval $(call Package/$(PKG_NAME)/Module,dialplan_asterisk,Asterisk dialplan,Asterisk extensions.conf style dialplan parser.,))
727 $(eval $(call Package/$(PKG_NAME)/Module,dialplan_xml,XML dialplan,Standard FreeSWITCH XML dialplan support.,))
728 $(eval $(call Package/$(PKG_NAME)/Module,dingaling,Generic XMPP,Allows FreeSWITCH to be used as a client for XMPP Servers.,))
729 $(eval $(call Package/$(PKG_NAME)/Module,directory,Dial-by-name directory,This module implements a dial-by-name directory IVR.,))
730 $(eval $(call Package/$(PKG_NAME)/Module,distributor,Load distributor,This module implements a mechanism for performing load balancing.,))
731 $(eval $(call Package/$(PKG_NAME)/Module,dptools,Dialplan tools,This module implements basic dialplan tools.,))
732 $(eval $(call Package/$(PKG_NAME)/Module,easyroute,DID routing,This module does destination lookup based on DID.,))
733 $(eval $(call Package/$(PKG_NAME)/Module,enum,ENUM routing,This module implements ENUM support.,+libldns))
734 $(eval $(call Package/$(PKG_NAME)/Module,erlang_event,Erlang event,Erlang event module.,))
735 $(eval $(call Package/$(PKG_NAME)/Module,esf,Multicast,This module adds multi-cast support.,))
736 $(eval $(call Package/$(PKG_NAME)/Module,esl,Single ESL,This module adds an API for generating one-off ESL requests.,))
737 $(eval $(call Package/$(PKG_NAME)/Module,event_multicast,Multicast Event,Multicast Event System for FreeSWITCH.,))
738 $(eval $(call Package/$(PKG_NAME)/Module,event_socket,Event socket,Sends events via a single socket. Needed for fs_cli.,))
739 $(eval $(call Package/$(PKG_NAME)/Module,expr,Expr,This module adds expr support for expression evaluation.,))
740 $(eval $(call Package/$(PKG_NAME)/Module,fifo,FIFO,This module adds a first-in first-out queue system.,))
741 $(eval $(call Package/$(PKG_NAME)/Module,format_cdr,Multiformat CDR,A superset of mod_json_cdr and mod_xml_cdr.,))
742 $(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.,))
743 $(eval $(call Package/$(PKG_NAME)/Module,fsv,FSV,This module provides dialplan applications for recording and playing\nvideos.,))
744 $(eval $(call Package/$(PKG_NAME)/Module,g723_1,G.723.1 passthrough,G.723.1 codec passthrough.,))
745 $(eval $(call Package/$(PKG_NAME)/Module,g729,G.729 passthrough,G.729 codec passthrough.,))
746 $(eval $(call Package/$(PKG_NAME)/Module,graylog2,Graylog2 logger,GELF logger for Graylog2 and Logstash.,))
747 $(eval $(call Package/$(PKG_NAME)/Module,h26x,H.26x passthrough,H.26x video codec passthrough.,))
748 $(eval $(call Package/$(PKG_NAME)/Module,hash,Hash,This module provides a key-value in-memory datastore. Usable as a\nlimit backend.,))
749 $(eval $(call Package/$(PKG_NAME)/Module,hiredis,Redis client,This module provides a mechanism to use Redis as a datastore.,+libhiredis))
750 $(eval $(call Package/$(PKG_NAME)/Module,httapi,HT-TAPI,This module provides an API for controlling the switch by responding\nto HTTP requests.,))
751 $(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.,))
752 $(eval $(call Package/$(PKG_NAME)/Module,isac,iSAC,iSAC codec support.,@arm||i386||mips||mips64||mips64el||mipsel||x86_64))
753 $(eval $(call Package/$(PKG_NAME)/Module,json_cdr,JSON CDR,JSON-based Call Detail Record handler.,))
754 $(eval $(call Package/$(PKG_NAME)/Module,kazoo,Kazoo,Kazoo module for FreeSWITCH.,))
755 $(eval $(call Package/$(PKG_NAME)/Module,lcr,LCR,This module adds a facility for least-cost routing.,))
756 $(eval $(call Package/$(PKG_NAME)/Module,ldap,LDAP,LDAP module for FreeSWITCH.,+libopenldap))
757 $(eval $(call Package/$(PKG_NAME)/Module,local_stream,Local stream,Connects multiple channels to a looped stream.,))
758 $(eval $(call Package/$(PKG_NAME)/Module,logfile,File logger,Logs FreeSWITCH output to a file.,))
759 $(eval $(call Package/$(PKG_NAME)/Module,loopback,Loopback,A loopback channel driver.,))
760 $(eval $(call Package/$(PKG_NAME)/Module,lua,Lua,Lua language interface for FreeSWITCH.,+liblua))
761 $(eval $(call Package/$(PKG_NAME)/Module,mp4v,MP4 video passthrough,MP4 video passthrough..,))
762 $(eval $(call Package/$(PKG_NAME)/Module,native_file,Native file,Plays files that are already encoded in the right format.,))
763 $(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.,))
764 $(eval $(call Package/$(PKG_NAME)/Module,odbc_cdr,ODBC CDR,ODBC Call Detail Record handler.,))
765 $(eval $(call Package/$(PKG_NAME)/Module,opus,Opus,Opus codec support.,+libopus))
766 $(eval $(call Package/$(PKG_NAME)/Module,oreka,Oreka,This module provides media recording with the Oreka cross-platform\naudio stream recording and retrieval system.,))
767 $(eval $(call Package/$(PKG_NAME)/Module,png,PNG,Allows playback of video using PNG files.,))
768 $(eval $(call Package/$(PKG_NAME)/Module,prefix,Prefix match,This module provides a data store with fast lookups by the longest\nprefix match rule.,))
769 $(eval $(call Package/$(PKG_NAME)/Module,python,Python,Python support module.,+python-light))
770 $(eval $(call Package/$(PKG_NAME)/Module,rayo,Rayo,Rayo/XMPP 3PCC server for FreeSWITCH.,+$(PKG_NAME)-mod-ssml))
771 $(eval $(call Package/$(PKG_NAME)/Module,redis,Redis limit backend,This module provides a mechanism to use Redis as a limit backend data\nstore.,))
772 $(eval $(call Package/$(PKG_NAME)/Module,rss,RSS,Parses and reads XML based RSS feeds and reads the entries aloud via a TTS engine.,))
773 $(eval $(call Package/$(PKG_NAME)/Module,rtc,Media streaming,Media streaming as used by WebRTC and mod_verto.,))
774 $(eval $(call Package/$(PKG_NAME)/Module,rtmp,RTMP endpoint,RTMP endpoint support. Allows FreeSWITCH to be used from RTMP clients.,))
775 $(eval $(call Package/$(PKG_NAME)/Module,say_de,German Say,Uses prerecorded sounds to read or say various things.,))
776 $(eval $(call Package/$(PKG_NAME)/Module,say_en,English Say,Uses prerecorded sounds to read or say various things.,))
777 $(eval $(call Package/$(PKG_NAME)/Module,say_es,Spanish Say,Uses prerecorded sounds to read or say various things.,))
778 $(eval $(call Package/$(PKG_NAME)/Module,say_es_ar,Argentinian Spanish Say,Uses prerecorded sounds to read or say various things.,))
779 $(eval $(call Package/$(PKG_NAME)/Module,say_fa,Persian Say,Uses prerecorded sounds to read or say various things.,))
780 $(eval $(call Package/$(PKG_NAME)/Module,say_fr,French Say,Uses prerecorded sounds to read or say various things.,))
781 $(eval $(call Package/$(PKG_NAME)/Module,say_he,Hebrew Say,Uses prerecorded sounds to read or say various things.,))
782 $(eval $(call Package/$(PKG_NAME)/Module,say_hr,Croatian Say,Uses prerecorded sounds to read or say various things.,))
783 $(eval $(call Package/$(PKG_NAME)/Module,say_hu,Hungarian Say,Uses prerecorded sounds to read or say various things.,))
784 $(eval $(call Package/$(PKG_NAME)/Module,say_it,Italian Say,Uses prerecorded sounds to read or say various things.,))
785 $(eval $(call Package/$(PKG_NAME)/Module,say_ja,Japanese Say,Uses prerecorded sounds to read or say various things.,))
786 $(eval $(call Package/$(PKG_NAME)/Module,say_nl,Dutch Say,Uses prerecorded sounds to read or say various things.,))
787 $(eval $(call Package/$(PKG_NAME)/Module,say_pl,Polish Say,Uses prerecorded sounds to read or say various things.,))
788 $(eval $(call Package/$(PKG_NAME)/Module,say_pt,Portuguese Say,Uses prerecorded sounds to read or say various things.,))
789 $(eval $(call Package/$(PKG_NAME)/Module,say_ru,Russian Say,Uses prerecorded sounds to read or say various things.,))
790 $(eval $(call Package/$(PKG_NAME)/Module,say_sv,Swedish Say,Uses prerecorded sounds to read or say various things.,))
791 $(eval $(call Package/$(PKG_NAME)/Module,say_th,Thai Say,Uses prerecorded sounds to read or say various things.,))
792 $(eval $(call Package/$(PKG_NAME)/Module,say_zh,Chinese Say,Uses prerecorded sounds to read or say various things.,))
793 $(eval $(call Package/$(PKG_NAME)/Module,shell_stream,Shell stream,Allows to stream audio from an arbitrary shell command.,))
794 $(eval $(call Package/$(PKG_NAME)/Module,shout,Shout,Allows to stream audio from MP3s or Shoutcast streams.,+lame-lib +libmpg123 +libshout))
795 $(eval $(call Package/$(PKG_NAME)/Module,skinny,Skinny,Skinny Call Control Protocol endpoint support.,))
796 $(eval $(call Package/$(PKG_NAME)/Module,sms,SMS,This module provides an abstract facility for interfacing with SMS\nsystems.,))
797 $(eval $(call Package/$(PKG_NAME)/Module,snapshot,Snapshot,This module can record a sliding window of audio and take snapshots\nto disk.,))
798 $(eval $(call Package/$(PKG_NAME)/Module,sndfile,Soundfile,Adds sound format support via libsndfile.,+libsndfile))
799 $(eval $(call Package/$(PKG_NAME)/Module,snmp,SNMP,An SNMP stats reporter.,+libnetsnmp))
800 $(eval $(call Package/$(PKG_NAME)/Module,snom,SNOM,This module implements features specific to SNOM phones.,))
801 $(eval $(call Package/$(PKG_NAME)/Module,sofia,Sofia SIP,SIP module.,))
802 $(eval $(call Package/$(PKG_NAME)/Module,sonar,Sonar,This module measures the latency on an audio link by sending audible\naudio sonar pings.,))
803 $(eval $(call Package/$(PKG_NAME)/Module,spandsp,SpanDSP,This module implements SpanDSP fax. It includes DSP and codec\nfunctionality.,+libjpeg +liblzma))
804 $(eval $(call Package/$(PKG_NAME)/Module,spy,User Spy,This module adds the ability to monitor the audio of a channel.,))
805 $(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.,))
806 $(eval $(call Package/$(PKG_NAME)/Module,stress,Stress,This module attempts to detect voice stress on an audio channel.,))
807 $(eval $(call Package/$(PKG_NAME)/Module,syslog,Syslog logger,Logs FreeSWITCH output to the syslog.,))
808 $(eval $(call Package/$(PKG_NAME)/Module,theora,Theora passthrough,Theora video codec passthrough.,))
809 $(eval $(call Package/$(PKG_NAME)/Module,tone_stream,Tone stream,Tone generation stream.,))
810 $(eval $(call Package/$(PKG_NAME)/Module,translate,Number translation,This module implements number translation.,))
811 $(eval $(call Package/$(PKG_NAME)/Module,tts_commandline,TTS command-line,Run a command-line and play the output file.,))
812 $(eval $(call Package/$(PKG_NAME)/Module,unimrcp,UniMRCP,Allows communication with Media Resource Control Protocol servers.,))
813 $(eval $(call Package/$(PKG_NAME)/Module,valet_parking,Valet parking,This module implements the valet call parking strategy.,))
814 $(eval $(call Package/$(PKG_NAME)/Module,verto,Verto,Verto signaling protocol.,))
815 $(eval $(call Package/$(PKG_NAME)/Module,voicemail,Voicemail,This module provides a voicemail system.,))
816 $(eval $(call Package/$(PKG_NAME)/Module,voicemail_ivr,Voicemail IVR,This module provides an extensible voicemail IVR system.,))
817 $(eval $(call Package/$(PKG_NAME)/Module,xml_cdr,XML CDR,XML Call Detail Record handler.,))
818 $(eval $(call Package/$(PKG_NAME)/Module,xml_curl,XML cURL,Provides an XML cURL interfaces to pull dynamic XML configuration for\nFreeSWITCH over HTTP.,))
819 $(eval $(call Package/$(PKG_NAME)/Module,xml_ldap,XML LDAP,LDAP XML gateway.,+libopenldap))
820 $(eval $(call Package/$(PKG_NAME)/Module,xml_rpc,XML RPC,Allows using the webapi to control FreeSWITCH.,))
821 $(eval $(call Package/$(PKG_NAME)/Module,xml_scgi,XML SCGI,SCGI XML Gateway.,))
822 $(eval $(call Package/$(PKG_NAME)/Module,yaml,YAML,YAML language module.,+libyaml))
823
824 ################################
825 # FreeSWITCH utilities
826 # Params:
827 # 1 - Package subname
828 # 2 - Package title
829 # 3 - Utility description
830 # 4 - Utility dependencies
831 # 5 - Utility is a script (y/n)
832 ################################
833
834 $(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))
835 $(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))
836 $(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))
837 $(eval $(call Package/$(PKG_NAME)/Util,gentls_cert,TLS certificate,Can be used to create TLS certificates and setup CAs.,+openssl-util,y))
838 $(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))