PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://git.$(PKG_NAME).org/$(PKG_NAME).git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=86d757d61bd82a73a13fbc387f788c33436c295d
+PKG_SOURCE_VERSION:=2146583663a5067f6ff71df1e48c3bb900e89db8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
alsa \
amr \
amrwb \
+ avmd \
bv \
+ callcenter \
cdr-csv \
+ cdr-pg-csv \
+ cdr-sqlite \
celt \
cepstral \
cidlookup \
console \
curl \
dahdi-codec \
+ db \
dialplan-asterisk \
dialplan-directory \
dialplan-xml \
esf \
event-multicast \
event-socket \
+ event-zmq \
expr \
fifo \
file-string \
h323 \
hash \
ilbc \
+ java \
lcr \
ldap \
local-stream \
say-en \
say-es \
say-fr \
+ say-hu \
say-it \
say-nl \
+ say-pt \
say-ru \
say-th \
say-zh \
sndfile \
snom \
sofia \
- soundtouch \
spandsp \
speex \
spidermonkey \
stress \
syslog \
tone-stream \
+ tts-commandline \
unimrcp \
valet-parking \
vmd \
+$(PKG_NAME)-mod-codec2 \
+$(PKG_NAME)-mod-commands \
+$(PKG_NAME)-mod-conference \
- +$(PKG_NAME)-mod-syslog \
+$(PKG_NAME)-mod-curl \
+$(PKG_NAME)-mod-dialplan-xml \
+ +$(PKG_NAME)-mod-dingaling \
+$(PKG_NAME)-mod-dptools \
+$(PKG_NAME)-mod-event-socket \
+$(PKG_NAME)-mod-g723-1 \
+ +$(PKG_NAME)-mod-g729 \
+$(PKG_NAME)-mod-hash \
+$(PKG_NAME)-mod-ilbc \
+$(PKG_NAME)-mod-local-stream \
+$(PKG_NAME)-mod-logfile \
+$(PKG_NAME)-mod-lua \
+$(PKG_NAME)-mod-native-file \
+ +$(PKG_NAME)-mod-siren \
+$(PKG_NAME)-mod-sndfile \
+$(PKG_NAME)-mod-sofia \
+ +$(PKG_NAME)-mod-spandsp \
+$(PKG_NAME)-mod-speex \
+ +$(PKG_NAME)-mod-syslog \
+$(PKG_NAME)-mod-tone-stream \
+$(PKG_NAME)-mod-xml-curl \
+$(PKG_NAME)-mod-xml-rpc \
+$(PKG_NAME)-config-minimal \
+$(PKG_NAME)-mod-codec2 \
+$(PKG_NAME)-mod-commands \
- +$(PKG_NAME)-mod-syslog \
+$(PKG_NAME)-mod-dialplan-xml \
+$(PKG_NAME)-mod-dptools \
+$(PKG_NAME)-mod-event-socket \
+$(PKG_NAME)-mod-local-stream \
+$(PKG_NAME)-mod-sndfile \
+$(PKG_NAME)-mod-sofia \
+ +$(PKG_NAME)-mod-syslog \
+$(PKG_NAME)-mod-tone-stream \
+$(PKG_NAME)-tools
endef
FS_TARGET_CXXFLAGS:= ${TARGET_CXXFLAGS} -DLUA_USE_LINUX $(FPIC) -Wno-format
FS_TARGET_CPPFLAGS:= -I. -I./lua ${TARGET_CPPFLAGS}
+
CONFIGURE_ARGS+= \
--prefix="/usr/share/$(PKG_NAME)" \
--bindir="/usr/bin" \
--sysconfdir="/etc/$(PKG_NAME)" \
--with-modinstdir="/usr/lib/$(PKG_NAME)" \
--enable-ipv6 \
- --disable-zrtp \
+ --enable-optimization \
--with-random="/dev/urandom" \
- --without-mysql \
- $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-cdr-pg-csv),--with-pgsql="$(STAGING_DIR)/usr",--without-pgsql) \
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-celt),--with-ogg="$(STAGING_DIR)/usr",--without-iogg) \
- $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-curl),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \
+ $(if ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-curl)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-cdr)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-curl)),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-dingaling),--with-openssl="$(STAGING_DIR)/usr",--without-openssl) \
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-java),--with-java="$(STAGING_DIR)/usr",--without-java) \
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-spandsp),--enable-builtin-tiff,) \
- $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-cdr),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \
- $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-curl),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \
+
CONFIGURE_VARS+= \
config_TARGET_CC="${TARGET_CC}" \
$(call Prepare/json-c)
$(call Prepare/sounds-en)
$(call Prepare/sounds-moh)
- (cd $(PKG_BUILD_DIR); [ -h noreg ] || touch noreg) # Just to shut up Cluecon reg.
+ (cd $(PKG_BUILD_DIR); [ -h noreg ] || touch noreg) # Just to shut up Cluecon reg. msg.
(cd $(PKG_BUILD_DIR); $(AM_TOOL_PATHS) ./bootstrap.sh)
endef
$(eval $(call BuildPlugin,alsa,Alsa endpoint,mod_alsa,,))
$(eval $(call BuildPlugin,amr,GSM-AMR codec,mod_amr,,))
$(eval $(call BuildPlugin,amrwb,GSM-AMRWB,mod_amrwb,,))
+$(eval $(call BuildPlugin,avmd,Advanced Voice Mail Detection,mod_avmd,,))
$(eval $(call BuildPlugin,bv,codec mod_bv,mod_bv,,))
+$(eval $(call BuildPlugin,callcenter,Call Center,mod_callcenter,,))
$(eval $(call BuildPlugin,cdr-csv,CSV-CDR handler,mod_cdr_csv,,))
-$(eval $(call BuildPlugin,cdr-pg-csv,Postgress CDR handler,mod_cdr_pg_csv,,+postgresql @BROKEN))
+$(eval $(call BuildPlugin,cdr-pg-csv,Postgress CDR handler,mod_cdr_pg_csv,,+postgresql))
+$(eval $(call BuildPlugin,cdr-sqlite,SQLite3 CDR handler,mod_cdr_sqlite,,+sqlite3))
$(eval $(call BuildPlugin,celt,CELT ultra-low delay codec,mod_celt,,+libogg))
$(eval $(call BuildPlugin,cepstral,Cepstral interface,mod_cepstral,,@BROKEN)) # needs <swift.h>
$(eval $(call BuildPlugin,cidlookup,applications mod_cidlookup,mod_cidlookup,,))
$(eval $(call BuildPlugin,console,Console logger,mod_console,,))
$(eval $(call BuildPlugin,curl,HTTP request,mod_curl,,+libcurl))
$(eval $(call BuildPlugin,dahdi-codec,DAHDI codecs,mod_dahdi_codec,,))
+$(eval $(call BuildPlugin,db,Dialplan & API to a database backend,mod_db,,))
$(eval $(call BuildPlugin,dialplan-asterisk,Asterisk dialplan parser,mod_dialplan_asterisk,,))
$(eval $(call BuildPlugin,dialplan-directory,Dialplan-Directory interface,mod_dialplan_directory,,))
$(eval $(call BuildPlugin,dialplan-xml,Dialplan-XML interface,mod_dialplan_xml,,))
$(eval $(call BuildPlugin,dptools,Dialplan tools,mod_dptools,,))
$(eval $(call BuildPlugin,easyroute,DID routing,mod_easyroute,,))
$(eval $(call BuildPlugin,enum,ENUM routing,mod_enum,,))
-$(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,@BROKEN)) # needs <ei.h>
+$(eval $(call BuildPlugin,erlang-event,Erlang event handler,mod_erlang_event,,+erlang))
$(eval $(call BuildPlugin,esf,Extra SIP Functionality,mod_esf,,))
$(eval $(call BuildPlugin,event-multicast,Multicast event handler,mod_event_multicast,,))
$(eval $(call BuildPlugin,event-socket,Socket event handler,mod_event_socket,,))
+$(eval $(call BuildPlugin,event-zmq,Socket event handler by Zero MQ,mod_event_zmq,,))
$(eval $(call BuildPlugin,expr,Expression evaluation,mod_expr,,))
$(eval $(call BuildPlugin,fifo,FIFO,mod_fifo,,))
-$(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,@OBSOLETE))
+$(eval $(call BuildPlugin,file-string,File streaming,mod_file_string,,@OBSOLETE)) # merged into dptools
$(eval $(call BuildPlugin,flite,Festival TTS,mod_flite,,@(!(armeb||avr32)||BROKEN)))
$(eval $(call BuildPlugin,fsv,Video,mod_fsv,,))
$(eval $(call BuildPlugin,g723-1,G.723.1 codec,mod_g723_1,,))
$(eval $(call BuildPlugin,h26x,H26X linear codec,mod_h26x,,))
$(eval $(call BuildPlugin,h323,h323 endpoint,mod_h323,,@BROKEN)) # missing header files (other packages needed)
$(eval $(call BuildPlugin,hash,API for manipulating a hash table,mod_hash,,))
-$(eval $(call BuildPlugin,java,Java language interface,mod_java,,@BROKEN)) # needs java
$(eval $(call BuildPlugin,ilbc,ILBC codec,mod_ilbc,,))
+$(eval $(call BuildPlugin,java,Java language interface,mod_java,,@BROKEN)) # needs java
$(eval $(call BuildPlugin,lcr,Least Cost Routing,mod_lcr,,))
$(eval $(call BuildPlugin,ldap,LDAP interface,mod_ldap,,@BROKEN)) # fails in openldap
$(eval $(call BuildPlugin,local-stream,Local streaming,mod_local_stream,,))
$(eval $(call BuildPlugin,say-en,English say,mod_say_en,,))
$(eval $(call BuildPlugin,say-es,Spanish say,mod_say_es,,))
$(eval $(call BuildPlugin,say-fr,French say,mod_say_fr,,))
+$(eval $(call BuildPlugin,say-hu,Hungarian say,mod_say_hu,,))
$(eval $(call BuildPlugin,say-it,Italian say,mod_say_it,,))
$(eval $(call BuildPlugin,say-nl,Dutch say,mod_say_nl,,))
+$(eval $(call BuildPlugin,say-pt,Portugeese say,mod_say_pt,,))
$(eval $(call BuildPlugin,say-ru,Russian say,mod_say_ru,,))
-$(eval $(call BuildPlugin,say-th,mod_th say,mod_say_th,,))
+$(eval $(call BuildPlugin,say-th,Thai say,mod_say_th,,))
$(eval $(call BuildPlugin,say-zh,Chineese say,mod_say_zh,,))
-$(eval $(call BuildPlugin,shell-stream,,mod_shell_stream,,))
+$(eval $(call BuildPlugin,shell-stream,Shell stream,mod_shell_stream,,))
$(eval $(call BuildPlugin,shout,MP3 and Shoutcast stream,mod_shout,,@BROKEN)) # needs Ogg/Vorbis
$(eval $(call BuildPlugin,silk,codec mod_silk,mod_silk,,))
-$(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,@BROKEN)) # fails in libg722_1 - attempts to execute cross-compiled binary on host
+$(eval $(call BuildPlugin,siren,G.722.1 codec,mod_siren,,))
$(eval $(call BuildPlugin,skinny,endpoint mod_skinny,mod_skinny,,))
$(eval $(call BuildPlugin,skypopen,Skype compatible endpoint,mod_skypopen,,@BROKEN)) # needs <X11/Xlib.h>
$(eval $(call BuildPlugin,sangoma-codec,codec sangoma-codec,mod_sangoma_codec,,@BROKEN)) # Untested
$(eval $(call BuildPlugin,snapshot,application mod_snapshot,mod_snapshot,,))
-$(eval $(call BuildPlugin,snipe-hunt,application mod_snipe_hunt,mod_snipe_hunt,,))
$(eval $(call BuildPlugin,sndfile,Multi-Format file transcoder,mod_sndfile,,))
+$(eval $(call BuildPlugin,snipe-hunt,application mod_snipe_hunt,mod_snipe_hunt,,))
$(eval $(call BuildPlugin,snom,SNOM specific features,mod_snom,,))
$(eval $(call BuildPlugin,sofia,SIP,mod_sofia,,))
-$(eval $(call BuildPlugin,soundtouch,Sound effects,mod_soundtouch,,@BROKEN)) # fails in soundtouch
$(eval $(call BuildPlugin,spandsp,Span DSP,mod_spandsp,,+libjpeg))
$(eval $(call BuildPlugin,speex,Speex codec,mod_speex,,))
$(eval $(call BuildPlugin,spidermonkey,JavaScript,mod_spidermonkey,,@BROKEN)) # fails in js
$(eval $(call BuildPlugin,stress,application mod_stress,mod_stress,,))
$(eval $(call BuildPlugin,syslog,SysLog logger,mod_syslog,,))
$(eval $(call BuildPlugin,tone-stream,Tone generation stream,mod_tone_stream,,))
+$(eval $(call BuildPlugin,tts-commandline,ASR TTS cli,mod_tts_commandline,,))
$(eval $(call BuildPlugin,unimrcp,MRCP interface,mod_unimrcp,,))
$(eval $(call BuildPlugin,valet-parking,application mod_valet_parking,mod_valet_parking,,))
$(eval $(call BuildPlugin,vmd,VoiceMail beep detection,mod_vmd,,))
<modules>
<!-- Loggers (I'd load these first) -->
- <!-- <load module="mod_console"/> -->
- <!-- <load module="mod_logfile"/> -->
+ <load module="mod_console"/>
+ <load module="mod_logfile"/>
<load module="mod_syslog"/>
<!--<load module="mod_yaml"/>-->
<!-- Multi-Faceted -->
<!-- mod_enum is a dialplan interface, an application interface and an api command interface -->
- <!-- <load module="mod_enum"/> -->
+ <load module="mod_enum"/>
<!-- XML Interfaces -->
<!-- <load module="mod_xml_rpc"/> -->
<!-- Event Handlers -->
<!-- <load module="mod_cdr_csv"/> -->
+ <!-- <load module="mod_cdr_sqlite"/> -->
<!-- <load module="mod_event_multicast"/> -->
<load module="mod_event_socket"/>
+ <!-- <load module="mod_event_zmq"/> -->
<!-- <load module="mod_zeroconf"/> -->
+ <!-- <load module="mod_erlang_event"/> -->
+ <!-- <load module="mod_snmp"/> -->
<!-- Directory Interfaces -->
<!-- <load module="mod_ldap"/> -->
<!-- Endpoints -->
- <!-- <load module="mod_dingaling"/> -->
+ <load module="mod_dingaling"/>
<!-- <load module="mod_portaudio"/> -->
<!-- <load module="mod_alsa"/> -->
<load module="mod_sofia"/>
- <!-- <load module="mod_loopback"/> -->
+ <load module="mod_loopback"/>
<!-- <load module="mod_woomera"/> -->
+ <!-- <load module="mod_freetdm"/> -->
<!-- <load module="mod_openzap"/> -->
<!-- <load module="mod_unicall"/> -->
+ <!-- <load module="mod_skinny"/> -->
+ <!-- <load module="mod_khomp"/> -->
<!-- Applications -->
<load module="mod_commands"/>
<!-- <load module="mod_conference"/> -->
+ <load module="mod_db"/>
<load module="mod_dptools"/>
<!-- <load module="mod_expr"/> -->
<!-- <load module="mod_fifo"/> -->
+ <load module="mod_hash"/>
<!-- <load module="mod_voicemail"/> -->
<!--<load module="mod_directory"/>-->
- <!--<load module="mod_fax"/>-->
+ <!--<load module="mod_distributor"/>-->
<!--<load module="mod_lcr"/>-->
- <!-- <load module="mod_limit"/> -->
<!-- <load module="mod_esf"/> -->
<!-- <load module="mod_fsv"/> -->
<!-- <load module="mod_cluechoo"/> -->
<!-- <load module="mod_valet_parking"/> -->
+ <!--<load module="mod_fsk"/>-->
<!--<load module="mod_spy"/>-->
<!-- <load module="mod_curl"/> -->
<!-- SNOM Module -->
<!--<load module="mod_snom"/>-->
+ <!-- This one only works on Linux for now -->
+ <!--<load module="mod_ladspa"/>-->
+
<!-- Dialplan Interfaces -->
<!-- <load module="mod_dialplan_directory"/> -->
<load module="mod_dialplan_xml"/>
<!-- <load module="mod_dialplan_asterisk"/> -->
<!-- Codec Interfaces -->
- <load module="mod_voipcodecs"/>
- <!-- <load module="mod_g723_1"/> -->
- <!-- <load module="mod_g729"/> -->
+ <!-- <load module="mod_spandsp"/> -->
+ <load module="mod_g723_1"/>
+ <load module="mod_g729"/>
<!-- <load module="mod_amr"/> -->
- <!-- <load module="mod_ilbc"/> -->
+ <load module="mod_ilbc"/>
<!-- <load module="mod_speex"/> -->
<!-- <load module="mod_h26x"/> -->
- <!-- <load module="mod_siren"/> -->
+ <load module="mod_siren"/>
<!--<load module="mod_celt"/>-->
+ <!--<load module="mod_opus"/>-->
<!-- File Format Interfaces -->
<load module="mod_sndfile"/>
- <!-- <load module="mod_native_file"/> -->
+ <load module="mod_native_file"/>
+
<!--For icecast/mp3 streams/files-->
<!--<load module="mod_shout"/>-->
+
<!--For local streams (play all the files in a directory)-->
<load module="mod_local_stream"/>
<load module="mod_tone_stream"/>
- <!-- <load module="mod_file_string"/> -->
<!-- Timers -->
+ <!-- <load module="mod_timerfd"/> -->
<!-- Languages -->
+ <load module="mod_lua"/>
<!-- <load module="mod_spidermonkey"/> -->
<!-- <load module="mod_perl"/> -->
<!-- <load module="mod_python"/> -->
<!-- <load module="mod_java"/> -->
- <load module="mod_lua"/>
<!-- ASR /TTS -->
<!-- <load module="mod_flite"/> -->
<!-- <load module="mod_rss"/> -->
<!-- Say -->
- <!-- <load module="mod_say_en"/> -->
+ <load module="mod_say_en"/>
<!-- <load module="mod_say_ru"/> -->
<!-- <load module="mod_say_zh"/> -->