34f38f51fd8d053ceaa53dde383b4e109916d8f2
[openwrt/svn-archive/archive.git] / net / freeswitch / Makefile
1 #
2 # Copyright (C) 2009-2010 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 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=freeswitch
11 PKG_VERSION:=1.0.6
12 PKG_RELEASE:=11
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_SOURCE_URL:=http://files.freeswitch.org/
17 PKG_MD5SUM:=388effee587887a81fe7f411b7350590
18
19 PKG_FIXUP:=libtool
20
21 FS_MOD_AVAILABLE:= \
22 alsa \
23 amr \
24 amrwb \
25 bv \
26 cdr-csv \
27 celt \
28 cepstral \
29 cidlookup \
30 cluechoo \
31 commands \
32 conference \
33 console \
34 curl \
35 dahdi-codec \
36 dialplan-asterisk \
37 dialplan-directory \
38 dialplan-xml \
39 dingaling \
40 directory \
41 distributor \
42 dptools \
43 easyroute \
44 enum \
45 erlang-event \
46 esf \
47 event-multicast \
48 event-socket \
49 expr \
50 fax \
51 fifo \
52 file-string \
53 flite \
54 fsv \
55 g723-1 \
56 g729 \
57 h26x \
58 h323 \
59 ilbc \
60 lcr \
61 ldap \
62 limit \
63 local-stream \
64 logfile \
65 loopback \
66 lua \
67 managed \
68 memcache \
69 native-file \
70 nibblebill \
71 opal \
72 openzap \
73 perl \
74 pocketsphinx \
75 portaudio \
76 portaudio-stream \
77 python \
78 radius-cdr \
79 rss \
80 say-de \
81 say-en \
82 say-es \
83 say-fr \
84 say-it \
85 say-nl \
86 say-ru \
87 say-th \
88 say-zh \
89 shell-stream \
90 shout \
91 silk \
92 siren \
93 skinny \
94 skypopen \
95 sangoma-codec \
96 snapshot \
97 snipe-hunt \
98 sndfile \
99 snom \
100 sofia \
101 soundtouch \
102 speex \
103 spidermonkey \
104 spidermonkey-core-db \
105 spidermonkey-curl \
106 spidermonkey-odbc \
107 spidermonkey-socket \
108 spidermonkey-teletone \
109 spy \
110 stress \
111 syslog \
112 tone-stream \
113 unimrcp \
114 valet-parking \
115 vmd \
116 voicemail \
117 voipcodecs \
118 xml-cdr \
119 xml-curl \
120 xml-ldap \
121 xml-rpc \
122 yaml \
123
124 PKG_CONFIG_DEPENDS:= \
125 $(patsubst %,CONFIG_PACKAGE_freeswitch-mod-%,$(FS_MOD_AVAILABLE)) \
126
127 include $(INCLUDE_DIR)/package.mk
128
129 define Package/freeswitch/Default
130 SECTION:=net
131 CATEGORY:=Network
132 URL:=http://www.freeswitch.org/
133 MAINTAINER:=Daniel Dickinson <openwrt@cshore.neomailbox.net>
134 endef
135
136
137 define Package/freeswitch
138 $(call Package/freeswitch/Default)
139 TITLE:=FreeSWITCH open source telephony platform
140 DEPENDS:= +libopenssl +libreadline +libncurses +libpthread +libstdcpp
141 MENU:=1
142 endef
143
144 define Package/freeswitch/description
145 FreeSWITCH is an open source telephony platform designed to
146 facilitate the creation of voice and chat driven products scaling
147 from a soft-phone up to a soft-switch. See http://wiki.freeswitch.org
148 endef
149
150 define Package/freeswitch-example-config
151 $(call Package/freeswitch/Default)
152 TITLE:=FreeSWITCH example config (commented)
153 DEPENDS:= freeswitch
154 endef
155
156 define Package/freeswitch-example-config/description
157 The default configuration included with FreeSWITCH. It is not intended to be
158 a final product, and is thus moved to /usr/share/freeswitch/examples/conf to
159 be an example of how FreeSWITCH can be configured.
160 endef
161
162 define Package/freeswitch-config-upstream-defaults
163 $(call Package/freeswitch/Default)
164 TITLE:=FreeSWITCH upstream config
165 DEPENDS:= freeswitch
166 endef
167
168 define Package/freeswitch-config-upstream-defaults/description
169 The default configuration included with FreeSWITCH. It is not intended to be
170 a final product, and but is included for those who don't want to use the
171 OpenWRT configuration and/or want to try things as prepared by upstream.
172 endef
173
174 define Package/freeswitch-config-minimal
175 $(call Package/freeswitch/Default)
176 TITLE:=FreeSWITCH a minimal FS config
177 DEPENDS:= freeswitch
178 endef
179
180 define Package/freeswitch-config-minimal/description
181 A minimal configuration of FreeSWITCH for OpenWRT devices. Is what the UCI
182 configuration began with.
183 endef
184
185 define Package/freeswitch-collection-upstream-defaults
186 $(call Package/freeswitch/Default)
187 TITLE:=FreeSWITCH upstream default (sample) config
188 DEPENDS:= freeswitch \
189 +freeswitch-config-upstream-defaults \
190 +freeswitch-mod-commands \
191 +freeswitch-mod-conference \
192 +freeswitch-mod-syslog \
193 +freeswitch-mod-curl \
194 +freeswitch-mod-dialplan-xml \
195 +freeswitch-mod-dptools \
196 +freeswitch-mod-event-socket \
197 +freeswitch-mod-g723-1 \
198 +freeswitch-mod-ilbc \
199 +freeswitch-mod-limit \
200 +freeswitch-mod-local-stream \
201 +freeswitch-mod-logfile \
202 +freeswitch-mod-lua \
203 +freeswitch-mod-native-file \
204 +freeswitch-mod-sndfile \
205 +freeswitch-mod-sofia \
206 +freeswitch-mod-speex \
207 +freeswitch-mod-tone-stream \
208 +freeswitch-mod-voipcodecs \
209 +freeswitch-mod-xml-curl \
210 +freeswitch-mod-xml-rpc \
211 +freeswitch-tools
212 endef
213
214 define Package/freeswitch-collection-minimal
215 $(call Package/freeswitch/Default)
216 TITLE:=A FreeSWITCH minimal package collection
217 DEPENDS:= freeswitch \
218 +freeswitch-config-minimal \
219 +freeswitch-mod-commands \
220 +freeswitch-mod-syslog \
221 +freeswitch-mod-dialplan-xml \
222 +freeswitch-mod-dptools \
223 +freeswitch-mod-event-socket \
224 +freeswitch-mod-local-stream \
225 +freeswitch-mod-sndfile \
226 +freeswitch-mod-sofia \
227 +freeswitch-mod-tone-stream \
228 +freeswitch-mod-voipcodecs \
229 +freeswitch-tools
230 endef
231
232 define Package/freeswitch-sounds-en
233 $(call Package/freeswitch/Default)
234 TITLE:=FreeSWITCH english sounds
235 DEPENDS:= freeswitch
236 endef
237
238
239 define Package/freeswitch-sounds-moh
240 $(call Package/freeswitch/Default)
241 TITLE:=FreeSWITCH music-on-hold sounds
242 DEPENDS:= freeswitch
243 endef
244
245
246 define Package/freeswitch-tools
247 $(call Package/freeswitch/Default)
248 TITLE:=FreeSWITCH control tools
249 DEPENDS:= freeswitch
250 endef
251
252
253 define Download/files
254 define Download/$(1)
255 FILE:=$(2)
256 URL:=http://files.freeswitch.org/$(4)
257 MD5SUM:=$(3)
258 endef
259 define Prepare/$(1)
260 $(CP) $(DL_DIR)/$(2) $(PKG_BUILD_DIR)/$(5)
261 endef
262 $$(eval $$(call Download,$(1)))
263 endef
264
265 MAKE_INSTALL_TARGETS:=install
266
267 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-celt),)
268 $(eval $(call Download/files,celt,celt-0.7.1.tar.gz,c7f6b8346e132b1a48dae0eff77ea9f0,downloads/libs/,libs/))
269 endif
270
271 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-curl),)
272 $(eval $(call Download/files,json-c,json-c-0.9.tar.gz,4653b3b9c568bb9c782178abfaac128d,downloads/libs/,libs/))
273 endif
274
275 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-flite),)
276 $(eval $(call Download/files,flite,flite-1.3.99-latest.tar.gz,,downloads/libs/,libs/))
277 endif
278
279 ifneq ($(CONFIG_PACKAGE_freeswitch-sounds-en),)
280 $(eval $(call Download/files,sounds-en,freeswitch-sounds-en-us-callie-8000-1.0.12.tar.gz,d700439027dd95dd118e5e85f38e4d81,,))
281 MAKE_INSTALL_TARGETS+= sounds-install
282 endif
283
284 ifneq ($(CONFIG_PACKAGE_freeswitch-sounds-moh),)
285 $(eval $(call Download/files,sounds-moh,freeswitch-sounds-music-8000-1.0.8.tar.gz,f63ef3cc3507af079ae5c7b8b8a01e42,,))
286 MAKE_INSTALL_TARGETS+= moh-install
287 endif
288
289 # XXX: -fgnu89-inline is not supported on all compiler versions, so only enable it on avr32 where it solves build issues
290 ifneq ($(CONFIG_avr32),)
291 TARGET_CFLAGS += -fgnu89-inline
292 TARGET_CXXFLAGS += -fgnu89-inline
293 endif
294
295 ifneq ($(CONFIG_USE_EGLIBC),)
296 ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
297 TARGET_CFLAGS += -DNO_GETLOGIN
298 endif
299 endif
300
301 FS_TARGET_CFLAGS:= ${TARGET_CFLAGS} -DLUA_USE_LINUX $(FPIC) -std=gnu99 -Wno-format
302 FS_TARGET_CXXFLAGS:= ${TARGET_CXXFLAGS} -DLUA_USE_LINUX $(FPIC) -Wno-format
303 FS_TARGET_CPPFLAGS:= -I. -I./lua ${TARGET_CPPFLAGS}
304
305 CONFIGURE_ARGS+= \
306 --prefix="/usr/share/freeswitch" \
307 --bindir="/usr/bin" \
308 --libdir="/usr/lib" \
309 --sysconfdir="/etc/freeswitch" \
310 --with-modinstdir="/usr/lib/freeswitch" \
311 --enable-ipv6 \
312 \
313 --with-libcurl="$(STAGING_DIR)/usr" \
314 --with-openssl="$(STAGING_DIR)/usr" \
315 --with-random="/dev/urandom" \
316 --without-erlang \
317 --without-java \
318 --without-mysql \
319 --without-pgsql \
320 --without-python \
321 --disable-zrtp \
322
323 CONFIGURE_VARS+= \
324 config_TARGET_CC="${TARGET_CC}" \
325 config_TARGET_CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
326 config_TARGET_CXX="${TARGET_CXX}" \
327 config_TARGET_CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
328 config_TARGET_CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
329 config_BUILD_CC="${HOSTCC}" \
330 config_TARGET_READLINE_INC="${FS_TARGET_CPPFLAGS}" \
331 config_TARGET_READLINE_LIBS="${TARGET_LDFLAGS} -lreadline -lncurses" \
332 config_TARGET_LIBS="${TARGET_LDFLAGS} -lpthread" \
333 CC_FOR_BUILD="${HOSTCC}" \
334 LDFLAGS_FOR_BUILD="${HOST_LDFLAGS}" \
335 CC="${TARGET_CC}" \
336 CXX="${TARGET_CXX}" \
337 CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
338 CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
339 CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
340 LDFLAGS="${TARGET_LDFLAGS} -Wl,-rpath-link=\"${STAGING_DIR}/usr/lib\"" \
341 ac_cv_dev_urandom="yes" \
342 ac_cv_file_dbd_apr_dbd_mysql_c="no" \
343 ac_cv_file__dev_random="no" \
344 ac_cv_file__dev_urandom="yes" \
345 ac_cv_file___dev_urandom_="yes" \
346 ac_cv_func_mmap_fixed_mapped="yes" \
347 ac_cv_func_pthread_rwlock_init="yes" \
348 ac_cv_struct_rlimit="yes" \
349 apr_cv_mutex_recursive="yes" \
350 apr_cv_process_shared_works="no" \
351 apr_cv_tcp_nodelay_with_cork="yes" \
352 apr_cv_type_rwlock_t="yes" \
353 ac_cv_path_LIBGNUTLS_CONFIG="no" \
354
355
356 define Build/Prepare
357 $(call Build/Prepare/Default)
358 $(call Prepare/celt)
359 $(call Prepare/flite)
360 $(call Prepare/json-c)
361 $(call Prepare/sounds-en)
362 $(call Prepare/sounds-moh)
363 endef
364
365 define Build/Configure
366 $(call Build/Configure/Default)
367 $(foreach m,$(FS_MOD_AVAILABLE),
368 $(if $(CONFIG_PACKAGE_freeswitch-mod-$(m)),
369 $(SED) 's|^[ #]*\([^#]*/mod_$(subst -,_,$(m))\)$$$$|\1|g' $(PKG_BUILD_DIR)/modules.conf
370 ,
371 $(SED) 's|^\([^#]*/mod_$(subst -,_,$(m))\)$$$$|#\1|g' $(PKG_BUILD_DIR)/modules.conf
372 )
373 )
374 endef
375
376 define Build/Compile
377 $(MAKE) -C $(PKG_BUILD_DIR) \
378 DESTDIR="$(PKG_INSTALL_DIR)" \
379 LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
380 all $(MAKE_INSTALL_TARGETS)
381 $(SED) 's|^\([ \t]*\)\(.*\)"mod_console"\(.*\)$$$$|\1<!-- \2"mod_console"\3 -->|' $(PKG_INSTALL_DIR)/etc/freeswitch/autoload_configs/modules.conf.xml
382 $(SED) 's|^\([ \t]*\)<!-- *\(.*\)"mod_syslog"\(.*\) *-->\(.*\)$$$$|\1\2"mod_syslog"\3\4|' $(PKG_INSTALL_DIR)/etc/freeswitch/autoload_configs/modules.conf.xml
383 endef
384
385 define Build/InstallDev
386 $(INSTALL_DIR) $(1)/usr/include/freeswitch
387 $(CP) $(PKG_INSTALL_DIR)/usr/share/freeswitch/include/* $(1)/usr/include/freeswitch/
388 $(INSTALL_DIR) $(1)/usr/lib
389 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.{a,so*} $(1)/usr/lib/
390 endef
391
392 define Package/freeswitch/install
393 $(INSTALL_DIR) $(1)/usr/bin
394 $(CP) $(PKG_INSTALL_DIR)/usr/bin/freeswitch $(1)/usr/bin/
395 $(INSTALL_DIR) $(1)/usr/lib
396 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.so.* $(1)/usr/lib/
397 $(INSTALL_DIR) $(1)/usr/lib/freeswitch
398 $(INSTALL_DIR) $(1)/etc/default
399 $(INSTALL_DATA) ./files/freeswitch.default $(1)/etc/default/freeswitch
400 $(INSTALL_DIR) $(1)/etc/init.d
401 $(INSTALL_BIN) ./files/freeswitch.init $(1)/etc/init.d/freeswitch
402 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
403 $(INSTALL_DATA) ./files/freeswitch.hotplug $(1)/etc/hotplug.d/iface/90-freeswitch
404 $(INSTALL_DIR) $(1)/etc/config
405 $(INSTALL_DATA) ./files/freeswitch.config $(1)/etc/config/freeswitch
406 endef
407
408 define Package/freeswitch-collection-upstream-defaults/install
409 $(INSTALL_DIR) $(1)/etc/freeswitch
410 endef
411
412 define Package/freeswitch-example-config/install
413 $(INSTALL_DIR) $(1)/usr/share/freeswitch/examples/conf
414 $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/usr/share/freeswitch/examples/conf/
415 endef
416
417 define Package/freeswitch-config-upstream-defaults/install
418 $(INSTALL_DIR) $(1)/etc/freeswitch
419 $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/
420 endef
421
422 define Package/freeswitch-collection-minimal/install
423 $(INSTALL_DIR) $(1)/etc/freeswitch
424 endef
425
426 define Package/freeswitch-collection-uci-minimal/install
427 $(INSTALL_DIR) $(1)/etc/freeswitch
428 endef
429
430 define Package/freeswitch-config-minimal/install
431 $(INSTALL_DIR) $(1)/etc/freeswitch
432 $(CP) ./files/etc.minimal/* $(1)/etc/freeswitch/
433 endef
434
435 define Package/freeswitch-sounds-en/install
436 $(INSTALL_DIR) $(1)/usr/share/freeswitch/sounds
437 $(CP) $(PKG_INSTALL_DIR)/usr/share/freeswitch/sounds/en $(1)/usr/share/freeswitch/sounds/
438 endef
439
440 define Package/freeswitch-sounds-moh/install
441 $(INSTALL_DIR) $(1)/usr/share/freeswitch/sounds
442 $(CP) $(PKG_INSTALL_DIR)/usr/share/freeswitch/sounds/music $(1)/usr/share/freeswitch/sounds/
443 endef
444
445 define Package/freeswitch-tools/install
446 $(INSTALL_DIR) $(1)/usr/bin
447 $(CP) $(PKG_INSTALL_DIR)/usr/bin/fs_cli $(1)/usr/bin/
448 endef
449
450 # 1. Name
451 # 2. Title
452 # 3. Files
453 # 4. Inter Depends
454 # 5. Extra Depends
455 define BuildPlugin
456 define Package/freeswitch-mod-$(1)
457 $$(call Package/freeswitch/Default)
458 TITLE:= FS $(2) module
459 DEPENDS:= freeswitch $$(foreach m,$(4),+freeswitch-mod-$$m) $(5)
460 endef
461
462 define Package/freeswitch-mod-$(1)/install
463 [ -z "$(3)" ] || $(INSTALL_DIR) $$(1)/usr/lib/freeswitch
464 for f in $(3); do \
465 $(CP) \
466 $(PKG_INSTALL_DIR)/usr/lib/freeswitch/$$$$$$$${f}.so \
467 $$(1)/usr/lib/freeswitch/ ; \
468 done
469 if [ -d "./files/etc.packages/$(1)" ]; then \
470 $(INSTALL_DIR) $$(1)/etc/freeswitch ; \
471 $(CP) \
472 ./files/etc.packages/$(1)/* \
473 $$(1)/etc/freeswitch/ ; \
474 fi
475 endef
476
477 define Package/freeswitch-mod-$(1)/postinst
478 #!/bin/sh
479 sed -i -e 's|^\([ \t]*\)<!-- *\(.*\)"mod_$(subst -,_,$(1))"\(.*\) *-->\(.*\)$$$$|\1\2"mod_$(subst -,_,$(1))"\3\4|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml
480 endef
481
482 define Package/freeswitch-mod-$(1)/postrm
483 #!/bin/sh
484 sed -i -e 's|^\([ \t]*\)\(.*\)"mod_$(subst -,_,$(1))"\(.*\)$$$$|\1<!-- \2"mod_$(subst -,_,$(1))"\3 -->|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml
485 endef
486
487 $$(eval $$(call BuildPackage,freeswitch-mod-$(1)))
488 endef
489
490 $(eval $(call BuildPackage,freeswitch))
491 $(eval $(call BuildPackage,freeswitch-collection-upstream-defaults))
492 $(eval $(call BuildPackage,freeswitch-collection-minimal))
493 $(eval $(call BuildPackage,freeswitch-sounds-en))
494 $(eval $(call BuildPackage,freeswitch-sounds-moh))
495 $(eval $(call BuildPackage,freeswitch-tools))
496 $(eval $(call BuildPackage,freeswitch-example-config))
497 $(eval $(call BuildPackage,freeswitch-config-upstream-defaults))
498 $(eval $(call BuildPackage,freeswitch-config-minimal))
499
500 #$(eval $(call BuildPlugin,Name,Title,Files,Depends))
501 $(eval $(call BuildPlugin,alsa,Alsa endpoint,mod_alsa,,))
502 $(eval $(call BuildPlugin,amr,GSM-AMR codec,mod_amr,,))
503 $(eval $(call BuildPlugin,amrwb,GSM-AMRWB,mod_amrwb,,))
504 $(eval $(call BuildPlugin,bv,codec mod_bv,mod_bv,,))
505 $(eval $(call BuildPlugin,cdr-csv,CSV-CDR handler,mod_cdr_csv,,))
506 $(eval $(call BuildPlugin,celt,CELT ultra-low delay codec,mod_celt,,+libogg))
507 $(eval $(call BuildPlugin,cepstral,Cepstral interface,mod_cepstral,,@BROKEN)) # needs <swift.h>
508 $(eval $(call BuildPlugin,cidlookup,applications mod_cidlookup,mod_cidlookup,,))
509 $(eval $(call BuildPlugin,cluechoo,Framework Demo,mod_cluechoo,,))
510 $(eval $(call BuildPlugin,commands,API commands,mod_commands,,))
511 $(eval $(call BuildPlugin,conference,Conference room,mod_conference,,))
512 $(eval $(call BuildPlugin,console,Console logger,mod_console,,))
513 $(eval $(call BuildPlugin,curl,HTTP request,mod_curl,,+libcurl))
514 $(eval $(call BuildPlugin,dahdi-codec,DAHDI codecs,mod_dahdi_codec,,))
515 $(eval $(call BuildPlugin,dialplan-asterisk,Asterisk dialplan parser,mod_dialplan_asterisk,,))
516 $(eval $(call BuildPlugin,dialplan-directory,Dialplan-Directory interface,mod_dialplan_directory,,))
517 $(eval $(call BuildPlugin,dialplan-xml,Dialplan-XML interface,mod_dialplan_xml,,))
518 $(eval $(call BuildPlugin,dingaling,Jabber interface,mod_dingaling,,+libgnutls-openssl))
519 $(eval $(call BuildPlugin,directory,application mod_directory,mod_directory,,))
520 $(eval $(call BuildPlugin,distributor,application mod_distributor,mod_distributor,,))
521 $(eval $(call BuildPlugin,dptools,Dialplan tools,mod_dptools,,))
522 $(eval $(call BuildPlugin,easyroute,DID routing,mod_easyroute,,))
523 $(eval $(call BuildPlugin,enum,ENUM routing,mod_enum,,))
524 $(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,@BROKEN)) # needs <ei.h>
525 $(eval $(call BuildPlugin,esf,Extra SIP Functionality,mod_esf,,))
526 $(eval $(call BuildPlugin,event-multicast,Multicast event handler,mod_event_multicast,,))
527 $(eval $(call BuildPlugin,event-socket,Socket event handler,mod_event_socket,,))
528 $(eval $(call BuildPlugin,expr,Expression evaluation,mod_expr,,))
529 $(eval $(call BuildPlugin,fax,Fax,mod_fax,,+libjpeg @(!(powerpc)||BROKEN))) # fails in spandsp
530 $(eval $(call BuildPlugin,fifo,FIFO,mod_fifo,,))
531 $(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,))
532 $(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,@(!(armeb||avr32)||BROKEN)))
533 $(eval $(call BuildPlugin,fsv,Video,mod_fsv,,))
534 $(eval $(call BuildPlugin,g723-1,G.723.1 codec,mod_g723_1,,))
535 $(eval $(call BuildPlugin,g729,G.729 codec,mod_g729,,))
536 $(eval $(call BuildPlugin,h26x,H26X linear codec,mod_h26x,,))
537 $(eval $(call BuildPlugin,h323,h323 endpoint,mod_h323,,@BROKEN)) # missing header files (other packages needed)
538 $(eval $(call BuildPlugin,java,Java language interface,mod_java,,@BROKEN)) # needs java
539 $(eval $(call BuildPlugin,ilbc,ILBC codec,mod_ilbc,,))
540 $(eval $(call BuildPlugin,lcr,Least Cost Routing,mod_lcr,,))
541 $(eval $(call BuildPlugin,ldap,LDAP interface,mod_ldap,,@BROKEN)) # fails in openldap
542 $(eval $(call BuildPlugin,limit,Resource limitation,mod_limit,,))
543 $(eval $(call BuildPlugin,local-stream,Local streaming,mod_local_stream,,))
544 $(eval $(call BuildPlugin,logfile,File logger,mod_logfile,,))
545 $(eval $(call BuildPlugin,loopback,Loopback endpoint,mod_loopback,,))
546 $(eval $(call BuildPlugin,lua,Lua language interface,mod_lua,,+libstdcpp))
547 $(eval $(call BuildPlugin,managed,language mod_managed,mod_managed,,@BROKEN)) # needs Mono
548 $(eval $(call BuildPlugin,memcache,MemCached interface,mod_memcache,,@BROKEN)) # fails in libmemcached
549 $(eval $(call BuildPlugin,native-file,Native files,mod_native_file,,))
550 $(eval $(call BuildPlugin,nibblebill,Billing,mod_nibblebill,,))
551 $(eval $(call BuildPlugin,opal,Multi-Protocol endpoint,mod_opal,,@BROKEN)) # needs Opal
552 $(eval $(call BuildPlugin,openzap,Zaptel hardware interface,mod_openzap ozmod_analog ozmod_analog_em ozmod_isdn ozmod_skel ozmod_zt,,+libpcap))
553 $(eval $(call BuildPlugin,perl,Perl language interface,mod_perl,,+perl @BROKEN)) # needs Perl
554 $(eval $(call BuildPlugin,pocketsphinx,PocketSphinx SR,mod_pocketsphinx,,@BROKEN)) # fails in sphinxbase
555 $(eval $(call BuildPlugin,portaudio,Local audio endpoint,mod_portaudio,,+alsa-lib))
556 $(eval $(call BuildPlugin,portaudio-stream,format mod_portaudio_stream,mod_portaudio_stream,,))
557 $(eval $(call BuildPlugin,python,Python language interface,mod_python,,+python @BROKEN)) # needs Python
558 $(eval $(call BuildPlugin,radius-cdr,Radius-CDR interface,mod_radius_cdr,,@BROKEN)) # fails in freeradius-client
559 $(eval $(call BuildPlugin,rss,RRS feeds via TTS,mod_rss,,))
560 $(eval $(call BuildPlugin,say-de,German say,mod_say_de,,))
561 $(eval $(call BuildPlugin,say-en,English say,mod_say_en,,))
562 $(eval $(call BuildPlugin,say-es,Spanish say,mod_say_es,,))
563 $(eval $(call BuildPlugin,say-fr,French say,mod_say_fr,,))
564 $(eval $(call BuildPlugin,say-it,Italian say,mod_say_it,,))
565 $(eval $(call BuildPlugin,say-nl,Dutch say,mod_say_nl,,))
566 $(eval $(call BuildPlugin,say-ru,Russian say,mod_say_ru,,))
567 $(eval $(call BuildPlugin,say-th,mod_th say,mod_say_th,,))
568 $(eval $(call BuildPlugin,say-zh,Chineese say,mod_say_zh,,))
569 $(eval $(call BuildPlugin,shell-stream,,mod_shell_stream,,))
570 $(eval $(call BuildPlugin,shout,MP3 and Shoutcast stream,mod_shout,,@BROKEN)) # needs Ogg/Vorbis
571 $(eval $(call BuildPlugin,silk,codec mod_silk,mod_silk,,))
572 $(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,@BROKEN)) # fails in libg722_1 - attempts to execute cross-compiled binary on host
573 $(eval $(call BuildPlugin,skinny,endpoint mod_skinny,mod_skinny,,))
574 $(eval $(call BuildPlugin,skypopen,Skype compatible endpoint,mod_skypopen,,@BROKEN)) # needs <X11/Xlib.h>
575 $(eval $(call BuildPlugin,sangoma-codec,codec sangoma-codec,mod_sangoma_codec,,@BROKEN)) # Untested
576 $(eval $(call BuildPlugin,snapshot,application mod_snapshot,mod_snapshot,,))
577 $(eval $(call BuildPlugin,snipe-hunt,application mod_snipe_hunt,mod_snipe_hunt,,))
578 $(eval $(call BuildPlugin,sndfile,Multi-Format file transcoder,mod_sndfile,,))
579 $(eval $(call BuildPlugin,snom,SNOM specific features,mod_snom,,))
580 $(eval $(call BuildPlugin,sofia,SIP,mod_sofia,,))
581 $(eval $(call BuildPlugin,soundtouch,Sound effects,mod_soundtouch,,@BROKEN)) # fails in soundtouch
582 $(eval $(call BuildPlugin,speex,Speex codec,mod_speex,,))
583 $(eval $(call BuildPlugin,spidermonkey,JavaScript,mod_spidermonkey,,@BROKEN)) # fails in js
584 $(eval $(call BuildPlugin,spidermonkey-core_db,JavaScript DB,mod_spidermonkey_core_db,,@BROKEN))
585 $(eval $(call BuildPlugin,spidermonkey-curl,JavaScript Curl,mod_spidermonkey_curl,,@BROKEN))
586 $(eval $(call BuildPlugin,spidermonkey-odbc,JavaScript ODBC,mod_spidermonkey_odbc,,@BROKEN))
587 $(eval $(call BuildPlugin,spidermonkey-socket,JavaScript socket,mod_spidermonkey_socket,,@BROKEN))
588 $(eval $(call BuildPlugin,spidermonkey-teletone,JavaScript teletone,mod_spidermonkey_teletone,,@BROKEN))
589 $(eval $(call BuildPlugin,spy,User spy,mod_spy,,))
590 $(eval $(call BuildPlugin,stress,application mod_stress,mod_stress,,))
591 $(eval $(call BuildPlugin,syslog,SysLog logger,mod_syslog,,))
592 $(eval $(call BuildPlugin,tone-stream,Tone generation stream,mod_tone_stream,,))
593 $(eval $(call BuildPlugin,unimrcp,MRCP interface,mod_unimrcp,,))
594 $(eval $(call BuildPlugin,valet-parking,application mod_valet_parking,mod_valet_parking,,))
595 $(eval $(call BuildPlugin,vmd,VoiceMail beep detection,mod_vmd,,))
596 $(eval $(call BuildPlugin,voicemail,VoiceMail,mod_voicemail,,))
597 $(eval $(call BuildPlugin,voipcodecs,VoIP codecs,mod_voipcodecs,,@(!(powerpc)||BROKEN))) # fails in spandsp
598 $(eval $(call BuildPlugin,xml-cdr,XML-CDR handler,mod_xml_cdr,,+libcurl))
599 $(eval $(call BuildPlugin,xml-curl,XML-Curl gateway,mod_xml_curl,,+libcurl))
600 $(eval $(call BuildPlugin,xml-ldap,LDAP-XML gateway,mod_xml_ldap,,@BROKEN)) # fails in openldap
601 $(eval $(call BuildPlugin,xml-rpc,XML-RPC interface,mod_xml_rpc,,))
602 $(eval $(call BuildPlugin,yaml,YAML dialplans,mod_yaml,,))
603