[packages] asterisk-1.8.x: update to asterisk 1.8.3.2; fix astdatadir; add dependency...
[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.3.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
16 PKG_MD5SUM:=0bee03f4498a6081146a579b51130633
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
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 +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 --disable-xmldoc
252
253 EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
254 EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
255
256 define Build/Configure
257 -rm $(PKG_BUILD_DIR)/menuselect.makeopts
258 $(call Build/Configure/Default,,$(SITE_VARS))
259 endef
260
261 define Build/Compile
262 $(MAKE) -C "$(PKG_BUILD_DIR)" \
263 include/asterisk/version.h \
264 include/asterisk/buildopts.h defaults.h \
265 makeopts.embed_rules
266 ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
267 ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
268 $(MAKE) -C "$(PKG_BUILD_DIR)" \
269 ASTVARLIBDIR="/usr/lib/asterisk" \
270 ASTDATADIR="/usr/lib/asterisk" \
271 NOISY_BUILD="1" \
272 DEBUG="" \
273 OPTIMIZE="" \
274 DESTDIR="$(PKG_INSTALL_DIR)" \
275 all install samples
276 endef
277
278 define Build/InstallDev
279 $(INSTALL_DIR) $(1)/usr/include/asterisk-1.8/include/asterisk/
280 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-1.8/include/asterisk/
281 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-1.8/include/
282 endef
283
284 define Package/asterisk18/conffiles
285 /etc/asterisk/asterisk.conf
286 /etc/asterisk/modules.conf
287 /etc/asterisk/extensions.conf
288 /etc/asterisk/sip.conf
289 /etc/asterisk/sip_notify.conf
290 /etc/asterisk/features.conf
291 /etc/asterisk/indications.conf
292 /etc/asterisk/logger.conf
293 /etc/asterisk/manager.conf
294 /etc/asterisk/rtp.conf
295 /etc/default/asterisk
296 /etc/init.d/asterisk
297 endef
298
299 define Package/asterisk18/install
300 $(INSTALL_DIR) $(1)/etc/asterisk
301 for f in asterisk extensions features \
302 indications logger manager modules \
303 sip sip_notify rtp; do \
304 $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
305 done
306 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
307 for f in app_dial app_echo app_playback app_macro \
308 chan_sip res_rtp_asterisk res_rtp_multicast \
309 codec_ulaw codec_gsm \
310 format_gsm format_pcm format_wav format_wav_gsm \
311 pbx_config \
312 func_strings func_timeout func_callerid func_logic; do \
313 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$$$$f.so $(1)/usr/lib/asterisk/modules/ ; \
314 done
315 $(INSTALL_DIR) $(1)/usr/sbin
316 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
317 $(INSTALL_DIR) $(1)/etc/default
318 $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
319 $(INSTALL_DIR) $(1)/etc/init.d
320 $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
321 endef
322
323 define Package/asterisk18-sounds/install
324 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
325 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
326 rm -f $(1)/usr/lib/asterisk/sounds/vm-*
327 rm -f $(1)/usr/lib/asterisk/sounds/conf-*
328 endef
329
330
331 define Package/asterisk18-voicemail/conffiles
332 /etc/asterisk/voicemail.conf
333 endef
334
335 define Package/asterisk18-voicemail/install
336 $(INSTALL_DIR) $(1)/etc/asterisk
337 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/voicemail.conf $(1)/etc/asterisk/
338 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
339 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*voicemail.so $(1)/usr/lib/asterisk/modules/
340 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_adsi.so $(1)/usr/lib/asterisk/modules/
341 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
342 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
343 endef
344
345 define Package/asterisk18-app-meetme/conffiles
346 /etc/asterisk/meetme.conf
347 endef
348
349 define Package/asterisk18-app-meetme/install
350 $(INSTALL_DIR) $(1)/etc/asterisk
351 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/
352 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
353 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_meetme.so $(1)/usr/lib/asterisk/modules/
354 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_dahdi.so $(1)/usr/lib/asterisk/modules/
355 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
356 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/conf-*.gsm $(1)/usr/lib/asterisk/sounds/
357 endef
358
359 define Package/asterisk18-chan-iax2/conffiles
360 /etc/asterisk/iax.conf
361 /etc/asterisk/iaxprov.conf
362 endef
363
364 define Package/asterisk18-cdr/conffiles
365 /etc/asterisk/cdr.conf
366 /etc/asterisk/cdr_custom.conf
367 /etc/asterisk/cdr_manager.conf
368 /etc/asterisk/cdr_odbc.conf
369 /etc/asterisk/cdr_pgsql.conf
370 /etc/asterisk/cdr_tds.conf
371 endef
372
373 define Package/asterisk18-res-musiconhold/conffiles
374 /etc/asterisk/musiconhold.conf
375 endef
376
377 define Package/asterisk18-chan-iax2/install
378 $(INSTALL_DIR) $(1)/etc/asterisk
379 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iax.conf $(1)/etc/asterisk/
380 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iaxprov.conf $(1)/etc/asterisk/
381 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
382 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_iax2.so $(1)/usr/lib/asterisk/modules/
383 endef
384
385 define Package/asterisk18-cdr/install
386 $(INSTALL_DIR) $(1)/etc/asterisk
387 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr*.conf $(1)/etc/asterisk/
388 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
389 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*cdr*.so $(1)/usr/lib/asterisk/modules/
390 endef
391
392 define Package/asterisk18-res-musiconhold/install
393 $(INSTALL_DIR) $(1)/etc/asterisk
394 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf $(1)/etc/asterisk/
395 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
396 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_musiconhold.so $(1)/usr/lib/asterisk/modules/
397 endef
398
399 define Package/asterisk18-chan-gtalk/conffiles
400 /etc/asterisk/gtalk.conf
401 /etc/asterisk/jabber.conf
402 endef
403
404 define Package/asterisk18-chan-gtalk/install
405 $(INSTALL_DIR) $(1)/etc/asterisk
406 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/
407 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/
408 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
409 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_gtalk.so $(1)/usr/lib/asterisk/modules/
410 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
411 endef
412
413 define Package/asterisk18-chan-mobile/conffiles
414 /etc/asterisk/chan_mobile.conf
415 endef
416
417 define Package/asterisk18-chan-mobile/install
418 $(INSTALL_DIR) $(1)/etc/asterisk
419 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/chan_mobile.conf $(1)/etc/asterisk/
420 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
421 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mobile.so $(1)/usr/lib/asterisk/modules/
422 endef
423
424 define Package/asterisk18-chan-mgcp/conffiles
425 /etc/asterisk/mgcp.conf
426 endef
427
428 define Package/asterisk18-chan-mgcp/install
429 $(INSTALL_DIR) $(1)/etc/asterisk
430 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/mgcp.conf $(1)/etc/asterisk/
431 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
432 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
433 endef
434
435 define Package/asterisk18-curl/install
436 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
437 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/
438 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_curl.so $(1)/usr/lib/asterisk/modules/
439 endef
440
441 define Package/asterisk18-mysql/conffiles
442 /etc/asterisk/app_mysql.conf
443 /etc/asterisk/res_config_mysql.conf
444 /etc/asterisk/cdr_mysql.conf
445 endef
446
447 define Package/asterisk18-mysql/install
448 $(INSTALL_DIR) $(1)/etc/asterisk
449 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/app_mysql.conf $(1)/etc/asterisk/
450 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_config_mysql.conf $(1)/etc/asterisk/
451 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr_mysql.conf $(1)/etc/asterisk/
452 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
453 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_mysql.so $(1)/usr/lib/asterisk/modules/
454 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
455 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_config_mysql.so $(1)/usr/lib/asterisk/modules/
456 endef
457
458 define Buildasterisk18ModuleTemplate
459
460 define Package/asterisk18-$(subst _,-,$(1))
461 $$(call Package/asterisk18/Default)
462 TITLE:=$(2) support
463 DEPENDS:= asterisk18 $(4)
464 endef
465
466 define Package/asterisk18-$(subst _,-,$(1))/description
467 $$(call Package/asterisk18/Default/description)
468 This package provides support $(3) in Asterisk.
469 endef
470
471 define Package/asterisk18-$(subst _,-,$(1))/install
472 $(INSTALL_DIR) $$(1)/usr/lib/asterisk/modules
473 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$(1).so $$(1)/usr/lib/asterisk/modules/
474 endef
475
476 $$(eval $$(call BuildPackage,asterisk18-$(subst _,-,$(1))))
477 endef
478
479 $(eval $(call BuildPackage,asterisk18))
480 $(eval $(call BuildPackage,asterisk18-voicemail))
481 $(eval $(call BuildPackage,asterisk18-sounds))
482 #$(eval $(call BuildPackage,asterisk18-app-meetme))
483 $(eval $(call BuildPackage,asterisk18-chan-iax2))
484 $(eval $(call BuildPackage,asterisk18-cdr))
485 $(eval $(call BuildPackage,asterisk18-res-musiconhold))
486 $(eval $(call BuildPackage,asterisk18-chan-gtalk))
487 $(eval $(call BuildPackage,asterisk18-chan-mobile))
488 $(eval $(call BuildPackage,asterisk18-chan-mgcp))
489 $(eval $(call BuildPackage,asterisk18-curl))
490 $(eval $(call BuildPackage,asterisk18-mysql))
491 $(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
492 $(eval $(call Buildasterisk18ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available))
493 $(eval $(call Buildasterisk18ModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel))
494 $(eval $(call Buildasterisk18ModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup))
495 $(eval $(call Buildasterisk18ModuleTemplate,app_exec,Exec application,support for application execution))
496 $(eval $(call Buildasterisk18ModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system))
497 $(eval $(call Buildasterisk18ModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable))
498 $(eval $(call Buildasterisk18ModuleTemplate,app_read,Variable read,a trivial application to read a variable))
499 $(eval $(call Buildasterisk18ModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time))
500 $(eval $(call Buildasterisk18ModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1)))
501 $(eval $(call Buildasterisk18ModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc., +asterisk18-res-agi))
502 $(eval $(call Buildasterisk18ModuleTemplate,app_system,System exec,support for executing system commands))
503 $(eval $(call Buildasterisk18ModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect))
504 $(eval $(call Buildasterisk18ModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch))
505 $(eval $(call Buildasterisk18ModuleTemplate,app_while,While loop,a while loop implementation))
506 $(eval $(call Buildasterisk18ModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel))
507 $(eval $(call Buildasterisk18ModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel))
508 $(eval $(call Buildasterisk18ModuleTemplate,codec_alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs))
509 $(eval $(call Buildasterisk18ModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs))
510 $(eval $(call Buildasterisk18ModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs))
511 $(eval $(call Buildasterisk18ModuleTemplate,codec_g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec))
512 $(eval $(call Buildasterisk18ModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs))
513 $(eval $(call Buildasterisk18ModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format))
514 $(eval $(call Buildasterisk18ModuleTemplate,format_g729,G.729,support for raw headerless G729 data))
515 $(eval $(call Buildasterisk18ModuleTemplate,format_sln,Raw slinear format,support for raw slinear format))
516 $(eval $(call Buildasterisk18ModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format))
517 $(eval $(call Buildasterisk18ModuleTemplate,func_db,Database interaction,functions for interaction with the database))
518 $(eval $(call Buildasterisk18ModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights))
519 $(eval $(call Buildasterisk18ModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function))
520 $(eval $(call Buildasterisk18ModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control))
521 $(eval $(call Buildasterisk18ModuleTemplate,func_global,Global variable,global variable dialplan functions))
522 $(eval $(call Buildasterisk18ModuleTemplate,func_shell,Shell,support for shell execution))
523 $(eval $(call Buildasterisk18ModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic))
524 $(eval $(call Buildasterisk18ModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules))
525 $(eval $(call Buildasterisk18ModuleTemplate,pbx_spool,Call Spool,outgoing call spool support))
526 $(eval $(call Buildasterisk18ModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension))
527 $(eval $(call Buildasterisk18ModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID))
528 $(eval $(call Buildasterisk18ModuleTemplate,app_setcallerid,Set callerid,support for setting callerid))
529 $(eval $(call Buildasterisk18ModuleTemplate,app_verbose,Verbose logging,Verbose logging application))
530 $(eval $(call Buildasterisk18ModuleTemplate,func_channel,Channel info,Channel info dialplan function))
531 $(eval $(call Buildasterisk18ModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number, and see if it is blacklisted))
532 $(eval $(call Buildasterisk18ModuleTemplate,app_originate,Originate a call,originating an outbound call and connecting it to a specified extension or application))
533 $(eval $(call Buildasterisk18ModuleTemplate,func_uri,URI encoding and decoding,Encodes and decodes URI-safe strings))