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