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