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