Guest User

OpenWRT Makefile (r25033) for FreeSWITCH v1.0.6

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