asterisk-13.x: fix for AST-2018-009
[feed/telephony.git] / net / asterisk-13.x / Makefile
1 #
2 # Copyright (C) 2016 - 2018 OpenWrt.org
3 # Copyright (C) 2016 Cesnet, z.s.p.o.
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=asterisk13
12 PKG_VERSION:=13.19.2
13 PKG_RELEASE:=3
14
15 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases/
17 PKG_HASH:=aab4bf95eea21a3864015d2a49a02e13e9f191f6a68acb0f7b1619da86ce3fb2
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
20 PKG_BUILD_DEPENDS:=libxml2/host
21
22 PKG_LICENSE:=GPL-2.0
23 PKG_LICENSE_FILES:=COPYING LICENSE
24 PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/asterisk13/install/module
29 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
30 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*$(2).so* $(1)/usr/lib/asterisk/modules/
31 endef
32
33 define Package/asterisk13/install/conffile
34 $(INSTALL_DIR) $(1)/etc/asterisk
35 $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$(2) $(1)/etc/asterisk/
36 endef
37
38 define Package/asterisk13/install/lib
39 $(INSTALL_DIR) $(1)/usr/lib
40 $(CP) $(PKG_INSTALL_DIR)/usr/lib/$(2).so* $(1)/usr/lib/
41 endef
42
43 define Package/asterisk13/install/sbin
44 $(INSTALL_DIR) $(1)/usr/sbin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(2) $(1)/usr/sbin/
46 endef
47
48 define Package/asterisk13/install/sounds
49 $(INSTALL_DIR) $(1)/usr/share/asterisk/sounds/
50 $(CP) $(PKG_INSTALL_DIR)/usr/share/asterisk/sounds/en/$(2) $(1)/usr/share/asterisk/sounds/
51 endef
52
53 define Package/$(PKG_NAME)/config
54 source "$(SOURCE)/Config.in"
55 endef
56
57 define BuildAsterisk13Module
58 define Package/asterisk13-$(1)
59 $$(call Package/asterisk13/Default)
60 TITLE:=$(2) support
61 DEPENDS:= asterisk13 $(patsubst +%,+PACKAGE_asterisk13-$(1):%,$(4))
62 endef
63
64 define Package/asterisk13-$(1)/conffiles
65 $(subst $(space),$(newline),$(foreach c,$(5),/etc/asterisk/$(c)))
66 endef
67
68 define Package/asterisk13-$(1)/description
69 This package provides support for '$(3)' in Asterisk.
70 endef
71
72 define Package/asterisk13-$(1)/install
73 $(foreach c,$(5),$(call Package/asterisk13/install/conffile,$$(1),$(c));)
74 $(foreach m,$(6),$(call Package/asterisk13/install/module,$$(1),$(m));)
75 $(foreach s,$(7),$(call Package/asterisk13/install/sounds,$$(1),$(s));)
76 $(foreach b,$(8),$(call Package/asterisk13/install/sbin,$$(1),$(b));)
77 endef
78
79 $$(eval $$(call BuildPackage,asterisk13-$(1)))
80 endef
81
82 define Package/asterisk13/Default
83 SUBMENU:=Telephony
84 SECTION:=net
85 CATEGORY:=Network
86 URL:=http://www.asterisk.org/
87 endef
88
89 define Package/asterisk13/Default/description
90 Asterisk is a complete PBX in software. It provides all of the features
91 you would expect from a PBX and more. Asterisk does voice over IP in three
92 protocols, and can interoperate with almost all standards-based telephony
93 equipment using relatively inexpensive hardware.
94 endef
95
96 define Package/asterisk13
97 $(call Package/asterisk13/Default)
98 TITLE:=Complete open source PBX, v$(PKG_VERSION)
99 MENU:=1
100 DEPENDS:=+jansson +libncurses +libopenssl +libpopt +libsqlite3 +libstdcpp +libuuid +libxml2 +libxslt +zlib
101 endef
102
103 define Package/asterisk13/description
104 $(call Package/asterisk13/Default/description)
105 endef
106
107 define Package/asterisk13/conffiles
108 /etc/asterisk/asterisk.conf
109 /etc/asterisk/acl.conf
110 /etc/asterisk/cel.conf
111 /etc/asterisk/ccss.conf
112 /etc/asterisk/cli.conf
113 /etc/asterisk/cli_permissions.conf
114 /etc/asterisk/codecs.conf
115 /etc/asterisk/dnsmgr.conf
116 /etc/asterisk/dsp.conf
117 /etc/asterisk/extconfig.conf
118 /etc/asterisk/extensions.conf
119 /etc/asterisk/features.conf
120 /etc/asterisk/http.conf
121 /etc/asterisk/indications.conf
122 /etc/asterisk/logger.conf
123 /etc/asterisk/manager.conf
124 /etc/asterisk/modules.conf
125 /etc/asterisk/res_config_sqlite3.conf
126 /etc/asterisk/stasis.conf
127 /etc/asterisk/udptl.conf
128 /etc/asterisk/users.conf
129 /etc/default/asterisk
130 /etc/init.d/asterisk
131 endef
132
133 AST_CFG_FILES:= \
134 asterisk.conf acl.conf cel.conf ccss.conf cli.conf \
135 cli_permissions.conf codecs.conf dnsmgr.conf dsp.conf extconfig.conf \
136 extensions.conf features.conf http.conf indications.conf \
137 logger.conf manager.conf modules.conf stasis.conf udptl.conf \
138 users.conf res_config_sqlite3.conf
139
140 AST_EMB_MODULES:=\
141 app_dial app_echo app_macro app_playback \
142 func_callerid func_logic func_strings func_timeout \
143 pbx_config res_crypto
144
145 define Package/asterisk13/install
146 $(call Package/asterisk13/install/lib,$(1),libasteriskssl)
147 $(call Package/asterisk13/install/sbin,$(1),asterisk)
148 $(call Package/asterisk13/install/sbin,$(1),safe_asterisk)
149 $(call Package/asterisk13/install/sbin,$(1),astgenkey)
150 $(foreach m,$(AST_CFG_FILES),$(call Package/asterisk13/install/conffile,$(1),$(m));)
151 $(foreach m,$(AST_EMB_MODULES),$(call Package/asterisk13/install/module,$(1),$(m));)
152 $(INSTALL_DIR) $(1)/usr/share/asterisk/sounds/
153 $(INSTALL_DIR) $(1)/etc/default
154 $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
155 $(INSTALL_DIR) $(1)/etc/init.d
156 $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
157 endef
158
159 define Package/asterisk13-sounds
160 $(call Package/asterisk13/Default)
161 TITLE:=Sounds support
162 DEPENDS:=asterisk13
163 endef
164
165 define Package/asterisk13-sounds/description
166 This package provides the sound-files for Asterisk-13.
167 endef
168
169 define Package/asterisk13-sounds/install
170 $(INSTALL_DIR) $(1)/usr/share/asterisk/sounds/
171 $(CP) $(PKG_INSTALL_DIR)/usr/share/asterisk/sounds/en/* $(1)/usr/share/asterisk/sounds/
172 rm -f $(1)/usr/share/asterisk/sounds/vm-*
173 endef
174
175 ifneq ($(CONFIG_PACKAGE_asterisk13-chan-dahdi),)
176 CONFIGURE_ARGS+= \
177 --with-dahdi="$(STAGING_DIR)/usr" \
178 --with-pri="$(STAGING_DIR)/usr" \
179 --with-tonezone="$(STAGING_DIR)/usr"
180 else
181 CONFIGURE_ARGS+= \
182 --without-dahdi \
183 --without-pri \
184 --without-tonezone
185 endif
186
187 # Pass CPPFLAGS in the CFLAGS as otherwise the build system will
188 # ignore them.
189 TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
190
191 CONFIGURE_ARGS+= \
192 --disable-xmldoc \
193 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-chan-alsa),--with-asound="$(STAGING_DIR)/usr",--without-asound) \
194 --without-execinfo \
195 --without-bluetooth \
196 --without-cap \
197 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-curl),--with-libcurl="$(STAGING_DIR)/usr",--without-curl) \
198 --without-curses \
199 --with-gsm=internal \
200 --without-gtk2 \
201 --with-ilbc=internal \
202 --without-isdnnet \
203 --without-misdn \
204 --without-nbs \
205 --without-neon \
206 --without-neon29 \
207 --with-libxml2 \
208 --with-ncurses="$(STAGING_DIR)/usr" \
209 --without-netsnmp \
210 --without-newt \
211 --without-ogg \
212 --without-osptk \
213 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pbx-lua),--with-lua="$(STAGING_DIR)/usr",--without-lua) \
214 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pgsql),--with-postgres="$(STAGING_DIR)/usr",--without-postgres) \
215 --with-popt="$(STAGING_DIR)/usr" \
216 --without-pwlib \
217 --without-radius \
218 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-fax-spandsp),--with-spandsp="$(STAGING_DIR)/usr",--without-spandsp) \
219 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-xmpp),--with-iksemel="$(STAGING_DIR)/usr",--without-iksemel) \
220 --without-sdl \
221 --without-sqlite \
222 --with-sqlite3="$(STAGING_DIR)/usr" \
223 --without-suppserv \
224 --without-tds \
225 --without-termcap \
226 --without-tinfo \
227 --without-vorbis \
228 --without-vpb \
229 --with-z="$(STAGING_DIR)/usr"
230
231 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-pjproject)$(CONFIG_PACKAGE_$(PKG_NAME)-res-srtp),)
232 CONFIGURE_ARGS+= \
233 --without-srtp
234 else
235 CONFIGURE_ARGS+= \
236 --with-srtp="$(STAGING_DIR)/usr"
237 endif
238
239 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-pjsip)$(CONFIG_PACKAGE_$(PKG_NAME)-res-pjproject)$(CONFIG_PACKAGE_$(PKG_NAME)-res-rtp-asterisk),)
240 CONFIGURE_ARGS+= \
241 --without-pjproject
242 else
243 CONFIGURE_ARGS+= \
244 --with-pjproject="$(STAGING_DIR)/usr"
245 endif
246
247 CONFIGURE_VARS += \
248 ac_cv_path_ac_pt_CONFIG_LIBXML2=$(STAGING_DIR)/host/bin/xml2-config
249
250 MAKE_FLAGS+= \
251 ASTDATADIR="/usr/share/asterisk" \
252 DESTDIR="$(PKG_INSTALL_DIR)"
253
254 # show full gcc arguments instead of [CC] and [LD]
255 MAKE_FLAGS+= \
256 NOISY_BUILD="yes"
257
258 # don't let asterisk mess with build flags
259 MAKE_FLAGS+= \
260 AST_FORTIFY_SOURCE="" \
261 DEBUG="" \
262 OPTIMIZE=""
263
264 AST_MENUSELECT_OPTS = \
265 --without-newt \
266 --without-curses \
267 --with-ncurses="$(STAGING_DIR_HOST)/usr" \
268 --with-libxml2="$(STAGING_DIR_HOST)/usr"
269
270 define Build/Configure
271 (cd $(PKG_BUILD_DIR); \
272 ./bootstrap.sh; \
273 );
274 $(call Build/Configure/Default)
275 (cd $(PKG_BUILD_DIR)/menuselect; \
276 ./bootstrap.sh; \
277 ./configure \
278 $(HOST_CONFIGURE_ARGS) \
279 $(AST_MENUSELECT_OPTS) \
280 LDFLAGS="$(HOST_LDFLAGS) -lxml2" \
281 CFLAGS="$(HOST_CFLAGS) -I$(STAGING_DIR)/host/include/libxml2" \
282 );
283 endef
284
285 define Build/Compile
286 $(MAKE) -C "$(PKG_BUILD_DIR)/menuselect" \
287 CFLAGS="$(HOST_CFLAGS) -I$(STAGING_DIR)/host/include/libxml2" \
288 LDFLAGS="$(HOST_LDFLAGS) -lxml2"
289 $(MAKE) -C "$(PKG_BUILD_DIR)" menuselect-tree
290 cd "$(PKG_BUILD_DIR)" && \
291 ./menuselect/menuselect \
292 --disable BUILD_NATIVE \
293 $(if $(CONFIG_ASTERISK13_LOW_MEMORY),--enable LOW_MEMORY) \
294 menuselect.makeopts
295 # Hack:
296 # When changing anything in MENUSELECT_CFLAGS the file ".lastclean"
297 # gets deleted. E.g. when compiling on x86 for x86 "--disable
298 # BUILD_NATIVE" changes MENUSELECT_CFLAGS and the file gets removed.
299 # But that will result in a rebuild attempt of menuselect which will
300 # likely fail. Prevent that by recreating ".lastclean".
301 $(CP) "$(PKG_BUILD_DIR)/.cleancount" "$(PKG_BUILD_DIR)/.lastclean"
302 $(call Build/Compile/Default,all install samples)
303 endef
304
305 define Build/InstallDev
306 $(INSTALL_DIR) $(1)/usr/include/asterisk-13/include/asterisk/
307 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-13/include/asterisk/
308 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-13/include/
309 endef
310
311 $(eval $(call BuildPackage,asterisk13))
312 $(eval $(call BuildPackage,asterisk13-sounds))
313
314 ################################
315 # AST modules
316 # Params:
317 # 1 - Package subname
318 # 2 - Package title
319 # 3 - Module description
320 # 4 - Module dependencies
321 # 5 - conf files
322 # 6 - module files
323 # 7 - sound files
324 # 8 - binary files
325 ################################
326 #$(eval $(call BuildAsterisk13Module,subname,title,module description,module dependencies,conf files,module files,sound files,binary files))
327
328 $(eval $(call BuildAsterisk13Module,app-alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID,,,app_alarmreceiver,,))
329 $(eval $(call BuildAsterisk13Module,app-authenticate,Authenticate commands,Execute arbitrary authenticate commands,,,app_authenticate,,))
330 $(eval $(call BuildAsterisk13Module,app-chanisavail,Channel availability check,support for checking if a channel is available,,,app_chanisavail,,))
331 $(eval $(call BuildAsterisk13Module,app-chanspy,Channel listen in,support for listening in on any channel,,,app_chanspy,,))
332 $(eval $(call BuildAsterisk13Module,app-confbridge,ConfBridge,Software bridge for multi-party audio conferencing,+asterisk13-bridge-builtin-features +asterisk13-bridge-simple +asterisk13-bridge-softmix,confbridge.conf,app_confbridge,,))
333 $(eval $(call BuildAsterisk13Module,app-dahdiras,Execute an ISDN RAS,support for executing an ISDN RAS using DAHDI,+asterisk13-chan-dahdi,,app_dahdiras,,))
334 $(eval $(call BuildAsterisk13Module,app-directed_pickup,Directed call pickup,support for directed call pickup,,,app_directed_pickup,,))
335 $(eval $(call BuildAsterisk13Module,app-disa,Direct Inward System Access,Direct Inward System Access,,,app_disa,,))
336 $(eval $(call BuildAsterisk13Module,app-exec,Exec application,support for application execution,,,app_exec,,))
337 $(eval $(call BuildAsterisk13Module,app-minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail,,extensions_minivm.conf minivm.conf,app_minivm,,))
338 $(eval $(call BuildAsterisk13Module,app-mixmonitor,Record a call and mix the audio,record a call and mix the audio during the recording,,,app_mixmonitor,,))
339 $(eval $(call BuildAsterisk13Module,app-originate,Originate a call,originating an outbound call and connecting it to a specified extension or application,,,app_originate,,))
340 $(eval $(call BuildAsterisk13Module,app-playtones,Playtones application,play a tone list,,,app_playtones,,))
341 $(eval $(call BuildAsterisk13Module,app-queue,True Call Queueing,support for ACD,,queues.conf queuerules.conf,app_queue,))
342 $(eval $(call BuildAsterisk13Module,app-read,Variable read,a trivial application to read a variable,,,app_read,,))
343 $(eval $(call BuildAsterisk13Module,app-readexten,Extension to variable,a trivial application to read an extension into a variable,,,app_readexten,,))
344 $(eval $(call BuildAsterisk13Module,app-record,Record sound file,to record a sound file,,,app_record,,))
345 $(eval $(call BuildAsterisk13Module,app-sayunixtime,Say Unix time,an application to say Unix time,,,app_sayunixtime,,))
346 $(eval $(call BuildAsterisk13Module,app-senddtmf,Send DTMF digits,Sends arbitrary DTMF digits,,,app_senddtmf,,))
347 $(eval $(call BuildAsterisk13Module,app-sms,SMS,SMS support (ETSI ES 201 912 protocol 1),+libpopt +libstdcpp,,app_sms,,))
348 $(eval $(call BuildAsterisk13Module,app-stack,Stack applications,Stack applications Gosub Return etc.,+asterisk13-res-agi,,app_stack,,))
349 $(eval $(call BuildAsterisk13Module,app-system,System exec,support for executing system commands,,,app_system,,))
350 $(eval $(call BuildAsterisk13Module,app-talkdetect,File playback with audio detect,for file playback with audio detect,,,app_talkdetect,,))
351 $(eval $(call BuildAsterisk13Module,app-verbose,Verbose logging,Verbose logging application,,,app_verbose,,))
352 $(eval $(call BuildAsterisk13Module,app-waituntil,Sleep,support sleeping until the given epoch,,,app_waituntil,,))
353 $(eval $(call BuildAsterisk13Module,app-while,While loop,a while loop implementation,,,app_while,,))
354 $(eval $(call BuildAsterisk13Module,bridge-builtin-features,Bridging features,built in bridging features,,,bridge_builtin_features))
355 $(eval $(call BuildAsterisk13Module,bridge-builtin-interval-features,Built in bridging interval features,built in bridging interval features,,,bridge_builtin_interval_features))
356 $(eval $(call BuildAsterisk13Module,bridge-holding,Bridging for storing channels in a bridge,bridging technology for storing channels in a bridge,,,bridge_holding))
357 $(eval $(call BuildAsterisk13Module,bridge-native-rtp,Native RTP bridging technology module,native RTP bridging technology module,,,bridge_native_rtp))
358 $(eval $(call BuildAsterisk13Module,bridge-simple,Simple two channel bridging module,simple two channel bridging module,,,bridge_simple))
359 $(eval $(call BuildAsterisk13Module,bridge-softmix,Multi-party software based channel mixing,multi-party software based channel mixing,,,bridge_softmix))
360 $(eval $(call BuildAsterisk13Module,cdr,Provides CDR,Call Detail Record,,cdr.conf cdr_custom.conf cdr_manager.conf cdr_syslog.conf,app_cdr app_forkcdr cdr_custom cdr_manager cdr_syslog func_cdr,,))
361 $(eval $(call BuildAsterisk13Module,cdr-csv,Provides CDR CSV,Call Detail Record with CSV support,,,cdr_csv,,))
362 $(eval $(call BuildAsterisk13Module,cdr-sqlite3,Provides CDR SQLITE3,Call Detail Record with SQLITE3 support,libsqlite3,,cdr_sqlite3_custom,,))
363 $(eval $(call BuildAsterisk13Module,chan-alsa,ALSA channel,the channel chan_alsa,+alsa-lib,alsa.conf,chan_alsa,,))
364 $(eval $(call BuildAsterisk13Module,chan-dahdi,DAHDI channel,DAHDI channel support,+dahdi-tools-libtonezone +kmod-dahdi +libpri @!aarch64,chan_dahdi.conf,chan_dahdi,,))
365 $(eval $(call BuildAsterisk13Module,chan-iax2,IAX2 channel,IAX support,+asterisk13-res-timing-timerfd,iax.conf iaxprov.conf,chan_iax2,,))
366 $(eval $(call BuildAsterisk13Module,chan-oss,OSS channel,the channel chan_oss,,oss.conf,chan_oss,,))
367 $(eval $(call BuildAsterisk13Module,chan-sip,SIP channel,the channel chan_sip,+asterisk13-app-confbridge,sip.conf sip_notify.conf,chan_sip,,))
368 $(eval $(call BuildAsterisk13Module,chan-skinny,Skinny channel,the channel chan_skinny,,skinny.conf,chan_skinny,,))
369 $(eval $(call BuildAsterisk13Module,chan-unistim,Unistim channel,channel driver for the UNISTIM (Unified Networks IP Stimulus) protocol,,unistim.conf,chan_unistim,,))
370 $(eval $(call BuildAsterisk13Module,codec-a-mu,Alaw to ulaw translation,translation between alaw and ulaw codecs,,,codec_a_mu,,))
371 $(eval $(call BuildAsterisk13Module,codec-adpcm,ADPCM text,ADPCM text ,,,codec_adpcm,,))
372 $(eval $(call BuildAsterisk13Module,codec-alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs,,,codec_alaw,,))
373 $(eval $(call BuildAsterisk13Module,codec-dahdi,DAHDI codec,DAHDI native transcoding support,+asterisk13-chan-dahdi,,codec_dahdi,,))
374 $(eval $(call BuildAsterisk13Module,codec-g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec,,,codec_g722,,))
375 $(eval $(call BuildAsterisk13Module,codec-g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs,,,codec_g726,,))
376 $(eval $(call BuildAsterisk13Module,codec-gsm,linear to GSM translation,translate between signed linear and GSM,,,codec_gsm,,))
377 $(eval $(call BuildAsterisk13Module,codec-ilbc,linear to ILBC translation,translate between signed linear and ILBC,,,codec_ilbc,,))
378 $(eval $(call BuildAsterisk13Module,codec-lpc10,Linear to LPC10 translation,translate between signed linear and LPC10,,,codec_lpc10,,))
379 $(eval $(call BuildAsterisk13Module,codec-resample,resample sLinear audio,resample sLinear audio,,,codec_resample,,))
380 $(eval $(call BuildAsterisk13Module,codec-ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs,,,codec_ulaw,,))
381 $(eval $(call BuildAsterisk13Module,curl,CURL,CURL support,+libcurl,,func_curl res_config_curl res_curl,,))
382 $(eval $(call BuildAsterisk13Module,format-g726,G.726,support for headerless G.726 16/24/32/40kbps data format,,,format_g726,,))
383 $(eval $(call BuildAsterisk13Module,format-g729,G.729,support for raw headerless G729 data,,,format_g729,,))
384 $(eval $(call BuildAsterisk13Module,format-gsm,GSM format,support for GSM format,,,format_gsm,,))
385 $(eval $(call BuildAsterisk13Module,format-h263,H263 format,support for H264 format,,,format_h263,,))
386 $(eval $(call BuildAsterisk13Module,format-h264,H264 format,support for H264 format,,,format_h264,,))
387 $(eval $(call BuildAsterisk13Module,format-ilbc,ILBC format,support for ILBC format,,,format_ilbc,,))
388 $(eval $(call BuildAsterisk13Module,format-pcm,PCM format,support for PCM format,,,format_pcm,,))
389 $(eval $(call BuildAsterisk13Module,format-sln,Raw slinear format,support for raw slinear format,,,format_sln,,))
390 $(eval $(call BuildAsterisk13Module,format-vox,VOX format,support for ADPCM vox format,,,format_vox,,))
391 $(eval $(call BuildAsterisk13Module,format-wav,WAV format (8000hz Signed Linear),support for proprietary Microsoft WAV format (8000hz Signed Linear),,,format_wav,,))
392 $(eval $(call BuildAsterisk13Module,format-wav-gsm,WAV format (Proprietary GSM),support for proprietary Microsoft WAV format (Proprietary GSM),,,format_wav_gsm,,))
393 $(eval $(call BuildAsterisk13Module,func-base64,base64 support,support of base64 function,,,func_base64,,))
394 $(eval $(call BuildAsterisk13Module,func-blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted,,,func_blacklist,,))
395 $(eval $(call BuildAsterisk13Module,func-channel,Channel info,Channel info dialplan function,,,func_channel,,))
396 $(eval $(call BuildAsterisk13Module,func-cut,CUT function,CUT function,,,func_cut,,))
397 $(eval $(call BuildAsterisk13Module,func-db,Database interaction,functions for interaction with the database,,,func_db app_db,))
398 $(eval $(call BuildAsterisk13Module,func-devstate,Blinky lights control,functions for manually controlled blinky lights,,,func_devstate,,))
399 $(eval $(call BuildAsterisk13Module,func-enum,ENUM,ENUM,,enum.conf,func_enum,))
400 $(eval $(call BuildAsterisk13Module,func-env,Environment functions,Environment dialplan functions,,,func_env,))
401 $(eval $(call BuildAsterisk13Module,func-extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control,,,func_extstate,,))
402 $(eval $(call BuildAsterisk13Module,func-global,Global variable,global variable dialplan functions,,,func_global,,))
403 $(eval $(call BuildAsterisk13Module,func-groupcount,Group count,for counting number of channels in the specified group,,,func_groupcount,,))
404 $(eval $(call BuildAsterisk13Module,func-math,Math functions,Math functions,,,func_math,))
405 $(eval $(call BuildAsterisk13Module,func-module,Simple module check function,Simple module check function,,,func_module,))
406 $(eval $(call BuildAsterisk13Module,func-presencestate,Hinted presence state,Gets or sets a presence state in the dialplan,,,func_presencestate,,))
407 $(eval $(call BuildAsterisk13Module,func-periodic-hook,Periodic dialplan hooks,Execute a periodic dialplan hook into the audio of a call,+$(PKG_NAME)-app-chanspy +$(PKG_NAME)-func-cut +$(PKG_NAME)-func-groupcount +$(PKG_NAME)-func-uri,,func_periodic_hook,,))
408 $(eval $(call BuildAsterisk13Module,func-realtime,realtime,the realtime dialplan function,,,func_realtime,,))
409 $(eval $(call BuildAsterisk13Module,func-shell,Shell,support for shell execution,,,func_shell,,))
410 $(eval $(call BuildAsterisk13Module,func-uri,URI encoding and decoding,Encodes and decodes URI-safe strings,,,func_uri,,))
411 $(eval $(call BuildAsterisk13Module,func-vmcount,vmcount dialplan,a vmcount dialplan function,,,func_vmcount,,))
412 $(eval $(call BuildAsterisk13Module,odbc,ODBC,ODBC support,+libpthread +libc +unixodbc,cdr_adaptive_odbc.conf cdr_odbc.conf cel_odbc.conf func_odbc.conf res_odbc.conf,cdr_adaptive_odbc cdr_odbc cel_odbc func_odbc res_config_odbc res_odbc res_odbc_transaction,,))
413 $(eval $(call BuildAsterisk13Module,pbx-ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic,+$(PKG_NAME)-res-ael-share,extensions.ael,pbx_ael,,))
414 $(eval $(call BuildAsterisk13Module,pbx-dundi,Dundi,provides Dundi Lookup service for Asterisk,,dundi.conf,pbx_dundi,,))
415 $(eval $(call BuildAsterisk13Module,pbx-realtime,Realtime Switch,realtime switch support,,,pbx_realtime,,))
416 $(eval $(call BuildAsterisk13Module,pbx-spool,Call Spool,outgoing call spool support,,,pbx_spool,,))
417 $(eval $(call BuildAsterisk13Module,pgsql,PostgreSQL,PostgreSQL support,+libpq @!arc,cel_pgsql.conf cdr_pgsql.conf res_pgsql.conf,cel_pgsql cdr_pgsql res_config_pgsql,,))
418 $(eval $(call BuildAsterisk13Module,pjsip,pjsip channel,the channel pjsip,+asterisk13-res-sorcery +asterisk13-res-pjproject +libpjsip +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsua +libpjsua2,pjsip.conf pjsip_notify.conf pjsip_wizard.conf,chan_pjsip func_pjsip_aor func_pjsip_contact func_pjsip_endpoint res_pjsip res_pjsip_acl res_pjsip_authenticator_digest res_pjsip_caller_id res_pjsip_config_wizard res_pjsip_dialog_info_body_generator res_pjsip_diversion res_pjsip_dlg_options res_pjsip_dtmf_info res_pjsip_empty_info res_pjsip_endpoint_identifier_anonymous res_pjsip_endpoint_identifier_ip res_pjsip_endpoint_identifier_user res_pjsip_exten_state res_pjsip_header_funcs res_pjsip_history res_pjsip_logger res_pjsip_messaging res_pjsip_mwi res_pjsip_mwi_body_generator res_pjsip_nat res_pjsip_notify res_pjsip_one_touch_record_info res_pjsip_outbound_authenticator_digest res_pjsip_outbound_publish res_pjsip_outbound_registration res_pjsip_path res_pjsip_pidf_body_generator res_pjsip_pidf_digium_body_supplement res_pjsip_pidf_eyebeam_body_supplement res_pjsip_publish_asterisk res_pjsip_pubsub res_pjsip_refer res_pjsip_registrar res_pjsip_registrar_expire res_pjsip_rfc3326 res_pjsip_sdp_rtp res_pjsip_send_to_voicemail res_pjsip_session res_pjsip_sips_contact res_pjsip_t38 res_pjsip_transport_websocket res_pjsip_xpidf_body_generator,,))
419 $(eval $(call BuildAsterisk13Module,res-adsi,Provide ADSI,Analog Display Services Interface capability,,,res_adsi,,))
420 $(eval $(call BuildAsterisk13Module,res-ael-share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules,,,res_ael_share,,))
421 $(eval $(call BuildAsterisk13Module,res-agi,Asterisk Gateway Interface,Support for the Asterisk Gateway Interface extension,+asterisk13-res-speech,,res_agi,,))
422 $(eval $(call BuildAsterisk13Module,res-calendar,Calendaring API,Calendaring support (ICal and Google Calendar),,calendar.conf,res_calendar,,))
423 $(eval $(call BuildAsterisk13Module,res-clioriginate,Calls via CLI,Originate calls via the CLI,,,res_clioriginate,,))
424 $(eval $(call BuildAsterisk13Module,res-fax,FAX modules,Generic FAX resource for FAX technology resource modules,+asterisk13-res-timing-pthread,res_fax.conf,res_fax,,))
425 $(eval $(call BuildAsterisk13Module,res-fax-spandsp,Spandsp T.38 and G.711,Spandsp T.38 and G.711 FAX Resource,+asterisk13-res-fax +libspandsp +libtiff,,res_fax_spandsp,,))
426 $(eval $(call BuildAsterisk13Module,res-hep,HEPv3 API,Routines for integration with Homer using HEPv3,,hep.conf,res_hep,,))
427 $(eval $(call BuildAsterisk13Module,res-hep-pjsip,PJSIP HEPv3 Logger,PJSIP logging with Homer,+asterisk13-res-hep +asterisk13-pjsip,,res_hep_pjsip,,))
428 $(eval $(call BuildAsterisk13Module,res-hep-rtcp,RTCP HEPv3 Logger,RTCP logging with Homer,+asterisk13-res-hep,,res_hep_rtcp,,))
429 $(eval $(call BuildAsterisk13Module,res-http-websocket,HTTP websocket support,WebSocket support for the Asterisk internal HTTP server,,,res_http_websocket,,))
430 $(eval $(call BuildAsterisk13Module,res-monitor,PBX channel monitoring,call monitoring resource,+$(PKG_NAME)-func-periodic-hook,,res_monitor,,))
431 $(eval $(call BuildAsterisk13Module,res-musiconhold,MOH,Music On Hold support,,musiconhold.conf,res_musiconhold,,))
432 $(eval $(call BuildAsterisk13Module,res-parking,Phone Parking,Phone Parking application,+$(PKG_NAME)-bridge-holding,res_parking.conf,res_parking,,))
433 $(eval $(call BuildAsterisk13Module,res-phoneprov,Phone Provisioning,Phone provisioning application for the asterisk internal http server,,phoneprov.conf,res_phoneprov,,))
434 $(eval $(call BuildAsterisk13Module,res-pjproject,Bridge PJPROJECT to Asterisk logging,,+libpj +libpjlib-util +libpjmedia +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsip +libpjsua +libpjsua2 +libsrtp,pjproject.conf,res_pjproject,,))
435 $(eval $(call BuildAsterisk13Module,res-realtime,Realtime,Realtime Interface,,,res_realtime,,))
436 $(eval $(call BuildAsterisk13Module,res-rtp-asterisk,RTP stack,Supports RTP and RTCP with Symmetric RTP support for NAT traversal,+libpjsip +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsua +libpjsua2,rtp.conf,res_rtp_asterisk,,))
437 $(eval $(call BuildAsterisk13Module,res-rtp-multicast,RTP multicast engine,Multicast RTP Engine,,,res_rtp_multicast,,))
438 $(eval $(call BuildAsterisk13Module,res-smdi,Provide SMDI,Simple Message Desk Interface capability,,smdi.conf,res_smdi,,))
439 $(eval $(call BuildAsterisk13Module,res-sorcery,Sorcery data layer,Sorcery backend modules for data access intended for using realtime as backend,,sorcery.conf,res_sorcery_astdb res_sorcery_config res_sorcery_memory res_sorcery_realtime,,))
440 $(eval $(call BuildAsterisk13Module,res-speech,Speech Recognition API,Support for the Asterisk Generic Speech Recognition API,,,res_speech,,))
441 $(eval $(call BuildAsterisk13Module,res-srtp,SRTP Support,Secure RTP connection,+libsrtp,,res_srtp,,))
442 $(eval $(call BuildAsterisk13Module,res-timing-dahdi,DAHDI Timing Interface,DAHDI timing interface,+asterisk13-chan-dahdi,,res_timing_dahdi,,))
443 $(eval $(call BuildAsterisk13Module,res-timing-pthread,pthread Timing Interface,POSIX pthreads Timing Interface,,,res_timing_pthread,,))
444 $(eval $(call BuildAsterisk13Module,res-timing-timerfd,Timerfd Timing Interface,Timing interface provided by Linux kernel,,,res_timing_timerfd,,))
445 $(eval $(call BuildAsterisk13Module,res-xmpp,XMPP client and component module,reference module for interfacting Asterisk directly as a client or component with XMPP server,+libiksemel +libopenssl,xmpp.conf,res_xmpp,,))
446 $(eval $(call BuildAsterisk13Module,voicemail,Voicemail,voicemail related modules,+asterisk13-res-adsi +asterisk13-res-smdi,voicemail.conf,app_voicemail,vm-*,))
447