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