[packages] asterisk-1.8.x: remove package codec_ulaw because it is already part of...
[packages.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-chan-skinny
155 $(call Package/asterisk18/Default)
156   TITLE:=Skinny channel support
157   DEPENDS:= asterisk18
158 endef
159
160 define Package/asterisk18-chan-skinny/description
161 $(call Package/asterisk18/Default/description)
162  This package provides the channel chan_skinny support to Asterisk.
163 endef
164
165 define Package/asterisk18-curl
166 $(call Package/asterisk18/Default)
167   TITLE:=CURL support
168   DEPENDS:= asterisk18 +libcurl
169 endef
170
171 define Package/asterisk18-curl/description
172 $(call Package/asterisk18/Default/description)
173  This package provides CURL
174  support to Asterisk.
175 endef
176
177 define Package/asterisk18-mysql
178 $(call Package/asterisk18/Default)
179   TITLE:=MySQL support
180   DEPENDS:= asterisk18 +PACKAGE_asterisk18-mysql:libmysqlclient
181 endef
182
183 define Package/asterisk18-mysql/description
184 $(call Package/asterisk18/Default/description)
185  This package provides MySQL
186  support to Asterisk.
187 endef
188
189 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-app-meetme),)
190   CONFIGURE_ARGS+= \
191         --with-dahdi="$(STAGING_DIR)/usr"
192 else
193   CONFIGURE_ARGS+= \
194         --without-dahdi
195 endif
196
197 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),)
198   CONFIGURE_ARGS+= \
199         --with-gnutls="$(STAGING_DIR)/usr" \
200         --with-iksemel="$(STAGING_DIR)/usr"
201   SITE_VARS+= \
202         ac_cv_lib_iksemel_iks_start_sasl=yes \
203         ac_cv_lib_gnutls_gnutls_bye=yes
204 else
205   CONFIGURE_ARGS+= \
206         --without-gnutls \
207         --without-iksemel
208 endif
209
210 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),)
211   CONFIGURE_ARGS+= \
212         --with-curl="$(STAGING_DIR)/usr"
213 else
214   CONFIGURE_ARGS+= \
215         --without-curl
216 endif
217
218 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mysql),)
219   CONFIGURE_ARGS+= \
220         --with-mysqlclient="$(STAGING_DIR)/usr/bin"
221 else
222   CONFIGURE_ARGS+= \
223         --without-mysqlclient
224 endif
225
226 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-mobile),)
227   CONFIGURE_ARGS+= \
228         --with-bluetooth="$(STAGING_DIR)/usr"
229 else
230   CONFIGURE_ARGS+= \
231         --without-bluetooth
232 endif
233
234 CONFIGURE_ARGS+= \
235         --without-curses \
236         --with-gsm=internal \
237         --without-gtk \
238         --without-gtk2 \
239         --without-isdnnet \
240         --without-kde \
241         --without-misdn \
242         --without-nbs \
243         --with-ncurses="$(STAGING_DIR)/usr" \
244         --without-netsnmp \
245         --without-newt \
246         --without-odbc \
247         --without-ogg \
248         --without-osptk \
249         --with-popt="$(STAGING_DIR)/usr" \
250         --without-pri \
251         --without-qt \
252         --without-radius \
253         --without-sdl \
254         --without-spandsp \
255         --without-suppserv \
256         --without-tds \
257         --without-termcap \
258         --without-tinfo \
259         --without-vorbis \
260         --without-vpb \
261         --with-z="$(STAGING_DIR)/usr" \
262         --with-sounds-cache="$(DL_DIR)" \
263         --disable-xmldoc
264
265 EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
266 EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
267
268 define Build/Configure
269         -rm $(PKG_BUILD_DIR)/menuselect.makeopts
270         $(call Build/Configure/Default,,$(SITE_VARS))
271 endef
272
273 define Build/Compile
274         $(MAKE) -C "$(PKG_BUILD_DIR)" \
275                 include/asterisk/version.h \
276                 include/asterisk/buildopts.h defaults.h \
277                 makeopts.embed_rules
278         ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
279         ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
280         $(MAKE) -C "$(PKG_BUILD_DIR)" \
281                 ASTVARLIBDIR="/usr/lib/asterisk" \
282                 ASTDATADIR="/usr/lib/asterisk" \
283                 ASTKEYDIR="/usr/lib/asterisk" \
284                 NOISY_BUILD="1" \
285                 DEBUG="" \
286                 OPTIMIZE="" \
287                 DESTDIR="$(PKG_INSTALL_DIR)" \
288                 all install samples
289 endef
290
291 define Build/InstallDev
292         $(INSTALL_DIR) $(1)/usr/include/asterisk-1.8/include/asterisk/
293         $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-1.8/include/asterisk/
294         $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-1.8/include/
295 endef
296
297 define Package/asterisk18/conffiles
298 /etc/asterisk/asterisk.conf
299 /etc/asterisk/modules.conf
300 /etc/asterisk/extensions.conf
301 /etc/asterisk/sip.conf
302 /etc/asterisk/sip_notify.conf
303 /etc/asterisk/features.conf
304 /etc/asterisk/indications.conf
305 /etc/asterisk/logger.conf
306 /etc/asterisk/manager.conf
307 /etc/asterisk/rtp.conf
308 /etc/default/asterisk
309 /etc/init.d/asterisk
310 endef
311
312 define Package/asterisk18/install
313         $(INSTALL_DIR) $(1)/etc/asterisk
314         for f in asterisk extensions features \
315                 indications logger manager modules \
316                 sip sip_notify rtp; do \
317                 $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
318         done
319         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
320         for f in app_dial app_echo app_playback app_macro \
321                 chan_sip res_rtp_asterisk res_rtp_multicast \
322                 codec_ulaw codec_gsm \
323                 format_gsm format_pcm format_wav format_wav_gsm \
324                 pbx_config \
325                 func_strings func_timeout func_callerid func_logic; do \
326                 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$$$$f.so $(1)/usr/lib/asterisk/modules/ ; \
327         done
328         $(INSTALL_DIR) $(1)/usr/sbin
329         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
330         $(INSTALL_DIR) $(1)/etc/default
331         $(INSTALL_DATA)  ./files/asterisk.default $(1)/etc/default/asterisk
332         $(INSTALL_DIR) $(1)/etc/init.d
333         $(INSTALL_BIN)  ./files/asterisk.init $(1)/etc/init.d/asterisk
334 endef
335
336 define Package/asterisk18-sounds/install
337         $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
338         $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
339         rm -f $(1)/usr/lib/asterisk/sounds/vm-*
340         rm -f $(1)/usr/lib/asterisk/sounds/conf-*
341 endef
342
343
344 define Package/asterisk18-voicemail/conffiles
345 /etc/asterisk/voicemail.conf
346 endef
347
348 define Package/asterisk18-voicemail/install
349         $(INSTALL_DIR) $(1)/etc/asterisk
350         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/voicemail.conf $(1)/etc/asterisk/
351         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
352         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*voicemail.so $(1)/usr/lib/asterisk/modules/
353         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_adsi.so $(1)/usr/lib/asterisk/modules/
354         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_smdi.so $(1)/usr/lib/asterisk/modules/
355         $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
356         $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
357 endef
358
359 define Package/asterisk18-app-meetme/conffiles
360 /etc/asterisk/meetme.conf
361 endef
362
363 define Package/asterisk18-app-meetme/install
364         $(INSTALL_DIR) $(1)/etc/asterisk
365         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/
366         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
367         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_meetme.so $(1)/usr/lib/asterisk/modules/
368         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_dahdi.so $(1)/usr/lib/asterisk/modules/
369         $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
370         $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/conf-*.gsm $(1)/usr/lib/asterisk/sounds/
371 endef
372
373 define Package/asterisk18-chan-iax2/conffiles
374 /etc/asterisk/iax.conf
375 /etc/asterisk/iaxprov.conf
376 endef
377
378 define Package/asterisk18-cdr/conffiles
379 /etc/asterisk/cdr.conf
380 /etc/asterisk/cdr_custom.conf
381 /etc/asterisk/cdr_manager.conf
382 /etc/asterisk/cdr_odbc.conf
383 /etc/asterisk/cdr_pgsql.conf
384 /etc/asterisk/cdr_tds.conf
385 endef
386
387 define Package/asterisk18-res-musiconhold/conffiles
388 /etc/asterisk/musiconhold.conf
389 endef
390
391 define Package/asterisk18-chan-iax2/install
392         $(INSTALL_DIR) $(1)/etc/asterisk
393         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iax.conf $(1)/etc/asterisk/
394         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iaxprov.conf $(1)/etc/asterisk/
395         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
396         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_iax2.so $(1)/usr/lib/asterisk/modules/
397 endef
398
399 define Package/asterisk18-cdr/install
400         $(INSTALL_DIR) $(1)/etc/asterisk
401         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr*.conf $(1)/etc/asterisk/
402         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
403         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*cdr*.so $(1)/usr/lib/asterisk/modules/
404 endef
405
406 define Package/asterisk18-res-musiconhold/install
407         $(INSTALL_DIR) $(1)/etc/asterisk
408         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf $(1)/etc/asterisk/
409         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
410         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_musiconhold.so $(1)/usr/lib/asterisk/modules/
411 endef
412
413 define Package/asterisk18-chan-gtalk/conffiles
414 /etc/asterisk/gtalk.conf
415 /etc/asterisk/jabber.conf
416 endef
417
418 define Package/asterisk18-chan-gtalk/install
419         $(INSTALL_DIR) $(1)/etc/asterisk
420         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/
421         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/
422         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
423         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_gtalk.so $(1)/usr/lib/asterisk/modules/
424         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
425 endef
426
427 define Package/asterisk18-chan-mobile/conffiles
428 /etc/asterisk/chan_mobile.conf
429 endef
430
431 define Package/asterisk18-chan-mobile/install
432         $(INSTALL_DIR) $(1)/etc/asterisk
433         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/chan_mobile.conf $(1)/etc/asterisk/
434         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
435         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mobile.so $(1)/usr/lib/asterisk/modules/
436 endef
437
438 define Package/asterisk18-chan-mgcp/conffiles
439 /etc/asterisk/mgcp.conf
440 endef
441
442 define Package/asterisk18-chan-mgcp/install
443         $(INSTALL_DIR) $(1)/etc/asterisk
444         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/mgcp.conf $(1)/etc/asterisk/
445         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
446         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
447 endef
448
449 define Package/asterisk18-chan-skinny/conffiles
450 /etc/asterisk/skinny.conf
451 endef
452
453 define Package/asterisk18-chan-skinny/install
454         $(INSTALL_DIR) $(1)/etc/asterisk
455         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/skinny.conf $(1)/etc/asterisk/
456         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
457         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_skinny.so $(1)/usr/lib/asterisk/modules/
458 endef
459
460 define Package/asterisk18-curl/install
461         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
462         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/
463         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_curl.so $(1)/usr/lib/asterisk/modules/
464 endef
465
466 define Package/asterisk18-mysql/conffiles
467 /etc/asterisk/app_mysql.conf
468 /etc/asterisk/res_config_mysql.conf
469 /etc/asterisk/cdr_mysql.conf
470 endef
471
472 define Package/asterisk18-mysql/install
473         $(INSTALL_DIR) $(1)/etc/asterisk
474         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/app_mysql.conf $(1)/etc/asterisk/
475         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_config_mysql.conf $(1)/etc/asterisk/
476         $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr_mysql.conf $(1)/etc/asterisk/
477         $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
478         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_mysql.so $(1)/usr/lib/asterisk/modules/
479         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
480         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_config_mysql.so $(1)/usr/lib/asterisk/modules/
481 endef
482
483 define Buildasterisk18ModuleTemplate
484
485   define Package/asterisk18-$(subst _,-,$(1))
486   $$(call Package/asterisk18/Default)
487     TITLE:=$(2) support
488     DEPENDS:= asterisk18 $(4)
489   endef
490
491   define Package/asterisk18-$(subst _,-,$(1))/description
492   $$(call Package/asterisk18/Default/description)
493     This package provides support $(3) in Asterisk.
494   endef
495
496   define Package/asterisk18-$(subst _,-,$(1))/install
497         $(INSTALL_DIR) $$(1)/usr/lib/asterisk/modules
498         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$(1).so $$(1)/usr/lib/asterisk/modules/
499   endef
500
501   $$(eval $$(call BuildPackage,asterisk18-$(subst _,-,$(1))))
502 endef
503
504 $(eval $(call BuildPackage,asterisk18))
505 $(eval $(call BuildPackage,asterisk18-voicemail))
506 $(eval $(call BuildPackage,asterisk18-sounds))
507 #$(eval $(call BuildPackage,asterisk18-app-meetme))
508 $(eval $(call BuildPackage,asterisk18-chan-iax2))
509 $(eval $(call BuildPackage,asterisk18-cdr))
510 $(eval $(call BuildPackage,asterisk18-res-musiconhold))
511 $(eval $(call BuildPackage,asterisk18-chan-gtalk))
512 $(eval $(call BuildPackage,asterisk18-chan-mobile))
513 $(eval $(call BuildPackage,asterisk18-chan-mgcp))
514 $(eval $(call BuildPackage,asterisk18-chan-skinny))
515 $(eval $(call BuildPackage,asterisk18-curl))
516 $(eval $(call BuildPackage,asterisk18-mysql))
517 $(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
518 $(eval $(call Buildasterisk18ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available))
519 $(eval $(call Buildasterisk18ModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel))
520 $(eval $(call Buildasterisk18ModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup))
521 $(eval $(call Buildasterisk18ModuleTemplate,app_exec,Exec application,support for application execution))
522 $(eval $(call Buildasterisk18ModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system))
523 $(eval $(call Buildasterisk18ModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable))
524 $(eval $(call Buildasterisk18ModuleTemplate,app_read,Variable read,a trivial application to read a variable))
525 $(eval $(call Buildasterisk18ModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time))
526 $(eval $(call Buildasterisk18ModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1)))
527 $(eval $(call Buildasterisk18ModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc., +asterisk18-res-agi))
528 $(eval $(call Buildasterisk18ModuleTemplate,app_system,System exec,support for executing system commands))
529 $(eval $(call Buildasterisk18ModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect))
530 $(eval $(call Buildasterisk18ModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch))
531 $(eval $(call Buildasterisk18ModuleTemplate,app_while,While loop,a while loop implementation))
532 $(eval $(call Buildasterisk18ModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel))
533 $(eval $(call Buildasterisk18ModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel))
534 $(eval $(call Buildasterisk18ModuleTemplate,codec_alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs))
535 $(eval $(call Buildasterisk18ModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs))
536 $(eval $(call Buildasterisk18ModuleTemplate,codec_g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec))
537 $(eval $(call Buildasterisk18ModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs))
538 $(eval $(call Buildasterisk18ModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format))
539 $(eval $(call Buildasterisk18ModuleTemplate,format_g729,G.729,support for raw headerless G729 data))
540 $(eval $(call Buildasterisk18ModuleTemplate,format_sln,Raw slinear format,support for raw slinear format))
541 $(eval $(call Buildasterisk18ModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format))
542 $(eval $(call Buildasterisk18ModuleTemplate,func_db,Database interaction,functions for interaction with the database))
543 $(eval $(call Buildasterisk18ModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights))
544 $(eval $(call Buildasterisk18ModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function))
545 $(eval $(call Buildasterisk18ModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control))
546 $(eval $(call Buildasterisk18ModuleTemplate,func_global,Global variable,global variable dialplan functions))
547 $(eval $(call Buildasterisk18ModuleTemplate,func_shell,Shell,support for shell execution))
548 $(eval $(call Buildasterisk18ModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic))
549 $(eval $(call Buildasterisk18ModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules))
550 $(eval $(call Buildasterisk18ModuleTemplate,pbx_spool,Call Spool,outgoing call spool support))
551 $(eval $(call Buildasterisk18ModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension))
552 $(eval $(call Buildasterisk18ModuleTemplate,res_crypto,Provide Crypto,Cryptographic Signature capability))
553 $(eval $(call Buildasterisk18ModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID))
554 $(eval $(call Buildasterisk18ModuleTemplate,app_setcallerid,Set callerid,support for setting callerid))
555 $(eval $(call Buildasterisk18ModuleTemplate,app_verbose,Verbose logging,Verbose logging application))
556 $(eval $(call Buildasterisk18ModuleTemplate,func_channel,Channel info,Channel info dialplan function))
557 $(eval $(call Buildasterisk18ModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted))
558 $(eval $(call Buildasterisk18ModuleTemplate,app_originate,Originate a call,originating an outbound call and connecting it to a specified extension or application))
559 $(eval $(call Buildasterisk18ModuleTemplate,func_uri,URI encoding and decoding,Encodes and decodes URI-safe strings))