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