2539b43969055adae061084a964f876059e3e1b8
[packages.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 endef
186
187 # mod_lua is included in FreeSWITCH minimal because it is intended to be used
188 # by the LuCI / ucitrigger interface to FreeSWITCH on OpenWRT
189
190 define Package/freeswitch-minimal
191 $(call Package/freeswitch/Default)
192   TITLE:=FreeSWITCH minimal config
193   DEPENDS:= freeswitch \
194                 +freeswitch-mod-commands \
195                 +freeswitch-mod-console \
196                 +freeswitch-mod-dialplan-xml \
197                 +freeswitch-mod-dptools \
198                 +freeswitch-mod-local-stream \
199                 +freeswitch-mod-sndfile \
200                 +freeswitch-mod-sofia \
201                 +freeswitch-mod-tone-stream \
202                 +freeswitch-mod-voipcodecs \
203                 +freeswitch-mod-lua
204 endef
205
206 define Package/freeswitch-sounds-en
207 $(call Package/freeswitch/Default)
208   TITLE:=FreeSWITCH english sounds
209   DEPENDS:= freeswitch
210 endef
211
212
213 define Package/freeswitch-sounds-moh
214 $(call Package/freeswitch/Default)
215   TITLE:=FreeSWITCH music-on-hold sounds
216   DEPENDS:= freeswitch
217 endef
218
219
220 define Package/freeswitch-tools
221 $(call Package/freeswitch/Default)
222   TITLE:=FreeSWITCH control tools
223   DEPENDS:= freeswitch
224 endef
225
226
227 define Download/files
228  define Download/$(1)
229   FILE:=$(2)
230   URL:=http://files.freeswitch.org/$(4)
231   MD5SUM:=$(3)
232  endef
233  define Prepare/$(1)
234   $(CP) $(DL_DIR)/$(2) $(PKG_BUILD_DIR)/$(5)
235  endef
236  $$(eval $$(call Download,$(1)))
237 endef
238
239 MAKE_INSTALL_TARGETS:=install
240
241 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-celt),)
242  $(eval $(call Download/files,celt,celt-0.6.1.tar.gz,2961ffb6fadb5f905d20de9f0d86e44c,downloads/libs/,libs/))
243 endif
244
245 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-curl),)
246  $(eval $(call Download/files,json-c,json-c-0.8.tar.gz,9c7b90dff16eec3063084829c382ebac,downloads/libs/,libs/))
247 endif
248
249 ifneq ($(CONFIG_PACKAGE_freeswitch-mod-flite),)
250  $(eval $(call Download/files,flite,flite-1.3.99.tar.gz,,downloads/libs/,libs/))
251 endif
252
253 ifneq ($(CONFIG_PACKAGE_freeswitch-sounds-en),)
254  $(eval $(call Download/files,sounds-en,freeswitch-sounds-en-us-callie-8000-1.0.10.tar.gz,f7f85aaf3763673c884ec3451f1c1c3e,,))
255         MAKE_INSTALL_TARGETS+= sounds-install
256 endif
257
258 ifneq ($(CONFIG_PACKAGE_freeswitch-sounds-moh),)
259  $(eval $(call Download/files,sounds-moh,freeswitch-sounds-music-8000-1.0.8.tar.gz,f63ef3cc3507af079ae5c7b8b8a01e42,,))
260         MAKE_INSTALL_TARGETS+= moh-install
261 endif
262
263 FS_TARGET_CFLAGS = ${TARGET_CFLAGS} -DLUA_USE_LINUX $(FPIC) -std=gnu99
264 FS_TARGET_CXXFLAGS = ${TARGET_CXXFLAGS} -DLUA_USE_LINUX $(FPIC)
265 FS_TARGET_CPPFLAGS = -I. -I./lua ${TARGET_CPPFLAGS}
266
267 ifneq ($(CONFIG_USE_EGLIBC),)
268   ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
269     TARGET_CFLAGS += -DNO_GETLOGIN
270   endif
271 endif
272
273 CONFIGURE_ARGS+= \
274         --prefix="/usr/freeswitch" \
275         --bindir="/usr/bin" \
276         --libdir="/usr/lib" \
277         --sysconfdir="/etc/freeswitch" \
278         --with-modinstdir="/usr/lib/freeswitch" \
279         --enable-ipv6 \
280         \
281         --with-libcurl="$(STAGING_DIR)/usr" \
282         --with-openssl="$(STAGING_DIR)/usr" \
283         --with-random="/dev/urandom" \
284         --without-erlang \
285         --without-java \
286         --without-mysql \
287         --without-pgsql \
288         --without-python \
289         --disable-zrtp \
290
291 CONFIGURE_VARS+= \
292         config_TARGET_CC="${TARGET_CC}" \
293         config_TARGET_CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
294         config_TARGET_CXX="${TARGET_CXX}" \
295         config_TARGET_CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
296         config_TARGET_CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
297         config_BUILD_CC="${HOSTCC}" \
298         config_TARGET_READLINE_INC="${FS_TARGET_CPPFLAGS}" \
299         config_TARGET_READLINE_LIBS="${TARGET_LDFLAGS} -lreadline -lncurses" \
300         config_TARGET_LIBS="${TARGET_LDFLAGS} -lpthread" \
301         CC_FOR_BUILD="${HOSTCC}" \
302         LDFLAGS_FOR_BUILD="${HOST_LDFLAGS}" \
303         CC="${TARGET_CC}" \
304         CXX="${TARGET_CXX}" \
305         CFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CFLAGS}" \
306         CXXFLAGS="${FS_TARGET_CPPFLAGS} ${FS_TARGET_CXXFLAGS}" \
307         CPPFLAGS="${FS_TARGET_CPPFLAGS}" \
308         LDFLAGS="${TARGET_LDFLAGS} -Wl,-rpath-link=\"${STAGING_DIR}/usr/lib\"" \
309         ac_cv_dev_urandom="yes" \
310         ac_cv_file_dbd_apr_dbd_mysql_c="no" \
311         ac_cv_file__dev_random="no" \
312         ac_cv_file__dev_urandom="yes" \
313         ac_cv_file___dev_urandom_="yes" \
314         ac_cv_func_mmap_fixed_mapped="yes" \
315         ac_cv_func_pthread_rwlock_init="yes" \
316         ac_cv_struct_rlimit="yes" \
317         apr_cv_mutex_recursive="yes" \
318         apr_cv_process_shared_works="no" \
319         apr_cv_tcp_nodelay_with_cork="yes" \
320         apr_cv_type_rwlock_t="yes" \
321         ac_cv_path_LIBGNUTLS_CONFIG="no" \
322
323
324 define Build/Prepare
325 $(call Build/Prepare/Default)
326         $(call Prepare/celt)
327         $(call Prepare/flite)
328         $(call Prepare/json-c)
329         $(call Prepare/sounds-en)
330         $(call Prepare/sounds-moh)
331 endef
332
333 define Build/Configure
334 $(call Build/Configure/Default)
335         $(foreach m,$(FS_MOD_AVAILABLE),
336                 $(if $(CONFIG_PACKAGE_freeswitch-mod-$(m)),
337                         $(SED) 's|^[ #]*\([^#]*/mod_$(subst -,_,$(m))\)$$$$|\1|g' $(PKG_BUILD_DIR)/modules.conf
338                 ,
339                         $(SED) 's|^\([^#]*/mod_$(subst -,_,$(m))\)$$$$|#\1|g' $(PKG_BUILD_DIR)/modules.conf
340                 )
341         )
342 endef
343
344 define Build/Compile
345         $(MAKE) -C $(PKG_BUILD_DIR) \
346                 DESTDIR="$(PKG_INSTALL_DIR)" \
347                 LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
348                 all $(MAKE_INSTALL_TARGETS)
349 endef
350
351 define Build/InstallDev
352         $(INSTALL_DIR) $(1)/usr/include/freeswitch
353         $(CP) $(PKG_INSTALL_DIR)/usr/freeswitch/include/* $(1)/usr/include/freeswitch/
354         $(INSTALL_DIR) $(1)/usr/lib
355         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.{a,so*} $(1)/usr/lib/
356 endef
357
358 define Package/freeswitch/install
359         $(INSTALL_DIR) $(1)/usr/bin
360         $(CP) $(PKG_INSTALL_DIR)/usr/bin/freeswitch $(1)/usr/bin/
361         $(INSTALL_DIR) $(1)/usr/lib
362         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.so.* $(1)/usr/lib/
363         $(INSTALL_DIR) $(1)/usr/lib/freeswitch
364         $(INSTALL_DIR) $(1)/etc/default
365         $(INSTALL_DATA) ./files/freeswitch.default $(1)/etc/default/freeswitch
366         $(INSTALL_DIR) $(1)/etc/init.d
367         $(INSTALL_BIN) ./files/freeswitch.init $(1)/etc/init.d/freeswitch
368         $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
369         $(INSTALL_DATA) ./files/freeswitch.hotplug $(1)/etc/hotplug.d/iface/90-freeswitch
370         $(INSTALL_DIR) $(1)/etc/config
371         $(INSTALL_DATA) ./files/freeswitch.config $(1)/etc/config/freeswitch
372 endef
373
374 define Package/freeswitch-default/install
375         $(INSTALL_DIR) $(1)/etc/freeswitch
376         $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/
377 endef
378
379 define Package/freeswitch-example-config/install
380         $(INSTALL_DIR) $(1)/usr/share/freeswitch/examples/conf
381         $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/usr/share/freeswitch/examples/conf/
382 endef
383
384 define Package/freeswitch-minimal/install
385         $(INSTALL_DIR) $(1)/etc/freeswitch
386 endef
387
388 define Package/freeswitch-sounds-en/install
389         $(INSTALL_DIR) $(1)/usr/freeswitch/sounds
390         $(CP) $(PKG_INSTALL_DIR)/usr/freeswitch/sounds/en $(1)/usr/freeswitch/sounds/
391 endef
392
393 define Package/freeswitch-sounds-moh/install
394         $(INSTALL_DIR) $(1)/usr/freeswitch/sounds
395         $(CP) $(PKG_INSTALL_DIR)/usr/freeswitch/sounds/music $(1)/usr/freeswitch/sounds/
396 endef
397
398 define Package/freeswitch-tools/install
399         $(INSTALL_DIR) $(1)/usr/bin
400         $(CP) $(PKG_INSTALL_DIR)/usr/bin/fs_cli $(1)/usr/bin/
401 endef
402
403 # 1. Name
404 # 2. Title
405 # 3. Files
406 # 4. Inter Depends
407 # 5. Extra Depends
408 define BuildPlugin
409   define Package/freeswitch-mod-$(1)
410     $$(call Package/freeswitch/Default)
411     TITLE:= FS $(2) module
412     DEPENDS:= freeswitch $$(foreach m,$(4),+freeswitch-mod-$$m) $(5)
413   endef
414
415   define Package/freeswitch-mod-$(1)/install
416         [ -z "$(3)" ] || $(INSTALL_DIR) $$(1)/usr/lib/freeswitch
417         for f in $(3); do \
418                 $(CP) \
419                         $(PKG_INSTALL_DIR)/usr/lib/freeswitch/$$$$$$$${f}.so \
420                         $$(1)/usr/lib/freeswitch/ ; \
421         done
422   endef
423
424   $$(eval $$(call BuildPackage,freeswitch-mod-$(1)))
425 endef
426
427 $(eval $(call BuildPackage,freeswitch))
428 $(eval $(call BuildPackage,freeswitch-default))
429 $(eval $(call BuildPackage,freeswitch-minimal))
430 $(eval $(call BuildPackage,freeswitch-sounds-en))
431 $(eval $(call BuildPackage,freeswitch-sounds-moh))
432 $(eval $(call BuildPackage,freeswitch-tools))
433 $(eval $(call BuildPackage,freeswitch-example-config))
434
435 #$(eval $(call BuildPlugin,Name,Title,Files,Depends))
436 $(eval $(call BuildPlugin,alsa,Alsa endpoint,mod_alsa,,+alsa-lib))
437 $(eval $(call BuildPlugin,amr,GSM-AMR codec,mod_amr,,))
438 $(eval $(call BuildPlugin,amrwb,GSM-AMRWB,mod_amrwb,,))
439 $(eval $(call BuildPlugin,bv,codec mod_bv,mod_bv,,))
440 $(eval $(call BuildPlugin,cdr-csv,CSV-CDR handler,mod_cdr_csv,,))
441 $(eval $(call BuildPlugin,celt,CELT ultra-low delay codec,mod_celt,,+libogg))
442 $(eval $(call BuildPlugin,cepstral,Cepstral interface,mod_cepstral,,@BROKEN)) # needs <swift.h>
443 $(eval $(call BuildPlugin,cidlookup,applications mod_cidlookup,mod_cidlookup,,))
444 $(eval $(call BuildPlugin,cluechoo,Framework Demo,mod_cluechoo,,))
445 $(eval $(call BuildPlugin,commands,API commands,mod_commands,,))
446 $(eval $(call BuildPlugin,conference,Conference room,mod_conference,,))
447 $(eval $(call BuildPlugin,console,Console logger,mod_console,,))
448 $(eval $(call BuildPlugin,curl,HTTP request,mod_curl,,+libcurl))
449 $(eval $(call BuildPlugin,dahdi-codec,DAHDI codecs,mod_dahdi_codec,,))
450 $(eval $(call BuildPlugin,dialplan-asterisk,Asterisk dialplan parser,mod_dialplan_asterisk,,))
451 $(eval $(call BuildPlugin,dialplan-directory,Dialplan-Directory interface,mod_dialplan_directory,,))
452 $(eval $(call BuildPlugin,dialplan-xml,Dialplan-XML interface,mod_dialplan_xml,,))
453 $(eval $(call BuildPlugin,dingaling,Jabber interface,mod_dingaling,,+libgnutls-openssl)) 
454 $(eval $(call BuildPlugin,directory,application mod_directory,mod_directory,,))
455 $(eval $(call BuildPlugin,distributor,application mod_distributor,mod_distributor,,))
456 $(eval $(call BuildPlugin,dptools,Dialplan tools,mod_dptools,,))
457 $(eval $(call BuildPlugin,easyroute,DID routing,mod_easyroute,,))
458 $(eval $(call BuildPlugin,enum,ENUM routing,mod_enum,,))
459 $(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,@BROKEN)) # needs <ei.h>
460 $(eval $(call BuildPlugin,esf,Extra SIP Functionality,mod_esf,,))
461 $(eval $(call BuildPlugin,event-multicast,Multicast event handler,mod_event_multicast,,))
462 $(eval $(call BuildPlugin,event-socket,Socket event handler,mod_event_socket,,))
463 $(eval $(call BuildPlugin,expr,Expression evaluation,mod_expr,,))
464 $(eval $(call BuildPlugin,fax,Fax,mod_fax,,@BROKEN +libjpeg)) # fails in spandsp
465 $(eval $(call BuildPlugin,fifo,FIFO,mod_fifo,,))
466 $(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,))
467 $(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,))
468 $(eval $(call BuildPlugin,fsv,Video,mod_fsv,,))
469 $(eval $(call BuildPlugin,g723-1,G.723.1 codec,mod_g723_1,,))
470 $(eval $(call BuildPlugin,g729,G.729 codec,mod_g729,,))
471 $(eval $(call BuildPlugin,h26x,H26X linear codec,mod_h26x,,))
472 $(eval $(call BuildPlugin,h323,h323 endpoint,mod_h323,,@BROKEN)) # missing header files (other packages needed)
473 $(eval $(call BuildPlugin,java,Java language interface,mod_java,,@BROKEN)) # needs java
474 $(eval $(call BuildPlugin,ilbc,ILBC codec,mod_ilbc,,))
475 $(eval $(call BuildPlugin,lcr,Least Cost Routing,mod_lcr,,))
476 $(eval $(call BuildPlugin,ldap,LDAP interface,mod_ldap,,@BROKEN)) # fails in openldap
477 $(eval $(call BuildPlugin,limit,Resource limitation,mod_limit,,))
478 $(eval $(call BuildPlugin,local-stream,Local streaming,mod_local_stream,,))
479 $(eval $(call BuildPlugin,logfile,File logger,mod_logfile,,))
480 $(eval $(call BuildPlugin,loopback,Loopback endpoint,mod_loopback,,))
481 $(eval $(call BuildPlugin,lua,Lua language interface,mod_lua,,+libstdcpp))
482 $(eval $(call BuildPlugin,managed,language mod_managed,mod_managed,,@BROKEN)) # needs Mono
483 $(eval $(call BuildPlugin,memcache,MemCached interface,mod_memcache,,@BROKEN)) # fails in libmemcached
484 $(eval $(call BuildPlugin,native-file,Native files,mod_native_file,,))
485 $(eval $(call BuildPlugin,nibblebill,Billing,mod_nibblebill,,))
486 $(eval $(call BuildPlugin,opal,Multi-Protocol endpoint,mod_opal,,@BROKEN)) # needs Opal
487 $(eval $(call BuildPlugin,openzap,Zaptel hardware interface,mod_openzap ozmod_analog ozmod_analog_em ozmod_isdn ozmod_skel ozmod_ss7_boost ozmod_zt,,+libpcap))
488 $(eval $(call BuildPlugin,perl,Perl language interface,mod_perl,,+perl @BROKEN)) # needs Perl
489 $(eval $(call BuildPlugin,pocketsphinx,PocketSphinx SR,mod_pocketsphinx,,@BROKEN)) # fails in sphinxbase
490 $(eval $(call BuildPlugin,portaudio,Local audio endpoint,mod_portaudio,,+alsa-lib))
491 $(eval $(call BuildPlugin,portaudio-stream,format mod_portaudio_stream,mod_portaudio_stream,,))
492 $(eval $(call BuildPlugin,python,Python language interface,mod_python,,+python @BROKEN)) # needs Python
493 $(eval $(call BuildPlugin,radius-cdr,Radius-CDR interface,mod_radius_cdr,,@BROKEN)) # fails in freeradius-client
494 $(eval $(call BuildPlugin,rss,RRS feeds via TTS,mod_rss,,))
495 $(eval $(call BuildPlugin,say-de,German say,mod_say_de,,))
496 $(eval $(call BuildPlugin,say-en,English say,mod_say_en,,))
497 $(eval $(call BuildPlugin,say-es,Spanish say,mod_say_es,,))
498 $(eval $(call BuildPlugin,say-fr,French say,mod_say_fr,,))
499 $(eval $(call BuildPlugin,say-it,Italian say,mod_say_it,,))
500 $(eval $(call BuildPlugin,say-nl,Dutch say,mod_say_nl,,))
501 $(eval $(call BuildPlugin,say-ru,Russian say,mod_say_ru,,))
502 $(eval $(call BuildPlugin,say-th,mod_th say,mod_say_th,,))
503 $(eval $(call BuildPlugin,say-zh,Chineese say,mod_say_zh,,))
504 $(eval $(call BuildPlugin,shell-stream,,mod_shell_stream,,))
505 $(eval $(call BuildPlugin,shout,MP3 and Shoutcast stream,mod_shout,,@BROKEN)) # needs Ogg/Vorbis
506 $(eval $(call BuildPlugin,silk,codec mod_silk,mod_silk,,))
507 $(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,@BROKEN)) # fails in libg722_1 - attempts to execute cross-compiled binary on host
508 $(eval $(call BuildPlugin,skinny,endpoint mod_skinny,mod_skinny,,))
509 $(eval $(call BuildPlugin,skypopen,Skype compatible endpoint,mod_skypopen,,@BROKEN)) # needs <X11/Xlib.h>
510 $(eval $(call BuildPlugin,sangoma-codec,codec sangoma-codec,mod_sangoma_codec,,@BROKEN)) # Untested
511 $(eval $(call BuildPlugin,snapshot,application mod_snapshot,mod_snapshot,,))
512 $(eval $(call BuildPlugin,snipe-hunt,application mod_snipe_hunt,mod_snipe_hunt,,))
513 $(eval $(call BuildPlugin,sndfile,Multi-Format file transcoder,mod_sndfile,,))
514 $(eval $(call BuildPlugin,snom,SNOM specific features,mod_snom,,))
515 $(eval $(call BuildPlugin,sofia,SIP,mod_sofia,,))
516 $(eval $(call BuildPlugin,soundtouch,Sound effects,mod_soundtouch,,@BROKEN)) # fails in soundtouch
517 $(eval $(call BuildPlugin,speex,Speex codec,mod_speex,,))
518 $(eval $(call BuildPlugin,spidermonkey,JavaScript,mod_spidermonkey,,@BROKEN)) # fails in js
519 $(eval $(call BuildPlugin,spidermonkey-core_db,JavaScript DB,mod_spidermonkey_core_db,,@BROKEN))
520 $(eval $(call BuildPlugin,spidermonkey-curl,JavaScript Curl,mod_spidermonkey_curl,,@BROKEN))
521 $(eval $(call BuildPlugin,spidermonkey-odbc,JavaScript ODBC,mod_spidermonkey_odbc,,@BROKEN))
522 $(eval $(call BuildPlugin,spidermonkey-socket,JavaScript socket,mod_spidermonkey_socket,,@BROKEN))
523 $(eval $(call BuildPlugin,spidermonkey-teletone,JavaScript teletone,mod_spidermonkey_teletone,,@BROKEN))
524 $(eval $(call BuildPlugin,spy,User spy,mod_spy,,))
525 $(eval $(call BuildPlugin,stress,application mod_stress,mod_stress,,))
526 $(eval $(call BuildPlugin,syslog,SysLog logger,mod_syslog,,))
527 $(eval $(call BuildPlugin,tone-stream,Tone generation stream,mod_tone_stream,,))
528 $(eval $(call BuildPlugin,unimrcp,MRCP interface,mod_unimrcp,,))
529 $(eval $(call BuildPlugin,valet-parking,application mod_valet_parking,mod_valet_parking,,))
530 $(eval $(call BuildPlugin,vmd,VoiceMail beep detection,mod_vmd,,))
531 $(eval $(call BuildPlugin,voicemail,VoiceMail,mod_voicemail,,))
532 $(eval $(call BuildPlugin,voipcodecs,VoIP codecs,mod_voipcodecs,,))
533 $(eval $(call BuildPlugin,xml-cdr,XML-CDR handler,mod_xml_cdr,,+libcurl))
534 $(eval $(call BuildPlugin,xml-curl,XML-Curl gateway,mod_xml_curl,,+libcurl))
535 $(eval $(call BuildPlugin,xml-ldap,LDAP-XML gateway,mod_xml_ldap,,@BROKEN)) # fails in openldap
536 $(eval $(call BuildPlugin,xml-rpc,XML-RPC interface,mod_xml_rpc,,))
537 $(eval $(call BuildPlugin,yaml,YAML dialplans,mod_yaml,,))
538