c02c59aef0d55748d9aae514507bae14bfc2114b
[openwrt/svn-archive/archive.git] / net / asterisk-1.8.x / Makefile
1 #
2 # Copyright (C) 2008-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:=asterisk18
11 PKG_VERSION:=1.8.4.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
16 PKG_MD5SUM:=bc2a1168603815c23f204927d1e73239
17
18 PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/asterisk18/Default
23 SUBMENU:=Telephony
24 SECTION:=net
25 CATEGORY:=Network
26 URL:=http://www.asterisk.org/
27 MAINTAINER:=Hans Zandbelt <hans.zandbelt@gmail.com>
28 endef
29
30 define Package/asterisk18/Default/description
31 Asterisk is a complete PBX in software. It provides all of the features
32 you would expect from a PBX and more. Asterisk does voice over IP in three
33 protocols, and can interoperate with almost all standards-based telephony
34 equipment using relatively inexpensive hardware.
35 endef
36
37
38 define Package/asterisk18
39 $(call Package/asterisk18/Default)
40 TITLE:=Complete open source PBX, v1.8x
41 MENU:=1
42 DEPENDS:= +libopenssl +libncurses +libpopt +libpthread +zlib @!TARGET_avr32
43 endef
44
45 define Package/asterisk18/description
46 $(call Package/asterisk18/Default/description)
47 endef
48
49 define Package/asterisk18-sounds
50 $(call Package/asterisk18/Default)
51 TITLE:=Sound files
52 DEPENDS:= asterisk18
53 endef
54
55 define Package/asterisk18-sounds/description
56 $(call Package/asterisk18/Default/description)
57 This package contains sound files for Asterisk.
58 endef
59
60
61 define Package/asterisk18-voicemail
62 $(call Package/asterisk18/Default)
63 TITLE:=Voicemail support
64 DEPENDS:= asterisk18
65 endef
66
67 define Package/asterisk18-voicemail/description
68 $(call Package/asterisk18/Default/description)
69 This package contains voicemail related modules for Asterisk.
70 endef
71
72 define Package/asterisk18-app-meetme
73 $(call Package/asterisk18/Default)
74 TITLE:=conferencing support
75 DEPENDS:= asterisk18 +dahdi-tools-libtonezone +kmod-dahdi-linux
76 endef
77
78 define Package/asterisk18-app-meetme/description
79 $(call Package/asterisk18/Default/description)
80 This package provides the MeetMe application driver Conferencing support to
81 Asterisk.
82 endef
83
84 define Package/asterisk18-chan-iax2
85 $(call Package/asterisk18/Default)
86 TITLE:=IAX support
87 DEPENDS:= asterisk18 +asterisk18-res-crypto
88 endef
89
90 define Package/asterisk18-chan-iax2/description
91 $(call Package/asterisk18/Default/description)
92 This package provides IAX support to
93 Asterisk.
94 endef
95
96 define Package/asterisk18-cdr
97 $(call Package/asterisk18/Default)
98 TITLE:=CDR support
99 DEPENDS:= asterisk18
100 endef
101
102 define Package/asterisk18-cdr/description
103 $(call Package/asterisk18/Default/description)
104 This package provides Call Detail Record support to
105 Asterisk.
106 endef
107
108 define Package/asterisk18-res-musiconhold
109 $(call Package/asterisk18/Default)
110 TITLE:=MOH support
111 DEPENDS:= asterisk18
112 endef
113
114 define Package/asterisk18-res-musiconhold/description
115 $(call Package/asterisk18/Default/description)
116 This package provides Music On Hold support to
117 Asterisk.
118 endef
119
120 define Package/asterisk18-chan-gtalk
121 $(call Package/asterisk18/Default)
122 TITLE:=GTalk support
123 DEPENDS:= asterisk18 +libiksemel
124 endef
125
126 define Package/asterisk18-chan-gtalk/description
127 $(call Package/asterisk18/Default/description)
128 This package provides the channel chan_gtalk and res_jabber for GTalk
129 support to Asterisk.
130 endef
131
132 define Package/asterisk18-chan-mobile
133 $(call Package/asterisk18/Default)
134 TITLE:=Mobile channel support
135 DEPENDS:= asterisk18 +bluez-libs
136 endef
137
138 define Package/asterisk18-chan-mobile/description
139 $(call Package/asterisk18/Default/description)
140 This package provides the channel chan_mobile support to Asterisk.
141 endef
142
143 define Package/asterisk18-chan-mgcp
144 $(call Package/asterisk18/Default)
145 TITLE:=MGCP channel support
146 DEPENDS:= asterisk18
147 endef
148
149 define Package/asterisk18-chan-mgcp/description
150 $(call Package/asterisk18/Default/description)
151 This package provides the channel chan_mgcp support to Asterisk.
152 endef
153
154 define Package/asterisk18-curl
155 $(call Package/asterisk18/Default)
156 TITLE:=CURL support
157 DEPENDS:= asterisk18 +libcurl
158 endef
159
160 define Package/asterisk18-curl/description
161 $(call Package/asterisk18/Default/description)
162 This package provides CURL
163 support to Asterisk.
164 endef
165
166 define Package/asterisk18-mysql
167 $(call Package/asterisk18/Default)
168 TITLE:=MySQL support
169 DEPENDS:= asterisk18 +PACKAGE_asterisk18-mysql:libmysqlclient
170 endef
171
172 define Package/asterisk18-mysql/description
173 $(call Package/asterisk18/Default/description)
174 This package provides MySQL
175 support to Asterisk.
176 endef
177
178 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-app-meetme),)
179 CONFIGURE_ARGS+= \
180 --with-dahdi="$(STAGING_DIR)/usr"
181 else
182 CONFIGURE_ARGS+= \
183 --without-dahdi
184 endif
185
186 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),)
187 CONFIGURE_ARGS+= \
188 --with-gnutls="$(STAGING_DIR)/usr" \
189 --with-iksemel="$(STAGING_DIR)/usr"
190 SITE_VARS+= \
191 ac_cv_lib_iksemel_iks_start_sasl=yes \
192 ac_cv_lib_gnutls_gnutls_bye=yes
193 else
194 CONFIGURE_ARGS+= \
195 --without-gnutls \
196 --without-iksemel
197 endif
198
199 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),)
200 CONFIGURE_ARGS+= \
201 --with-curl="$(STAGING_DIR)/usr"
202 else
203 CONFIGURE_ARGS+= \
204 --without-curl
205 endif
206
207 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mysql),)
208 CONFIGURE_ARGS+= \
209 --with-mysqlclient="$(STAGING_DIR)/usr/bin"
210 else
211 CONFIGURE_ARGS+= \
212 --without-mysqlclient
213 endif
214
215 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-mobile),)
216 CONFIGURE_ARGS+= \
217 --with-bluetooth="$(STAGING_DIR)/usr"
218 else
219 CONFIGURE_ARGS+= \
220 --without-bluetooth
221 endif
222
223 CONFIGURE_ARGS+= \
224 --without-curses \
225 --with-gsm=internal \
226 --without-gtk \
227 --without-gtk2 \
228 --without-isdnnet \
229 --without-kde \
230 --without-misdn \
231 --without-nbs \
232 --with-ncurses="$(STAGING_DIR)/usr" \
233 --without-netsnmp \
234 --without-newt \
235 --without-odbc \
236 --without-ogg \
237 --without-osptk \
238 --with-popt="$(STAGING_DIR)/usr" \
239 --without-pri \
240 --without-qt \
241 --without-radius \
242 --without-sdl \
243 --without-spandsp \
244 --without-suppserv \
245 --without-tds \
246 --without-termcap \
247 --without-tinfo \
248 --without-vorbis \
249 --without-vpb \
250 --with-z="$(STAGING_DIR)/usr" \
251 --with-sounds-cache="$(DL_DIR)" \
252 --disable-xmldoc
253
254 EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
255 EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
256
257 define Build/Configure
258 -rm $(PKG_BUILD_DIR)/menuselect.makeopts
259 $(call Build/Configure/Default,,$(SITE_VARS))
260 endef
261
262 define Build/Compile
263 $(MAKE) -C "$(PKG_BUILD_DIR)" \
264 include/asterisk/version.h \
265 include/asterisk/buildopts.h defaults.h \
266 makeopts.embed_rules
267 ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
268 ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
269 $(MAKE) -C "$(PKG_BUILD_DIR)" \
270 ASTVARLIBDIR="/usr/lib/asterisk" \
271 ASTDATADIR="/usr/lib/asterisk" \
272 ASTKEYDIR="/usr/lib/asterisk" \
273 NOISY_BUILD="1" \
274 DEBUG="" \
275 OPTIMIZE="" \
276 DESTDIR="$(PKG_INSTALL_DIR)" \
277 all install samples
278 endef
279
280 define Build/InstallDev
281 $(INSTALL_DIR) $(1)/usr/include/asterisk-1.8/include/asterisk/
282 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-1.8/include/asterisk/
283 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-1.8/include/
284 endef
285
286 define Package/asterisk18/conffiles
287 /etc/asterisk/asterisk.conf
288 /etc/asterisk/modules.conf
289 /etc/asterisk/extensions.conf
290 /etc/asterisk/sip.conf
291 /etc/asterisk/sip_notify.conf
292 /etc/asterisk/features.conf
293 /etc/asterisk/indications.conf
294 /etc/asterisk/logger.conf
295 /etc/asterisk/manager.conf
296 /etc/asterisk/rtp.conf
297 /etc/default/asterisk
298 /etc/init.d/asterisk
299 endef
300
301 define Package/asterisk18/install
302 $(INSTALL_DIR) $(1)/etc/asterisk
303 for f in asterisk extensions features \
304 indications logger manager modules \
305 sip sip_notify rtp; do \
306 $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
307 done
308 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
309 for f in app_dial app_echo app_playback app_macro \
310 chan_sip res_rtp_asterisk res_rtp_multicast \
311 codec_ulaw codec_gsm \
312 format_gsm format_pcm format_wav format_wav_gsm \
313 pbx_config \
314 func_strings func_timeout func_callerid func_logic; do \
315 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$$$$f.so $(1)/usr/lib/asterisk/modules/ ; \
316 done
317 $(INSTALL_DIR) $(1)/usr/sbin
318 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
319 $(INSTALL_DIR) $(1)/etc/default
320 $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
321 $(INSTALL_DIR) $(1)/etc/init.d
322 $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
323 endef
324
325 define Package/asterisk18-sounds/install
326 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
327 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
328 rm -f $(1)/usr/lib/asterisk/sounds/vm-*
329 rm -f $(1)/usr/lib/asterisk/sounds/conf-*
330 endef
331
332
333 define Package/asterisk18-voicemail/conffiles
334 /etc/asterisk/voicemail.conf
335 endef
336
337 define Package/asterisk18-voicemail/install
338 $(INSTALL_DIR) $(1)/etc/asterisk
339 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/voicemail.conf $(1)/etc/asterisk/
340 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
341 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*voicemail.so $(1)/usr/lib/asterisk/modules/
342 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_adsi.so $(1)/usr/lib/asterisk/modules/
343 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
344 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
345 endef
346
347 define Package/asterisk18-app-meetme/conffiles
348 /etc/asterisk/meetme.conf
349 endef
350
351 define Package/asterisk18-app-meetme/install
352 $(INSTALL_DIR) $(1)/etc/asterisk
353 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/
354 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
355 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_meetme.so $(1)/usr/lib/asterisk/modules/
356 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_dahdi.so $(1)/usr/lib/asterisk/modules/
357 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
358 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/conf-*.gsm $(1)/usr/lib/asterisk/sounds/
359 endef
360
361 define Package/asterisk18-chan-iax2/conffiles
362 /etc/asterisk/iax.conf
363 /etc/asterisk/iaxprov.conf
364 endef
365
366 define Package/asterisk18-cdr/conffiles
367 /etc/asterisk/cdr.conf
368 /etc/asterisk/cdr_custom.conf
369 /etc/asterisk/cdr_manager.conf
370 /etc/asterisk/cdr_odbc.conf
371 /etc/asterisk/cdr_pgsql.conf
372 /etc/asterisk/cdr_tds.conf
373 endef
374
375 define Package/asterisk18-res-musiconhold/conffiles
376 /etc/asterisk/musiconhold.conf
377 endef
378
379 define Package/asterisk18-chan-iax2/install
380 $(INSTALL_DIR) $(1)/etc/asterisk
381 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iax.conf $(1)/etc/asterisk/
382 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iaxprov.conf $(1)/etc/asterisk/
383 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
384 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_iax2.so $(1)/usr/lib/asterisk/modules/
385 endef
386
387 define Package/asterisk18-cdr/install
388 $(INSTALL_DIR) $(1)/etc/asterisk
389 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr*.conf $(1)/etc/asterisk/
390 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
391 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*cdr*.so $(1)/usr/lib/asterisk/modules/
392 endef
393
394 define Package/asterisk18-res-musiconhold/install
395 $(INSTALL_DIR) $(1)/etc/asterisk
396 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf $(1)/etc/asterisk/
397 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
398 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_musiconhold.so $(1)/usr/lib/asterisk/modules/
399 endef
400
401 define Package/asterisk18-chan-gtalk/conffiles
402 /etc/asterisk/gtalk.conf
403 /etc/asterisk/jabber.conf
404 endef
405
406 define Package/asterisk18-chan-gtalk/install
407 $(INSTALL_DIR) $(1)/etc/asterisk
408 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/
409 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/
410 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
411 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_gtalk.so $(1)/usr/lib/asterisk/modules/
412 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
413 endef
414
415 define Package/asterisk18-chan-mobile/conffiles
416 /etc/asterisk/chan_mobile.conf
417 endef
418
419 define Package/asterisk18-chan-mobile/install
420 $(INSTALL_DIR) $(1)/etc/asterisk
421 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/chan_mobile.conf $(1)/etc/asterisk/
422 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
423 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mobile.so $(1)/usr/lib/asterisk/modules/
424 endef
425
426 define Package/asterisk18-chan-mgcp/conffiles
427 /etc/asterisk/mgcp.conf
428 endef
429
430 define Package/asterisk18-chan-mgcp/install
431 $(INSTALL_DIR) $(1)/etc/asterisk
432 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/mgcp.conf $(1)/etc/asterisk/
433 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
434 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
435 endef
436
437 define Package/asterisk18-curl/install
438 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
439 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/
440 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_curl.so $(1)/usr/lib/asterisk/modules/
441 endef
442
443 define Package/asterisk18-mysql/conffiles
444 /etc/asterisk/app_mysql.conf
445 /etc/asterisk/res_config_mysql.conf
446 /etc/asterisk/cdr_mysql.conf
447 endef
448
449 define Package/asterisk18-mysql/install
450 $(INSTALL_DIR) $(1)/etc/asterisk
451 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/app_mysql.conf $(1)/etc/asterisk/
452 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_config_mysql.conf $(1)/etc/asterisk/
453 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr_mysql.conf $(1)/etc/asterisk/
454 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
455 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_mysql.so $(1)/usr/lib/asterisk/modules/
456 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
457 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_config_mysql.so $(1)/usr/lib/asterisk/modules/
458 endef
459
460 define Buildasterisk18ModuleTemplate
461
462 define Package/asterisk18-$(subst _,-,$(1))
463 $$(call Package/asterisk18/Default)
464 TITLE:=$(2) support
465 DEPENDS:= asterisk18 $(4)
466 endef
467
468 define Package/asterisk18-$(subst _,-,$(1))/description
469 $$(call Package/asterisk18/Default/description)
470 This package provides support $(3) in Asterisk.
471 endef
472
473 define Package/asterisk18-$(subst _,-,$(1))/install
474 $(INSTALL_DIR) $$(1)/usr/lib/asterisk/modules
475 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$(1).so $$(1)/usr/lib/asterisk/modules/
476 endef
477
478 $$(eval $$(call BuildPackage,asterisk18-$(subst _,-,$(1))))
479 endef
480
481 $(eval $(call BuildPackage,asterisk18))
482 $(eval $(call BuildPackage,asterisk18-voicemail))
483 $(eval $(call BuildPackage,asterisk18-sounds))
484 #$(eval $(call BuildPackage,asterisk18-app-meetme))
485 $(eval $(call BuildPackage,asterisk18-chan-iax2))
486 $(eval $(call BuildPackage,asterisk18-cdr))
487 $(eval $(call BuildPackage,asterisk18-res-musiconhold))
488 $(eval $(call BuildPackage,asterisk18-chan-gtalk))
489 $(eval $(call BuildPackage,asterisk18-chan-mobile))
490 $(eval $(call BuildPackage,asterisk18-chan-mgcp))
491 $(eval $(call BuildPackage,asterisk18-curl))
492 $(eval $(call BuildPackage,asterisk18-mysql))
493 $(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
494 $(eval $(call Buildasterisk18ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available))
495 $(eval $(call Buildasterisk18ModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel))
496 $(eval $(call Buildasterisk18ModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup))
497 $(eval $(call Buildasterisk18ModuleTemplate,app_exec,Exec application,support for application execution))
498 $(eval $(call Buildasterisk18ModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system))
499 $(eval $(call Buildasterisk18ModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable))
500 $(eval $(call Buildasterisk18ModuleTemplate,app_read,Variable read,a trivial application to read a variable))
501 $(eval $(call Buildasterisk18ModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time))
502 $(eval $(call Buildasterisk18ModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1)))
503 $(eval $(call Buildasterisk18ModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc., +asterisk18-res-agi))
504 $(eval $(call Buildasterisk18ModuleTemplate,app_system,System exec,support for executing system commands))
505 $(eval $(call Buildasterisk18ModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect))
506 $(eval $(call Buildasterisk18ModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch))
507 $(eval $(call Buildasterisk18ModuleTemplate,app_while,While loop,a while loop implementation))
508 $(eval $(call Buildasterisk18ModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel))
509 $(eval $(call Buildasterisk18ModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel))
510 $(eval $(call Buildasterisk18ModuleTemplate,codec_alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs))
511 $(eval $(call Buildasterisk18ModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs))
512 $(eval $(call Buildasterisk18ModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs))
513 $(eval $(call Buildasterisk18ModuleTemplate,codec_g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec))
514 $(eval $(call Buildasterisk18ModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs))
515 $(eval $(call Buildasterisk18ModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format))
516 $(eval $(call Buildasterisk18ModuleTemplate,format_g729,G.729,support for raw headerless G729 data))
517 $(eval $(call Buildasterisk18ModuleTemplate,format_sln,Raw slinear format,support for raw slinear format))
518 $(eval $(call Buildasterisk18ModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format))
519 $(eval $(call Buildasterisk18ModuleTemplate,func_db,Database interaction,functions for interaction with the database))
520 $(eval $(call Buildasterisk18ModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights))
521 $(eval $(call Buildasterisk18ModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function))
522 $(eval $(call Buildasterisk18ModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control))
523 $(eval $(call Buildasterisk18ModuleTemplate,func_global,Global variable,global variable dialplan functions))
524 $(eval $(call Buildasterisk18ModuleTemplate,func_shell,Shell,support for shell execution))
525 $(eval $(call Buildasterisk18ModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic))
526 $(eval $(call Buildasterisk18ModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules))
527 $(eval $(call Buildasterisk18ModuleTemplate,pbx_spool,Call Spool,outgoing call spool support))
528 $(eval $(call Buildasterisk18ModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension))
529 $(eval $(call Buildasterisk18ModuleTemplate,res_crypto,Provide Crypto,Cryptographic Signature capability))
530 $(eval $(call Buildasterisk18ModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID))
531 $(eval $(call Buildasterisk18ModuleTemplate,app_setcallerid,Set callerid,support for setting callerid))
532 $(eval $(call Buildasterisk18ModuleTemplate,app_verbose,Verbose logging,Verbose logging application))
533 $(eval $(call Buildasterisk18ModuleTemplate,func_channel,Channel info,Channel info dialplan function))
534 $(eval $(call Buildasterisk18ModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted))
535 $(eval $(call Buildasterisk18ModuleTemplate,app_originate,Originate a call,originating an outbound call and connecting it to a specified extension or application))
536 $(eval $(call Buildasterisk18ModuleTemplate,func_uri,URI encoding and decoding,Encodes and decodes URI-safe strings))