asterisk-16.x: bump to 16.13.0
[feed/telephony.git] / net / asterisk-16.x / Makefile
1 #
2 # Copyright (C) 2017 - 2018 Jiri Slachta <jiri@slachta.eu>
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 AST_MAJOR_VERSION:=16
11 PKG_NAME:=asterisk$(AST_MAJOR_VERSION)
12 PKG_VERSION:=$(AST_MAJOR_VERSION).13.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases
17 PKG_HASH:=e95238c355f5ef837009659e7422dcd7100ac7675b30ae8c49614ad32052d206
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
20 PKG_BUILD_DEPENDS:=libxml2/host
21
22 PKG_LICENSE:=GPL-2.0
23 PKG_LICENSE_FILES:=COPYING LICENSE
24 PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
25
26 MENUSELECT_CATEGORIES:= \
27 MENUSELECT_ADDONS \
28 MENUSELECT_APPS \
29 MENUSELECT_BRIDGES \
30 MENUSELECT_CDR \
31 MENUSELECT_CEL \
32 MENUSELECT_CHANNELS \
33 MENUSELECT_CODECS \
34 MENUSELECT_FORMATS \
35 MENUSELECT_FUNCS \
36 MENUSELECT_PBX \
37 MENUSELECT_RES \
38 MENUSELECT_UTILS \
39 MENUSELECT_AGIS
40
41 MODULES_AVAILABLE:= \
42 app-adsiprog \
43 app-agent-pool \
44 app-alarmreceiver \
45 app-amd \
46 app-attended-transfer \
47 app-authenticate \
48 app-blind-transfer \
49 app-bridgeaddchan \
50 app-bridgewait \
51 app-celgenuserevent \
52 app-chanisavail \
53 app-channelredirect \
54 app-chanspy \
55 app-confbridge \
56 app-controlplayback \
57 app-dahdiras \
58 app-dictate \
59 app-directed-pickup \
60 app-directory \
61 app-disa \
62 app-dumpchan \
63 app-exec \
64 app-externalivr \
65 app-festival \
66 app-flash \
67 app-followme \
68 app-getcpeid \
69 app-ices \
70 app-image \
71 app-ivrdemo \
72 app-milliwatt \
73 app-minivm \
74 app-mixmonitor \
75 app-morsecode \
76 app-mp3 \
77 app-originate \
78 app-page \
79 app-playtones \
80 app-privacy \
81 app-queue \
82 app-read \
83 app-readexten \
84 app-record \
85 app-saycounted \
86 app-sayunixtime \
87 app-senddtmf \
88 app-sendtext \
89 app-skel \
90 app-sms \
91 app-softhangup \
92 app-speech \
93 app-stack \
94 app-stasis \
95 app-statsd \
96 app-stream-echo \
97 app-system \
98 app-talkdetect \
99 app-test \
100 app-transfer \
101 app-url \
102 app-userevent \
103 app-verbose \
104 app-waitforring \
105 app-waitforsilence \
106 app-waituntil \
107 app-while \
108 app-zapateller \
109 bridge-builtin-features \
110 bridge-builtin-interval-features \
111 bridge-holding \
112 bridge-native-rtp \
113 bridge-simple \
114 bridge-softmix \
115 cdr \
116 cdr-csv \
117 cdr-sqlite3 \
118 cel-custom \
119 cel-manager \
120 cel-sqlite3-custom \
121 chan-alsa \
122 chan-bridge-media \
123 chan-console \
124 chan-dahdi \
125 chan-iax2 \
126 chan-mgcp \
127 chan-mobile \
128 chan-motif \
129 chan-ooh323 \
130 chan-oss \
131 chan-rtp \
132 chan-sip \
133 chan-skinny \
134 chan-unistim \
135 codec-a-mu \
136 codec-adpcm \
137 codec-alaw \
138 codec-dahdi \
139 codec-g722 \
140 codec-g726 \
141 codec-gsm \
142 codec-ilbc \
143 codec-lpc10 \
144 codec-resample \
145 codec-speex \
146 codec-ulaw \
147 curl \
148 format-g719 \
149 format-g723 \
150 format-g726 \
151 format-g729 \
152 format-gsm \
153 format-h263 \
154 format-h264 \
155 format-ilbc \
156 format-mp3 \
157 format-ogg-speex \
158 format-ogg-vorbis \
159 format-pcm \
160 format-siren14 \
161 format-siren7 \
162 format-sln \
163 format-vox \
164 format-wav \
165 format-wav-gsm \
166 func-aes \
167 func-base64 \
168 func-blacklist \
169 func-callcompletion \
170 func-channel \
171 func-config \
172 func-cut \
173 func-db \
174 func-devstate \
175 func-dialgroup \
176 func-dialplan \
177 func-enum \
178 func-env \
179 func-extstate \
180 func-frame-trace \
181 func-global \
182 func-groupcount \
183 func-hangupcause \
184 func-holdintercept \
185 func-iconv \
186 func-jitterbuffer \
187 func-lock \
188 func-math \
189 func-md5 \
190 func-module \
191 func-periodic-hook \
192 func-pitchshift \
193 func-presencestate \
194 func-rand \
195 func-realtime \
196 func-sha1 \
197 func-shell \
198 func-sorcery \
199 func-speex \
200 func-sprintf \
201 func-srv \
202 func-sysinfo \
203 func-talkdetect \
204 func-uri \
205 func-version \
206 func-vmcount \
207 func-volume \
208 odbc \
209 pbx-ael \
210 pbx-dundi \
211 pbx-loopback \
212 pbx-lua \
213 pbx-realtime \
214 pbx-spool \
215 pgsql \
216 pjsip \
217 res-adsi \
218 res-ael-share \
219 res-agi \
220 res-ari \
221 res-ari-applications \
222 res-ari-asterisk \
223 res-ari-bridges \
224 res-ari-channels \
225 res-ari-device-states \
226 res-ari-endpoints \
227 res-ari-events \
228 res-ari-mailboxes \
229 res-ari-model \
230 res-ari-playbacks \
231 res-ari-recordings \
232 res-ari-sounds \
233 res-calendar \
234 res-calendar-caldav \
235 res-calendar-ews \
236 res-calendar-exchange \
237 res-calendar-icalendar \
238 res-chan-stats \
239 res-clialiases \
240 res-clioriginate \
241 res-config-ldap \
242 res-config-mysql \
243 res-config-sqlite3 \
244 res-convert \
245 res-endpoint-stats \
246 res-hep \
247 res-hep-pjsip \
248 res-hep-rtcp \
249 res-fax-spandsp \
250 res-fax \
251 res-format-attr-celt \
252 res-format-attr-g729 \
253 res-format-attr-h263 \
254 res-format-attr-h264 \
255 res-format-attr-ilbc \
256 res-format-attr-opus \
257 res-format-attr-silk \
258 res-format-attr-siren14 \
259 res-format-attr-siren7 \
260 res-format-attr-vp8 \
261 res-http-media-cache \
262 res-http-websocket \
263 res-limit \
264 res-manager-devicestate \
265 res-manager-presencestate \
266 res-monitor \
267 res-musiconhold \
268 res-mutestream \
269 res-mwi-devstate \
270 res-mwi-external \
271 res-mwi-external-ami \
272 res-parking \
273 res-phoneprov \
274 res-pjsip-phoneprov \
275 res-pjproject \
276 res-pktccops \
277 res-realtime \
278 res-remb-modifier \
279 res-resolver-unbound \
280 res-rtp-asterisk \
281 res-rtp-multicast \
282 res-security-log \
283 res-smdi \
284 res-snmp \
285 res-sorcery \
286 res-sorcery-memory-cache \
287 res-speech \
288 res-srtp \
289 res-stasis \
290 res-stasis-answer \
291 res-stasis-device-state \
292 res-stasis-mailbox \
293 res-stasis-playback \
294 res-stasis-recording \
295 res-stasis-snoop \
296 res-statsd \
297 res-stun-monitor \
298 res-timing-dahdi \
299 res-timing-pthread \
300 res-timing-timerfd \
301 res-xmpp \
302 voicemail
303
304 UTILS_AVAILABLE:= \
305 aelparse \
306 astcanary \
307 astdb2sqlite3 \
308 astdb2bdb \
309 check_expr \
310 check_expr2 \
311 conf2ael \
312 muted \
313 smsq \
314 stereorize \
315 streamplayer
316
317 AST_ENABLE:=
318
319 PKG_CONFIG_DEPENDS:= \
320 $(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-%,$(MODULES_AVAILABLE)) \
321 $(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-util-%,$(subst _,-,$(UTILS_AVAILABLE))) \
322 CONFIG_ASTERISK$(AST_MAJOR_VERSION)_LOW_MEMORY
323
324 include $(INCLUDE_DIR)/uclibc++.mk
325 include $(INCLUDE_DIR)/package.mk
326 include $(INCLUDE_DIR)/host-build.mk
327 # Needed for res-config-mysql and func-iconv to find iconv
328 include $(INCLUDE_DIR)/nls.mk
329
330 define Package/$(PKG_NAME)/install/module
331 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
332 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*$(2).so* $(1)/usr/lib/asterisk/modules/
333 endef
334
335 define Package/$(PKG_NAME)/install/conffile
336 $(INSTALL_DIR) $(1)/etc/asterisk
337 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/$(2) $(1)/etc/asterisk/
338 endef
339
340 define Package/$(PKG_NAME)/install/lib
341 $(INSTALL_DIR) $(1)/usr/lib
342 $(CP) $(PKG_INSTALL_DIR)/usr/lib/$(2).so* $(1)/usr/lib/
343 endef
344
345 define Package/$(PKG_NAME)/install/sbin
346 $(INSTALL_DIR) $(1)/usr/sbin
347 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(2) $(1)/usr/sbin/
348 endef
349
350 define Package/$(PKG_NAME)/install/sounds
351 $(INSTALL_DIR) $(1)/usr/share/asterisk/sounds/
352 $(CP) $(PKG_INSTALL_DIR)/usr/share/asterisk/sounds/en/$(2) $(1)/usr/share/asterisk/sounds/
353 endef
354
355 define Package/$(PKG_NAME)/install/util-conffile
356 $(INSTALL_DIR) $(1)/etc
357 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/$(2) $(1)/etc
358 endef
359
360 define Package/$(PKG_NAME)/config
361 menu "Advanced configuration"
362 depends on PACKAGE_asterisk$(AST_MAJOR_VERSION)
363
364 config ASTERISK$(AST_MAJOR_VERSION)_LOW_MEMORY
365 bool "Optimize Asterisk $(AST_MAJOR_VERSION) for low memory usage"
366 default n
367 help
368 Warning: this feature is known to cause problems with some modules.
369 Disable it if you experience problems like segmentation faults.
370
371 endmenu
372 endef
373
374 define BuildAsteriskModule
375 define Package/$(PKG_NAME)-$(1)
376 $$(call Package/$(PKG_NAME)/Default)
377 TITLE:=$(2) support
378 DEPENDS:= $(PKG_NAME) $(patsubst +%,+PACKAGE_$(PKG_NAME)-$(1):%,$(4)) $(9)
379 ifneq ($$(CONFIG_PACKAGE_$(PKG_NAME)-$(1)),)
380 AST_ENABLE+=$(6)
381 endif
382 endef
383
384 define Package/$(PKG_NAME)-$(1)/conffiles
385 $(subst $(space),$(newline),$(foreach c,$(5),/etc/asterisk/$(c)))
386 endef
387
388 define Package/$(PKG_NAME)-$(1)/description
389 $(subst \n,$(newline),$(3))
390 endef
391
392 define Package/$(PKG_NAME)-$(1)/install
393 $(foreach c,$(5),$(call Package/$(PKG_NAME)/install/conffile,$$(1),$(c));)
394 $(foreach m,$(6),$(call Package/$(PKG_NAME)/install/module,$$(1),$(m));)
395 $(foreach s,$(7),$(call Package/$(PKG_NAME)/install/sounds,$$(1),$(s));)
396 $(foreach b,$(8),$(call Package/$(PKG_NAME)/install/sbin,$$(1),$(b));)
397 endef
398
399 $$(eval $$(call BuildPackage,$(PKG_NAME)-$(1)))
400 endef
401
402 define BuildAsteriskUtil
403 define Package/$(PKG_NAME)-util-$(subst _,-,$(1))
404 $$(call Package/$(PKG_NAME)/Default)
405 TITLE:=$(1) utility
406 DEPENDS:=$(PKG_NAME) $(patsubst +%,+PACKAGE_$(PKG_NAME)-util-$(subst _,-,$(1)):%,$(3))
407 ifneq ($$(CONFIG_PACKAGE_$(PKG_NAME)-util-$(subst _,-,$(1))),)
408 AST_ENABLE+=$(1)
409 endif
410 endef
411
412 define Package/$(PKG_NAME)-util-$(subst _,-,$(1))/conffiles
413 $(subst $(space),$(newline),$(foreach c,$(4),/etc/$(c)))
414 endef
415
416 define Package/$(PKG_NAME)-util-$(subst _,-,$(1))/description
417 $(2)
418 endef
419
420 define Package/$(PKG_NAME)-util-$(subst _,-,$(1))/install
421 $(call Package/$(PKG_NAME)/install/sbin,$$(1),$(1))
422 $(foreach c,$(4),$(call Package/$(PKG_NAME)/install/util-conffile,$$(1),$(c));)
423 endef
424
425 $$(eval $$(call BuildPackage,$(PKG_NAME)-util-$(subst _,-,$(1))))
426 endef
427
428 define Package/$(PKG_NAME)/Default
429 SUBMENU:=Telephony
430 SECTION:=net
431 CATEGORY:=Network
432 URL:=http://www.asterisk.org/
433 endef
434
435 define Package/$(PKG_NAME)/Default/description
436 Asterisk is a complete PBX in software. It provides all of the features
437 you would expect from a PBX and more. Asterisk does voice over IP in three
438 protocols, and can interoperate with almost all standards-based telephony
439 equipment using relatively inexpensive hardware.
440 endef
441
442 define Package/$(PKG_NAME)
443 $(call Package/$(PKG_NAME)/Default)
444 TITLE:=Complete open source PBX, v$(PKG_VERSION)
445 MENU:=1
446 DEPENDS:=$(CXX_DEPENDS) +jansson +libcap +libedit +libopenssl +libsqlite3 +libuuid +libxml2 +zlib
447 USERID:=asterisk=385:asterisk=385
448 endef
449
450 define Package/$(PKG_NAME)/description
451 $(call Package/$(PKG_NAME)/Default/description)
452 endef
453
454 define Package/$(PKG_NAME)/conffiles
455 /etc/asterisk/asterisk.conf
456 /etc/asterisk/acl.conf
457 /etc/asterisk/cel.conf
458 /etc/asterisk/ccss.conf
459 /etc/asterisk/cli.conf
460 /etc/asterisk/cli_permissions.conf
461 /etc/asterisk/codecs.conf
462 /etc/asterisk/dnsmgr.conf
463 /etc/asterisk/dsp.conf
464 /etc/asterisk/extconfig.conf
465 /etc/asterisk/extensions.conf
466 /etc/asterisk/features.conf
467 /etc/asterisk/http.conf
468 /etc/asterisk/indications.conf
469 /etc/asterisk/logger.conf
470 /etc/asterisk/manager.conf
471 /etc/asterisk/modules.conf
472 /etc/asterisk/res_config_sqlite3.conf
473 /etc/asterisk/stasis.conf
474 /etc/asterisk/udptl.conf
475 /etc/asterisk/users.conf
476 /etc/config/asterisk
477 /etc/init.d/asterisk
478 endef
479
480 AST_CFG_FILES:= \
481 asterisk.conf acl.conf cel.conf ccss.conf cli.conf \
482 cli_permissions.conf codecs.conf dnsmgr.conf dsp.conf extconfig.conf \
483 extensions.conf features.conf http.conf indications.conf \
484 logger.conf manager.conf modules.conf stasis.conf udptl.conf \
485 users.conf res_config_sqlite3.conf
486
487 AST_EMB_MODULES:=\
488 app_dial app_echo app_macro app_playback \
489 func_callerid func_logic func_strings func_timeout \
490 pbx_config res_crypto
491
492 define Package/$(PKG_NAME)/install
493 $(call Package/$(PKG_NAME)/install/lib,$(1),libasteriskssl)
494 $(call Package/$(PKG_NAME)/install/sbin,$(1),asterisk)
495 $(call Package/$(PKG_NAME)/install/sbin,$(1),safe_asterisk)
496 $(call Package/$(PKG_NAME)/install/sbin,$(1),astgenkey)
497 $(foreach m,$(AST_CFG_FILES),$(call Package/$(PKG_NAME)/install/conffile,$(1),$(m));)
498 $(foreach m,$(AST_EMB_MODULES),$(call Package/$(PKG_NAME)/install/module,$(1),$(m));)
499 $(INSTALL_DIR) $(1)/etc/config
500 $(INSTALL_DIR) $(1)/etc/init.d
501 $(INSTALL_DIR) $(1)/usr/share/asterisk/agi-bin
502 $(INSTALL_DIR) $(1)/usr/share/asterisk/firmware/iax
503 $(INSTALL_DIR) $(1)/usr/share/asterisk/keys
504 $(INSTALL_DIR) $(1)/usr/share/asterisk/sounds
505 $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
506 $(INSTALL_CONF) ./files/asterisk.conf $(1)/etc/config/asterisk
507 endef
508
509 define Package/$(PKG_NAME)-sounds
510 $(call Package/$(PKG_NAME)/Default)
511 TITLE:=Sounds support
512 DEPENDS:=$(PKG_NAME)
513 endef
514
515 define Package/$(PKG_NAME)-sounds/description
516 This package provides the sound-files for Asterisk $(AST_MAJOR_VERSION).
517 endef
518
519 define Package/$(PKG_NAME)-sounds/install
520 $(INSTALL_DIR) $(1)/usr/share/asterisk/sounds/
521 $(CP) $(PKG_INSTALL_DIR)/usr/share/asterisk/sounds/en/* $(1)/usr/share/asterisk/sounds/
522 rm -f $(1)/usr/share/asterisk/sounds/vm-*
523 endef
524
525 ifeq ($(call qstrip,$(CONFIG_LIBC)),musl)
526 CONFIGURE_ARGS+= \
527 --enable-permanent-dlopen
528 endif
529
530 ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-chan-dahdi),)
531 CONFIGURE_ARGS+= \
532 --with-dahdi="$(STAGING_DIR)/usr" \
533 --with-pri="$(STAGING_DIR)/usr" \
534 --with-tonezone="$(STAGING_DIR)/usr"
535 else
536 CONFIGURE_ARGS+= \
537 --without-dahdi \
538 --without-pri \
539 --without-tonezone
540 endif
541
542 # Pass CPPFLAGS in the CFLAGS as otherwise the build system will
543 # ignore them.
544 TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
545
546 CONFIGURE_ARGS+= \
547 --disable-xmldoc \
548 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-chan-alsa),--with-asound="$(STAGING_DIR)/usr",--without-asound) \
549 --without-execinfo \
550 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-chan-mobile),--with-bluetooth="$(STAGING_DIR)/usr",--without-bluetooth) \
551 --with-cap="$(STAGING_DIR)/usr" \
552 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-curl),--with-libcurl="$(STAGING_DIR)/usr") \
553 --with-gsm=internal \
554 --without-gtk2 \
555 --with-ilbc=internal \
556 --without-isdnnet \
557 --without-misdn \
558 --without-nbs \
559 --without-pjproject-bundled \
560 --with-libedit="$(STAGING_DIR)/usr" \
561 --with-libxml2 \
562 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-snmp),--with-netsnmp="$(STAGING_DIR)/usr",--without-netsnmp) \
563 --without-newt \
564 --without-osptk \
565 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pbx-lua),--with-lua="$(STAGING_DIR)/usr",--without-lua) \
566 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pgsql),--with-postgres="$(STAGING_DIR)/usr",--without-postgres) \
567 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-util-smsq),--with-popt="$(STAGING_DIR)/usr",--without-popt) \
568 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-chan-console),--with-portaudio="$(STAGING_DIR)/usr",--without-portaudio) \
569 --without-radius \
570 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-fax-spandsp),--with-spandsp="$(STAGING_DIR)/usr",--without-spandsp) \
571 --without-sdl \
572 --without-sqlite \
573 --with-sqlite3="$(STAGING_DIR)/usr" \
574 --without-suppserv \
575 --without-tds \
576 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-resolver-unbound),--with-unbound="$(STAGING_DIR)/usr",--without-unbound) \
577 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-format-ogg-vorbis),--with-vorbis="$(STAGING_DIR)/usr",--without-vorbis) \
578 --without-vpb \
579 --with-z="$(STAGING_DIR)/usr"
580
581 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-codec-speex)$(CONFIG_PACKAGE_$(PKG_NAME)-format-ogg-speex)$(CONFIG_PACKAGE_$(PKG_NAME)-func-speex),)
582 CONFIGURE_ARGS+= \
583 --without-speex
584 else
585 CONFIGURE_ARGS+= \
586 --with-speex="$(STAGING_DIR)/usr"
587 endif
588
589 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-codec-speex)$(CONFIG_PACKAGE_$(PKG_NAME)-func-speex),)
590 CONFIGURE_ARGS+= \
591 --without-speexdsp
592 else
593 CONFIGURE_ARGS+= \
594 --with-speexdsp="$(STAGING_DIR)/usr"
595 endif
596
597 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-format-ogg-speex)$(CONFIG_PACKAGE_$(PKG_NAME)-format-ogg-vorbis),)
598 CONFIGURE_ARGS+= \
599 --without-ogg
600 else
601 CONFIGURE_ARGS+= \
602 --with-ogg="$(STAGING_DIR)/usr"
603 endif
604
605 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-pjproject)$(CONFIG_PACKAGE_$(PKG_NAME)-res-srtp),)
606 CONFIGURE_ARGS+= \
607 --without-srtp
608 else
609 CONFIGURE_ARGS+= \
610 --with-srtp="$(STAGING_DIR)/usr"
611 endif
612
613 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-pjsip)$(CONFIG_PACKAGE_$(PKG_NAME)-res-pjproject)$(CONFIG_PACKAGE_$(PKG_NAME)-res-rtp-asterisk),)
614 CONFIGURE_ARGS+= \
615 --without-pjproject
616 else
617 CONFIGURE_ARGS+= \
618 --with-pjproject="$(STAGING_DIR)/usr"
619 endif
620
621 # res-calendar-ews requires both neon and neon29 detection
622 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-caldav)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-ews)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-exchange)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-icalendar),)
623 CONFIGURE_ARGS+= \
624 --without-neon
625 endif
626
627 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-caldav)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-exchange)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-icalendar),)
628 CONFIGURE_ARGS+= \
629 --without-ical
630 else
631 CONFIGURE_ARGS+= \
632 --with-ical="$(STAGING_DIR)/usr"
633 endif
634
635 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-ews),)
636 CONFIGURE_ARGS+= \
637 --without-neon29
638 endif
639
640 ifeq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-exchange)$(CONFIG_PACKAGE_$(PKG_NAME)-res-xmpp),)
641 CONFIGURE_ARGS+= \
642 --without-iksemel
643 else
644 CONFIGURE_ARGS+= \
645 --with-iksemel="$(STAGING_DIR)/usr"
646 endif
647
648 ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-caldav)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-ews)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-exchange)$(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-icalendar),)
649 CONFIGURE_VARS += \
650 ac_cv_path_CONFIG_NEON=$(STAGING_DIR)/usr/bin/neon-config
651 endif
652
653 ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-res-calendar-ews),)
654 CONFIGURE_VARS += \
655 ac_cv_path_CONFIG_NEON29=$(STAGING_DIR)/usr/bin/neon-config
656 endif
657
658 MAKE_FLAGS+= \
659 ASTDATADIR="/usr/share/asterisk" \
660 DESTDIR="$(PKG_INSTALL_DIR)"
661
662 # show full gcc arguments instead of [CC] and [LD]
663 MAKE_FLAGS+= \
664 NOISY_BUILD="yes"
665
666 # don't let asterisk mess with build flags
667 MAKE_FLAGS+= \
668 AST_FORTIFY_SOURCE="" \
669 DEBUG="" \
670 OPTIMIZE=""
671
672 AST_MENUSELECT_OPTS = \
673 --without-newt \
674 --without-curses
675
676 define Build/menuselect
677 CC="$(HOSTCC)" \
678 CFLAGS="$(HOST_CFLAGS)" \
679 LDFLAGS="$(HOST_LDFLAGS) -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib" \
680 $(MAKE) -C "$(PKG_BUILD_DIR)/menuselect"
681 endef
682
683 define Build/Configure
684 cd $(PKG_BUILD_DIR); \
685 ./bootstrap.sh
686 $(call Build/Configure/Default)
687 cd $(PKG_BUILD_DIR)/menuselect; \
688 CC="$(HOSTCC)" \
689 CFLAGS="$(HOST_CFLAGS)" \
690 CONFIG_SITE= \
691 LDFLAGS="$(HOST_LDFLAGS) -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib" \
692 ./configure \
693 $(HOST_CONFIGURE_ARGS) \
694 $(AST_MENUSELECT_OPTS)
695 endef
696
697 define Build/Compile
698 $(call Build/menuselect)
699 $(call Build/Compile/Default,menuselect-tree)
700
701 cd "$(PKG_BUILD_DIR)" && MENUSELECT_ARGS= && \
702 for cat in $(MENUSELECT_CATEGORIES); do \
703 MENUSELECT_ARGS="$$$$MENUSELECT_ARGS --disable-category $$$$cat"; \
704 done; \
705 ./menuselect/menuselect \
706 $$$$MENUSELECT_ARGS \
707 menuselect.makeopts
708 cd "$(PKG_BUILD_DIR)" && MENUSELECT_ARGS= && \
709 for item in $(AST_EMB_MODULES) $$(AST_ENABLE); do \
710 MENUSELECT_ARGS="$$$$MENUSELECT_ARGS --enable $$$$item"; \
711 done; \
712 ./menuselect/menuselect \
713 $$$$MENUSELECT_ARGS \
714 menuselect.makeopts
715 cd "$(PKG_BUILD_DIR)" && \
716 ./menuselect/menuselect \
717 --disable BUILD_NATIVE \
718 $(if $(CONFIG_ASTERISK$(AST_MAJOR_VERSION)_LOW_MEMORY),--enable LOW_MEMORY) \
719 menuselect.makeopts
720
721 # When changing anything in MENUSELECT_CFLAGS the file ".lastclean"
722 # gets deleted. E.g. when compiling on x86 for x86 "--disable
723 # BUILD_NATIVE" changes MENUSELECT_CFLAGS and the file gets removed.
724 # But that will result in a rebuild attempt of menuselect which will
725 # likely fail. Prevent that by recreating ".lastclean" and menuselect.
726 $(call Build/Compile/Default,.lastclean)
727 $(call Build/menuselect)
728
729 $(call Build/Compile/Default,all install samples)
730 endef
731
732 define Build/InstallDev
733 $(INSTALL_DIR) $(1)/usr/include/asterisk-$(AST_MAJOR_VERSION)/include/asterisk/
734 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-$(AST_MAJOR_VERSION)/include/asterisk/
735 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-$(AST_MAJOR_VERSION)/include/
736 endef
737
738 $(eval $(call BuildPackage,$(PKG_NAME)))
739 $(eval $(call BuildPackage,$(PKG_NAME)-sounds))
740
741 #######################################
742 # AST modules
743 # Params:
744 # 1 - Package subname
745 # 2 - Package title
746 # 3 - Module description
747 # 4 - Module dependencies
748 # 5 - conf files
749 # 6 - module files
750 # 7 - sound files
751 # 8 - binary files
752 # 9 - complex depends (passed on as is)
753 #######################################
754 #$(eval $(call BuildAsteriskModule,subname,title,module description,module dependencies,conf files,module files,sound files,binary files,complex depends))
755
756 $(eval $(call BuildAsteriskModule,app-adsiprog,ADSI programming,Asterisk ADSI programming application.,+$(PKG_NAME)-res-adsi,adsi.conf asterisk.adsi telcordia-1.adsi,app_adsiprog,,))
757 $(eval $(call BuildAsteriskModule,app-agent-pool,Call center agent pool,Call center agent pool applications.,,agents.conf,app_agent_pool,,))
758 $(eval $(call BuildAsteriskModule,app-alarmreceiver,Alarm receiver,Alarm receiver for Asterisk.,,,app_alarmreceiver,,))
759 $(eval $(call BuildAsteriskModule,app-amd,Answering machine detection,Answering Machine Detection application.,,amd.conf,app_amd,,))
760 $(eval $(call BuildAsteriskModule,app-attended-transfer,Attended transfer,Queues up an attended transfer to a given extension.,,,app_attended_transfer,,))
761 $(eval $(call BuildAsteriskModule,app-authenticate,Authenticate commands,Authentication application.,,,app_authenticate,,))
762 $(eval $(call BuildAsteriskModule,app-blind-transfer,Blind transfer,Redirects all channels currently bridged to the caller channel to a specified destination.,,,app_blind_transfer,,))
763 $(eval $(call BuildAsteriskModule,app-bridgeaddchan,Bridge add channel,Bridge-add-channel application.,,,app_bridgeaddchan,,))
764 $(eval $(call BuildAsteriskModule,app-bridgewait,Holding bridge,Application to place a channel into a holding bridge.,+$(PKG_NAME)-bridge-holding,,app_bridgewait,,))
765 $(eval $(call BuildAsteriskModule,app-celgenuserevent,User-defined CEL event,Generate a user defined CEL event.,,,app_celgenuserevent,,))
766 $(eval $(call BuildAsteriskModule,app-chanisavail,Channel availability check,Check channel availability.,,,app_chanisavail,,))
767 $(eval $(call BuildAsteriskModule,app-channelredirect,Redirect a channel,Redirects a given channel to a dialplan target.,,,app_channelredirect,,))
768 $(eval $(call BuildAsteriskModule,app-chanspy,Channel listen in,Listen to the audio of an active channel.,,,app_chanspy,,))
769 $(eval $(call BuildAsteriskModule,app-confbridge,ConfBridge,Conference bridge application.,+$(PKG_NAME)-bridge-builtin-features +$(PKG_NAME)-bridge-simple +$(PKG_NAME)-bridge-softmix,confbridge.conf,app_confbridge,,))
770 $(eval $(call BuildAsteriskModule,app-controlplayback,Control playback,Control playback application.,,,app_controlplayback,,))
771 $(eval $(call BuildAsteriskModule,app-dahdiras,Execute an ISDN RAS,DAHDI ISDN Remote Access Server.,+$(PKG_NAME)-chan-dahdi,,app_dahdiras,,))
772 $(eval $(call BuildAsteriskModule,app-dictate,Virtual dictation machine,Virtual dictation machine.,,,app_dictate,,))
773 $(eval $(call BuildAsteriskModule,app-directed-pickup,Directed call pickup,Directed call pickup application.,,,app_directed_pickup,,))
774 $(eval $(call BuildAsteriskModule,app-directory,Extension directory,Extension directory.,,,app_directory,,))
775 $(eval $(call BuildAsteriskModule,app-disa,Direct Inward System Access,Direct Inward System Access application.,,,app_disa,,))
776 $(eval $(call BuildAsteriskModule,app-dumpchan,Dump info about channel,Dump info about the calling channel.,,,app_dumpchan,,))
777 $(eval $(call BuildAsteriskModule,app-exec,Exec application,Executes dialplan applications.,,,app_exec,,))
778 $(eval $(call BuildAsteriskModule,app-externalivr,External IVR interface,External IVR interface application.,,,app_externalivr,,))
779 $(eval $(call BuildAsteriskModule,app-festival,Simple festival interface,Simple Festival interface.,,festival.conf,app_festival,,))
780 $(eval $(call BuildAsteriskModule,app-flash,Flash channel,Flash channel application.,+$(PKG_NAME)-chan-dahdi,,app_flash,,))
781 $(eval $(call BuildAsteriskModule,app-followme,Find-me/follow-me,Find-Me/Follow-Me application.,,followme.conf,app_followme,,))
782 $(eval $(call BuildAsteriskModule,app-getcpeid,Get ADSI CPE ID,Get ADSI CPE ID.,,,app_getcpeid,,))
783 $(eval $(call BuildAsteriskModule,app-ices,Encode and stream,Encode and stream via Icecast and IceS.,,,app_ices,,))
784 $(eval $(call BuildAsteriskModule,app-image,Image transmission,Image transmission application.,,,app_image,,))
785 $(eval $(call BuildAsteriskModule,app-ivrdemo,IVR demo,IVR demo application.,,,app_ivrdemo,,))
786 $(eval $(call BuildAsteriskModule,app-milliwatt,Digital milliwatt [mu-law] test app,Digital milliwatt test application.,,,app_milliwatt,,))
787 $(eval $(call BuildAsteriskModule,app-minivm,Minimal voicemail system,A minimal voicemail e-mail system.,,extensions_minivm.conf minivm.conf,app_minivm,,))
788 $(eval $(call BuildAsteriskModule,app-mixmonitor,Record a call and mix the audio,Mixed audio monitoring application.,,,app_mixmonitor,,))
789 $(eval $(call BuildAsteriskModule,app-morsecode,Morse code,Morse code.,,,app_morsecode,,))
790 $(eval $(call BuildAsteriskModule,app-mp3,Silly MP3,Silly MP3 application.,+mpg123,,app_mp3,,))
791 $(eval $(call BuildAsteriskModule,app-originate,Originate a call,Originate call.,,,app_originate,,))
792 $(eval $(call BuildAsteriskModule,app-page,Page multiple phones,Page multiple phones.,+$(PKG_NAME)-app-confbridge,,app_page,,))
793 $(eval $(call BuildAsteriskModule,app-playtones,Playtones application,Playtones application.,,,app_playtones,,))
794 $(eval $(call BuildAsteriskModule,app-privacy,Require phone number,Require phone number to be entered if no Caller ID sent.,,,app_privacy,,))
795 $(eval $(call BuildAsteriskModule,app-queue,True Call Queueing,True call queueing.,,queues.conf queuerules.conf,app_queue,,))
796 $(eval $(call BuildAsteriskModule,app-read,Variable read,Read variable application.,,,app_read,,))
797 $(eval $(call BuildAsteriskModule,app-readexten,Extension to variable,Read and evaluate extension validity.,,,app_readexten,,))
798 $(eval $(call BuildAsteriskModule,app-record,Record sound file,Trivial record application.,,,app_record,,))
799 $(eval $(call BuildAsteriskModule,app-saycounted,Decline words,Decline words according to channel language.,,,app_saycounted,,))
800 $(eval $(call BuildAsteriskModule,app-sayunixtime,Say Unix time,Say time.,,,app_sayunixtime,,))
801 $(eval $(call BuildAsteriskModule,app-senddtmf,Send DTMF digits,Send DTMF digits application.,,,app_senddtmf,,))
802 $(eval $(call BuildAsteriskModule,app-sendtext,Send text,Send text applications.,,,app_sendtext,,))
803 $(eval $(call BuildAsteriskModule,app-skel,Skeleton [sample],Skeleton application.,,app_skel.conf,app_skel,,))
804 $(eval $(call BuildAsteriskModule,app-sms,SMS,SMS/PSTN handler.,,,app_sms,,))
805 $(eval $(call BuildAsteriskModule,app-softhangup,Hang up requested channel,Hangs up the requested channel.,,,app_softhangup,,))
806 $(eval $(call BuildAsteriskModule,app-speech,Dialplan Speech,Dialplan speech applications.,+$(PKG_NAME)-res-speech,,app_speech_utils,,))
807 $(eval $(call BuildAsteriskModule,app-stack,Stack applications,Dialplan subroutines.,+$(PKG_NAME)-res-agi,,app_stack,,))
808 $(eval $(call BuildAsteriskModule,app-stasis,Stasis dialplan,Stasis dialplan application.,+$(PKG_NAME)-res-stasis,,app_stasis,,))
809 $(eval $(call BuildAsteriskModule,app-statsd,statsd dialplan,StatsD dialplan application.,+$(PKG_NAME)-res-statsd,,app_statsd,,))
810 $(eval $(call BuildAsteriskModule,app-stream-echo,Stream echo,Stream echo application.,,,app_stream_echo,,))
811 $(eval $(call BuildAsteriskModule,app-system,System exec,Generic system application.,,,app_system,,))
812 $(eval $(call BuildAsteriskModule,app-talkdetect,File playback with audio detect,Playback with talk detection.,,,app_talkdetect,,))
813 $(eval $(call BuildAsteriskModule,app-test,Interface test,Interface test application.,,,app_test,,))
814 $(eval $(call BuildAsteriskModule,app-transfer,Transfers caller to other ext,Transfers a caller to another extension.,,,app_transfer,,))
815 $(eval $(call BuildAsteriskModule,app-url,Send URL,Send URL applications.,,,app_url,,))
816 $(eval $(call BuildAsteriskModule,app-userevent,Custom user event,Custom user event application.,,,app_userevent,,))
817 $(eval $(call BuildAsteriskModule,app-verbose,Verbose logging,Send verbose output.,,,app_verbose,,))
818 $(eval $(call BuildAsteriskModule,app-waitforring,Wait for first ring,Waits until first ring after time.,,,app_waitforring,,))
819 $(eval $(call BuildAsteriskModule,app-waitforsilence,Wait for silence/noise,Wait for silence/noise.,,,app_waitforsilence,,))
820 $(eval $(call BuildAsteriskModule,app-waituntil,Sleep,Wait until specified time.,,,app_waituntil,,))
821 $(eval $(call BuildAsteriskModule,app-while,While loop,While loops and conditional execution.,,,app_while,,))
822 $(eval $(call BuildAsteriskModule,app-zapateller,Block telemarketers,Block telemarketers with special information tone.,,,app_zapateller,,))
823 $(eval $(call BuildAsteriskModule,bridge-builtin-features,Bridging features,Built in bridging features.,,,bridge_builtin_features,,))
824 $(eval $(call BuildAsteriskModule,bridge-builtin-interval-features,Built in bridging interval features,Built in bridging interval features.,,,bridge_builtin_interval_features,,))
825 $(eval $(call BuildAsteriskModule,bridge-holding,Bridging for storing channels in a bridge,Holding bridge module.,,,bridge_holding,,))
826 $(eval $(call BuildAsteriskModule,bridge-native-rtp,Native RTP bridging technology module,Native RTP bridging module.,,,bridge_native_rtp,,))
827 $(eval $(call BuildAsteriskModule,bridge-simple,Simple two channel bridging module,Simple two channel bridging module.,,,bridge_simple,,))
828 $(eval $(call BuildAsteriskModule,bridge-softmix,Multi-party software based channel mixing,Multi-party software based channel mixing.,,,bridge_softmix,,))
829 $(eval $(call BuildAsteriskModule,cdr,Provides CDR,Call Detail Records.,,cdr.conf cdr_custom.conf cdr_manager.conf cdr_syslog.conf,app_cdr app_forkcdr cdr_custom cdr_manager cdr_syslog func_cdr,,))
830 $(eval $(call BuildAsteriskModule,cdr-csv,Provides CDR CSV,Comma Separated Values CDR backend.,,,cdr_csv,,))
831 $(eval $(call BuildAsteriskModule,cdr-sqlite3,Provides CDR SQLITE3,SQLite3 CDR backend.,libsqlite3,,cdr_sqlite3_custom,,))
832 $(eval $(call BuildAsteriskModule,cel-custom,Customizable CSV CEL backend,Customizable Comma Separated Values CEL backend.,,cel_custom.conf,cel_custom,,))
833 $(eval $(call BuildAsteriskModule,cel-manager,AMI CEL backend,Asterisk Manager Interface CEL backend.,,,cel_manager,,))
834 $(eval $(call BuildAsteriskModule,cel-sqlite3-custom,SQLite3 custom CEL,SQLite3 custom CEL module.,,cel_sqlite3_custom.conf,cel_sqlite3_custom,,))
835 $(eval $(call BuildAsteriskModule,chan-alsa,ALSA channel,ALSA console channel driver.,+alsa-lib,alsa.conf,chan_alsa,,))
836 $(eval $(call BuildAsteriskModule,chan-bridge-media,Bridge media channel driver,Bridge media channel driver.,,,chan_bridge_media,,))
837 $(eval $(call BuildAsteriskModule,chan-console,Console channel driver,Console channel driver.,+portaudio,console.conf,chan_console,,))
838 $(eval $(call BuildAsteriskModule,chan-dahdi,DAHDI channel,DAHDI telephony.,+dahdi-tools-libtonezone +kmod-dahdi +libpri @!aarch64,chan_dahdi.conf,chan_dahdi,,))
839 $(eval $(call BuildAsteriskModule,chan-iax2,IAX2 channel,Inter Asterisk eXchange.,+$(PKG_NAME)-res-timing-timerfd,iax.conf iaxprov.conf,chan_iax2,,))
840 $(eval $(call BuildAsteriskModule,chan-mgcp,MGCP,Media Gateway Control Protocol.,,mgcp.conf,chan_mgcp,,))
841 $(eval $(call BuildAsteriskModule,chan-mobile,Bluetooth channel,Bluetooth mobile device channel driver.,+bluez-libs,chan_mobile.conf,chan_mobile,,))
842 $(eval $(call BuildAsteriskModule,chan-motif,Jingle channel,Motif Jingle channel driver.,+$(PKG_NAME)-res-xmpp,motif.conf,chan_motif,,))
843 $(eval $(call BuildAsteriskModule,chan-ooh323,H.323 channel,Objective Systems H.323 channel.,,ooh323.conf,chan_ooh323,,))
844 $(eval $(call BuildAsteriskModule,chan-oss,OSS channel,OSS console channel driver.,,oss.conf,chan_oss,,))
845 $(eval $(call BuildAsteriskModule,chan-rtp,RTP media channel,RTP media channel.,,,chan_rtp,,))
846 $(eval $(call BuildAsteriskModule,chan-sip,SIP channel,Session Initiation Protocol.,+$(PKG_NAME)-app-confbridge,sip.conf sip_notify.conf,chan_sip,,))
847 $(eval $(call BuildAsteriskModule,chan-skinny,Skinny channel,Skinny Client Control Protocol.,,skinny.conf,chan_skinny,,))
848 $(eval $(call BuildAsteriskModule,chan-unistim,Unistim channel,UNISTIM protocol.,,unistim.conf,chan_unistim,,))
849 $(eval $(call BuildAsteriskModule,codec-a-mu,Alaw to ulaw translation,Alaw and ulaw direct coder/decoder.,,,codec_a_mu,,))
850 $(eval $(call BuildAsteriskModule,codec-adpcm,ADPCM text,Adaptive Differential PCM coder/decoder.,,,codec_adpcm,,))
851 $(eval $(call BuildAsteriskModule,codec-alaw,Signed linear to alaw translation,Alaw coder/decoder.,,,codec_alaw,,))
852 $(eval $(call BuildAsteriskModule,codec-dahdi,DAHDI codec,Generic DAHDI transcoder codec translator.,+$(PKG_NAME)-chan-dahdi,,codec_dahdi,,))
853 $(eval $(call BuildAsteriskModule,codec-g722,G.722,ITU G.722-64kbps G722 transcoder.,,,codec_g722,,))
854 $(eval $(call BuildAsteriskModule,codec-g726,Signed linear to G.726 translation,ITU G.726-32kbps G726 transcoder.,,,codec_g726,,))
855 $(eval $(call BuildAsteriskModule,codec-gsm,linear to GSM translation,GSM coder/decoder.,,,codec_gsm,,))
856 $(eval $(call BuildAsteriskModule,codec-ilbc,linear to ILBC translation,iLBC coder/decoder.,,,codec_ilbc,,))
857 $(eval $(call BuildAsteriskModule,codec-lpc10,Linear to LPC10 translation,LPC10 2.4kbps coder/decoder.,,,codec_lpc10,,))
858 $(eval $(call BuildAsteriskModule,codec-resample,resample sLinear audio,SLIN resampling codec.,,,codec_resample,,))
859 $(eval $(call BuildAsteriskModule,codec-speex,Speex Coder/Decoder,Speex coder/decoder.,@!SOFT_FLOAT +libspeex +libspeexdsp,,codec_speex,,))
860 $(eval $(call BuildAsteriskModule,codec-ulaw,Signed linear to ulaw translation,Ulaw coder/decoder.,,,codec_ulaw,,))
861 $(eval $(call BuildAsteriskModule,curl,CURL,cURL support,+libcurl,,func_curl res_config_curl res_curl,,))
862 $(eval $(call BuildAsteriskModule,format-g719,G.719,ITU G.719.,,,format_g719,,))
863 $(eval $(call BuildAsteriskModule,format-g723,G.723.1,G.723.1 simple timestamp file format.,,,format_g723,,))
864 $(eval $(call BuildAsteriskModule,format-g726,G.726,Raw G.726 data.,,,format_g726,,))
865 $(eval $(call BuildAsteriskModule,format-g729,G.729,Raw G.729 data.,,,format_g729,,))
866 $(eval $(call BuildAsteriskModule,format-gsm,GSM format,Raw GSM data.,,,format_gsm,,))
867 $(eval $(call BuildAsteriskModule,format-h263,H263 format,Raw H.263 data.,,,format_h263,,))
868 $(eval $(call BuildAsteriskModule,format-h264,H264 format,Raw H.264 data.,,,format_h264,,))
869 $(eval $(call BuildAsteriskModule,format-ilbc,ILBC format,Raw iLBC data.,,,format_ilbc,,))
870 $(eval $(call BuildAsteriskModule,format-mp3,MP3 format,MP3 format.,@BROKEN,,format_mp3,,)) # requires patched mpg123 source
871 $(eval $(call BuildAsteriskModule,format-ogg-speex,OGG/Speex audio,OGG/Speex audio.,@!SOFT_FLOAT +libogg +libspeex,,format_ogg_speex,,))
872 $(eval $(call BuildAsteriskModule,format-ogg-vorbis,OGG/Vorbis audio,OGG/Vorbis audio.,+libvorbis,,format_ogg_vorbis,,))
873 $(eval $(call BuildAsteriskModule,format-pcm,PCM format,Raw/Sun ulaw/alaw 8KHz and G.722 16Khz.,,,format_pcm,,))
874 $(eval $(call BuildAsteriskModule,format-siren14,Siren14,ITU G.722.1 Annex C.,,,format_siren14,,))
875 $(eval $(call BuildAsteriskModule,format-siren7,Siren7,ITU G.722.1.,,,format_siren7,,))
876 $(eval $(call BuildAsteriskModule,format-sln,Raw slinear format,Raw signed linear audio support 8khz-192khz.,,,format_sln,,))
877 $(eval $(call BuildAsteriskModule,format-vox,VOX format,Dialogic VOX file format.,,,format_vox,,))
878 $(eval $(call BuildAsteriskModule,format-wav,WAV format (8000hz Signed Linear),Microsoft WAV/WAV16 format.,,,format_wav,,))
879 $(eval $(call BuildAsteriskModule,format-wav-gsm,WAV format (Proprietary GSM),Microsoft WAV format.,,,format_wav_gsm,,))
880 $(eval $(call BuildAsteriskModule,func-aes,AES dialplan functions,AES dialplan functions.,,,func_aes,,))
881 $(eval $(call BuildAsteriskModule,func-base64,base64 support,Base64 encode/decode dialplan functions.,,,func_base64,,))
882 $(eval $(call BuildAsteriskModule,func-blacklist,Blacklist on callerid,Look up Caller ID name/number from blacklist database.,,,func_blacklist,,))
883 $(eval $(call BuildAsteriskModule,func-callcompletion,Call control configuration function,Call control configuration function.,,,func_callcompletion,,))
884 $(eval $(call BuildAsteriskModule,func-channel,Channel info,Channel information dialplan functions.,,,func_channel,,))
885 $(eval $(call BuildAsteriskModule,func-config,Configuration file variable access,Asterisk configuration file variable access.,,,func_config,,))
886 $(eval $(call BuildAsteriskModule,func-cut,CUT function,Cut out information from a string.,,,func_cut,,))
887 $(eval $(call BuildAsteriskModule,func-db,Database interaction,Database related dialplan functions.,,,func_db app_db,,))
888 $(eval $(call BuildAsteriskModule,func-devstate,Blinky lights control,Gets or sets a device state in the dialplan.,,,func_devstate,,))
889 $(eval $(call BuildAsteriskModule,func-dialgroup,Dialgroup dialplan function,Dialgroup dialplan function.,,,func_dialgroup,,))
890 $(eval $(call BuildAsteriskModule,func-dialplan,Dialplan context/extension/priority checking functions,Dialplan context/extension/priority checking functions.,,,func_dialplan,,))
891 $(eval $(call BuildAsteriskModule,func-enum,ENUM,ENUM related dialplan functions.,,enum.conf,func_enum,,))
892 $(eval $(call BuildAsteriskModule,func-env,Environment functions,Environment/filesystem dialplan functions.,,,func_env,,))
893 $(eval $(call BuildAsteriskModule,func-extstate,Hinted extension state,Gets the state of an extension in the dialplan.,,,func_extstate,,))
894 $(eval $(call BuildAsteriskModule,func-frame-trace,Frame trace for internal ast_frame debugging,Frame trace for internal ast_frame debugging.,,,func_frame_trace,,))
895 $(eval $(call BuildAsteriskModule,func-global,Global variable,Variable dialplan functions.,,,func_global,,))
896 $(eval $(call BuildAsteriskModule,func-groupcount,Group count,Channel group dialplan functions.,,,func_groupcount,,))
897 $(eval $(call BuildAsteriskModule,func-hangupcause,HANGUPCAUSE related functions,Hangup cause related functions and applications.,,,func_hangupcause,,))
898 $(eval $(call BuildAsteriskModule,func-holdintercept,Hold interception dialplan function,Hold interception dialplan function.,,,func_holdintercept,,))
899 $(eval $(call BuildAsteriskModule,func-iconv,Charset conversion,Charset conversions.,,,func_iconv,,,$(ICONV_DEPENDS)))
900 $(eval $(call BuildAsteriskModule,func-jitterbuffer,Jitter buffer for read side of channel,Jitter buffer for read side of channel.,,,func_jitterbuffer,,))
901 $(eval $(call BuildAsteriskModule,func-lock,Dialplan mutexes,Dialplan mutexes.,,,func_lock,,))
902 $(eval $(call BuildAsteriskModule,func-math,Math functions,Mathematical dialplan function.,,,func_math,,))
903 $(eval $(call BuildAsteriskModule,func-md5,MD5 digest dialplan functions,MD5 digest dialplan functions.,,,func_md5,,))
904 $(eval $(call BuildAsteriskModule,func-module,Simple module check function,Checks if Asterisk module is loaded in memory.,,,func_module,,))
905 $(eval $(call BuildAsteriskModule,func-periodic-hook,Periodic dialplan hooks,Periodic dialplan hooks.,+$(PKG_NAME)-app-chanspy +$(PKG_NAME)-func-cut +$(PKG_NAME)-func-groupcount +$(PKG_NAME)-func-uri,,func_periodic_hook,,))
906 $(eval $(call BuildAsteriskModule,func-pitchshift,Audio effects dialplan functions,Audio effects dialplan functions.,,,func_pitchshift,,))
907 $(eval $(call BuildAsteriskModule,func-presencestate,Hinted presence state,Gets or sets a presence state in the dialplan.,,,func_presencestate,,))
908 $(eval $(call BuildAsteriskModule,func-rand,RAND dialplan function,Random number dialplan function.,,,func_rand,,))
909 $(eval $(call BuildAsteriskModule,func-realtime,REALTIME dialplan function,Read/write/store/destroy values from a realtime repository.,,,func_realtime,,))
910 $(eval $(call BuildAsteriskModule,func-sha1,SHA-1 computation dialplan function,SHA-1 computation dialplan function.,,,func_sha1,,))
911 $(eval $(call BuildAsteriskModule,func-shell,Shell,Collects the output generated by a command executed by the system shell.,,,func_shell,,))
912 $(eval $(call BuildAsteriskModule,func-sorcery,Get a field from a sorcery object,Get a field from a sorcery object.,,,func_sorcery,,))
913 $(eval $(call BuildAsteriskModule,func-speex,Noise reduction and AGC,Noise reduction and Automatic Gain Control.,@!SOFT_FLOAT +libspeex +libspeexdsp,,func_speex,,))
914 $(eval $(call BuildAsteriskModule,func-sprintf,SPRINTF dialplan function,SPRINTF dialplan function.,,,func_sprintf,,))
915 $(eval $(call BuildAsteriskModule,func-srv,SRV functions,SRV related dialplan functions.,,,func_srv,,))
916 $(eval $(call BuildAsteriskModule,func-sysinfo,System information related functions,System information related functions.,,,func_sysinfo,,))
917 $(eval $(call BuildAsteriskModule,func-talkdetect,Talk detection dialplan function,Talk detection dialplan function.,,,func_talkdetect,,))
918 $(eval $(call BuildAsteriskModule,func-uri,URI encoding and decoding,URI encode/decode dialplan functions.,,,func_uri,,))
919 $(eval $(call BuildAsteriskModule,func-version,Get Asterisk version/build info,Get Asterisk version/build info.,,,func_version,,))
920 $(eval $(call BuildAsteriskModule,func-vmcount,vmcount dialplan,Indicator for whether a voice mailbox has messages in a given folder.,,,func_vmcount,,))
921 $(eval $(call BuildAsteriskModule,func-volume,Technology independent volume control,Technology independent volume control.,,,func_volume,,))
922 $(eval $(call BuildAsteriskModule,odbc,ODBC,ODBC support.,+libpthread +libc +unixodbc,cdr_adaptive_odbc.conf cdr_odbc.conf cel_odbc.conf func_odbc.conf res_odbc.conf,cdr_adaptive_odbc cdr_odbc cel_odbc func_odbc res_config_odbc res_odbc res_odbc_transaction,,))
923 $(eval $(call BuildAsteriskModule,pbx-ael,Asterisk Extension Logic,Asterisk Extension Language compiler.,+$(PKG_NAME)-res-ael-share,extensions.ael,pbx_ael,,))
924 $(eval $(call BuildAsteriskModule,pbx-dundi,Dundi,Distributed Universal Number Discovery.,,dundi.conf,pbx_dundi,,))
925 $(eval $(call BuildAsteriskModule,pbx-loopback,Loopback switch,Loopback switch.,,,pbx_loopback,,))
926 $(eval $(call BuildAsteriskModule,pbx-lua,Lua,Lua PBX switch.,+liblua,extensions.lua,pbx_lua,,))
927 $(eval $(call BuildAsteriskModule,pbx-realtime,Realtime Switch,Realtime switch.,,,pbx_realtime,,))
928 $(eval $(call BuildAsteriskModule,pbx-spool,Call Spool,Outgoing spool support.,,,pbx_spool,,))
929 $(eval $(call BuildAsteriskModule,pgsql,PostgreSQL,PostgreSQL support.,+libpq,cel_pgsql.conf cdr_pgsql.conf res_pgsql.conf,cel_pgsql cdr_pgsql res_config_pgsql,,))
930 $(eval $(call BuildAsteriskModule,pjsip,pjsip channel,PJSIP SIP stack.,+$(PKG_NAME)-res-http-websocket +$(PKG_NAME)-res-pjproject +$(PKG_NAME)-res-sorcery +libpjsip +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsua +libpjsua2,pjsip.conf pjsip_notify.conf pjsip_wizard.conf,chan_pjsip func_pjsip_aor func_pjsip_contact func_pjsip_endpoint res_pjsip res_pjsip_acl res_pjsip_authenticator_digest res_pjsip_caller_id res_pjsip_config_wizard res_pjsip_dialog_info_body_generator res_pjsip_diversion res_pjsip_dlg_options res_pjsip_dtmf_info res_pjsip_empty_info res_pjsip_endpoint_identifier_anonymous res_pjsip_endpoint_identifier_ip res_pjsip_endpoint_identifier_user res_pjsip_exten_state res_pjsip_header_funcs res_pjsip_history res_pjsip_logger res_pjsip_messaging res_pjsip_mwi res_pjsip_mwi_body_generator res_pjsip_nat res_pjsip_notify res_pjsip_one_touch_record_info res_pjsip_outbound_authenticator_digest res_pjsip_outbound_publish res_pjsip_outbound_registration res_pjsip_path res_pjsip_pidf_body_generator res_pjsip_pidf_digium_body_supplement res_pjsip_pidf_eyebeam_body_supplement res_pjsip_publish_asterisk res_pjsip_pubsub res_pjsip_refer res_pjsip_registrar res_pjsip_rfc3326 res_pjsip_sdp_rtp res_pjsip_send_to_voicemail res_pjsip_session res_pjsip_sips_contact res_pjsip_t38 res_pjsip_transport_websocket res_pjsip_xpidf_body_generator,,))
931 $(eval $(call BuildAsteriskModule,res-adsi,Provide ADSI,ADSI resource.,,,res_adsi,,))
932 $(eval $(call BuildAsteriskModule,res-ael-share,Shareable AEL code,Shareable code for AEL.,,,res_ael_share,,))
933 $(eval $(call BuildAsteriskModule,res-agi,Asterisk Gateway Interface,Asterisk Gateway Interface.,+$(PKG_NAME)-res-speech,,res_agi,,))
934 $(eval $(call BuildAsteriskModule,res-ari,Asterisk RESTful interface,Asterisk RESTful Interface.,+$(PKG_NAME)-res-http-websocket,ari.conf,res_ari,,))
935 $(eval $(call BuildAsteriskModule,res-ari-applications,RESTful Stasis application resources,RESTful API module - Stasis application resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis,,res_ari_applications,))
936 $(eval $(call BuildAsteriskModule,res-ari-asterisk,RESTful Asterisk resources,RESTful API module - Asterisk resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis,,res_ari_asterisk,,))
937 $(eval $(call BuildAsteriskModule,res-ari-bridges,RESTful bridge resources,RESTful API module - bridge resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis-playback,,res_ari_bridges,,))
938 $(eval $(call BuildAsteriskModule,res-ari-channels,RESTful channel resources,RESTful API module - channel resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis-answer +$(PKG_NAME)-res-stasis-playback +$(PKG_NAME)-res-stasis-snoop,,res_ari_channels,,))
939 $(eval $(call BuildAsteriskModule,res-ari-device-states,RESTful device state resources,RESTful API module - device state resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis-device-state,,res_ari_device_states,,))
940 $(eval $(call BuildAsteriskModule,res-ari-endpoints,RESTful endpoint resources,RESTful API module - endpoint resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis,,res_ari_endpoints,,))
941 $(eval $(call BuildAsteriskModule,res-ari-events,RESTful WebSocket resource,RESTful API module - WebSocket resource.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis,,res_ari_events,,))
942 $(eval $(call BuildAsteriskModule,res-ari-mailboxes,RESTful mailboxes resources,RESTful API module - mailboxes resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis-mailbox,,res_ari_mailboxes,,))
943 $(eval $(call BuildAsteriskModule,res-ari-model,ARI model validators,ARI model validators.,,,res_ari_model,,))
944 $(eval $(call BuildAsteriskModule,res-ari-playbacks,RESTful playback control resources,RESTful API module - playback control resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis-playback,,res_ari_playbacks,,))
945 $(eval $(call BuildAsteriskModule,res-ari-recordings,RESTful recording resources,RESTful API module - recording resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis-recording,,res_ari_recordings,,))
946 $(eval $(call BuildAsteriskModule,res-ari-sounds,RESTful sound resources,RESTful API module - sound resources.,+$(PKG_NAME)-res-ari +$(PKG_NAME)-res-ari-model +$(PKG_NAME)-res-stasis,,res_ari_sounds,))
947 $(eval $(call BuildAsteriskModule,res-calendar,Calendar API,Asterisk calendar integration.,,calendar.conf,res_calendar,,))
948 $(eval $(call BuildAsteriskModule,res-calendar-caldav,CalDAV calendar,Asterisk CalDAV calendar integration.,+$(PKG_NAME)-res-calendar +libical +libneon,,res_calendar_caldav,,))
949 $(eval $(call BuildAsteriskModule,res-calendar-ews,EWS calendar,Asterisk MS Exchange Web Service calendar integration.,+$(PKG_NAME)-res-calendar +libneon,,res_calendar_ews,,))
950 $(eval $(call BuildAsteriskModule,res-calendar-exchange,Exchange calendar,Asterisk MS Exchange calendar integration.,+$(PKG_NAME)-res-calendar +libical +libiksemel +libneon,,res_calendar_exchange,,))
951 $(eval $(call BuildAsteriskModule,res-calendar-icalendar,iCalendar calendar,Asterisk iCalendar .ics file integration.,+$(PKG_NAME)-res-calendar +libical +libneon,,res_calendar_icalendar,,))
952 $(eval $(call BuildAsteriskModule,res-chan-stats,statsd channel stats,Example of how to use Stasis.,+$(PKG_NAME)-res-statsd,,res_chan_stats,,))
953 $(eval $(call BuildAsteriskModule,res-clialiases,CLI aliases,CLI aliases.,,cli_aliases.conf,res_clialiases,,))
954 $(eval $(call BuildAsteriskModule,res-clioriginate,Calls via CLI,Call origination and redirection from the CLI.,,,res_clioriginate,,))
955 $(eval $(call BuildAsteriskModule,res-config-ldap,LDAP realtime interface,LDAP realtime interface.,+libopenldap,res_ldap.conf,res_config_ldap,,))
956 $(eval $(call BuildAsteriskModule,res-config-mysql,MySQL CDR backend,MySQL realtime configuration driver.,+libmysqlclient,,res_config_mysql,,))
957 $(eval $(call BuildAsteriskModule,res-config-sqlite3,SQLite 3 realtime config engine,SQLite3 realtime config engine.,,,res_config_sqlite3,,))
958 $(eval $(call BuildAsteriskModule,res-convert,File format conversion CLI command,File format conversion CLI command.,,,res_convert,,))
959 $(eval $(call BuildAsteriskModule,res-endpoint-stats,Endpoint statistics,Endpoint statistics.,+$(PKG_NAME)-res-statsd,,res_endpoint_stats,,))
960 $(eval $(call BuildAsteriskModule,res-hep,HEPv3 API,HEPv3 API.,,hep.conf,res_hep,,))
961 $(eval $(call BuildAsteriskModule,res-hep-pjsip,PJSIP HEPv3 Logger,PJSIP HEPv3 logger.,+$(PKG_NAME)-res-hep +$(PKG_NAME)-pjsip,,res_hep_pjsip,,))
962 $(eval $(call BuildAsteriskModule,res-hep-rtcp,RTCP HEPv3 Logger,RTCP HEPv3 logger.,+$(PKG_NAME)-res-hep,,res_hep_rtcp,,))
963 $(eval $(call BuildAsteriskModule,res-fax-spandsp,Spandsp T.38 and G.711,Spandsp G.711 and T.38 FAX technologies.,+$(PKG_NAME)-res-fax +libspandsp +libtiff,,res_fax_spandsp,,))
964 $(eval $(call BuildAsteriskModule,res-fax,FAX modules,Generic FAX applications.,+$(PKG_NAME)-res-timing-pthread,res_fax.conf,res_fax,,))
965 $(eval $(call BuildAsteriskModule,res-format-attr-celt,CELT format attribute module,CELT format attribute module.,,,res_format_attr_celt,,))
966 $(eval $(call BuildAsteriskModule,res-format-attr-g729,G.729 format attribute module,G.729 format attribute module.,,,res_format_attr_g729,,))
967 $(eval $(call BuildAsteriskModule,res-format-attr-h263,H.263 format attribute module,H.263 format attribute module.,,,res_format_attr_h263,,))
968 $(eval $(call BuildAsteriskModule,res-format-attr-h264,H.264 format attribute module,H.264 format attribute module.,,,res_format_attr_h264,,))
969 $(eval $(call BuildAsteriskModule,res-format-attr-ilbc,ILBC format attribute module,iLBC format attribute module.,,,res_format_attr_ilbc,,))
970 $(eval $(call BuildAsteriskModule,res-format-attr-opus,Opus format attribute module,Opus format attribute module.,,,res_format_attr_opus,,))
971 $(eval $(call BuildAsteriskModule,res-format-attr-silk,SILK format attribute module,SILK format attribute module.,,,res_format_attr_silk,,))
972 $(eval $(call BuildAsteriskModule,res-format-attr-siren14,Siren14 format attribute module,Siren14 format attribute module.,,,res_format_attr_siren14,,))
973 $(eval $(call BuildAsteriskModule,res-format-attr-siren7,Siren7 format attribute module,Siren7 format attribute module.,,,res_format_attr_siren7,,))
974 $(eval $(call BuildAsteriskModule,res-format-attr-vp8,VP8 format attribute module,VP8 format attribute module.,,,res_format_attr_vp8,,))
975 $(eval $(call BuildAsteriskModule,res-http-media-cache,HTTP media cache backend,HTTP media cache backend.,+$(PKG_NAME)-curl,,res_http_media_cache,,))
976 $(eval $(call BuildAsteriskModule,res-http-websocket,HTTP websocket support,HTTP WebSocket support.,,,res_http_websocket,,))
977 $(eval $(call BuildAsteriskModule,res-limit,Resource limits,Resource limits.,,,res_limit,,))
978 $(eval $(call BuildAsteriskModule,res-manager-devicestate,Device state topic forwarder,Manager device state topic forwarder.,,,res_manager_devicestate,,))
979 $(eval $(call BuildAsteriskModule,res-manager-presencestate,Presence state topic forwarder,Manager presence state topic forwarder.,,,res_manager_presencestate,,))
980 $(eval $(call BuildAsteriskModule,res-monitor,PBX channel monitoring,Call monitoring resource.,,,res_monitor,,))
981 $(eval $(call BuildAsteriskModule,res-musiconhold,MOH,Music On Hold resource.,,musiconhold.conf,res_musiconhold,,))
982 $(eval $(call BuildAsteriskModule,res-mutestream,Mute audio stream resources,Mute audio stream resources.,,,res_mutestream,,))
983 $(eval $(call BuildAsteriskModule,res-mwi-devstate,MWI device state subs,This module allows presence subscriptions to voicemail boxes. This\nallows common BLF keys to act as voicemail waiting indicators.,,,res_mwi_devstate,,))
984 $(eval $(call BuildAsteriskModule,res-mwi-external,Core external MWI resource,Core external MWI resource.,,,res_mwi_external,,))
985 $(eval $(call BuildAsteriskModule,res-mwi-external-ami,AMI for external MWI,AMI support for external MWI.,+$(PKG_NAME)-res-mwi-external,,res_mwi_external_ami,,))
986 $(eval $(call BuildAsteriskModule,res-parking,Phone Parking,Call parking resource.,+$(PKG_NAME)-bridge-holding,res_parking.conf,res_parking,,))
987 $(eval $(call BuildAsteriskModule,res-phoneprov,Phone Provisioning,HTTP phone provisioning.,,phoneprov.conf,res_phoneprov,,))
988 $(eval $(call BuildAsteriskModule,res-pjsip-phoneprov,PJSIP Phone Provisioning,PJSIP phone provisioning.,+$(PKG_NAME)-pjsip +$(PKG_NAME)-res-phoneprov,,res_pjsip_phoneprov_provider,,))
989 $(eval $(call BuildAsteriskModule,res-pjproject,Bridge PJPROJECT to Asterisk logging,PJProject log and utility support.,+libpj +libpjlib-util +libpjmedia +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsip +libpjsua +libpjsua2 +libsrtp2,pjproject.conf,res_pjproject,,))
990 $(eval $(call BuildAsteriskModule,res-pktccops,PktcCOPS manager for MGCP,PktcCOPS manager for MGCP.,,res_pktccops.conf,res_pktccops,,))
991 $(eval $(call BuildAsteriskModule,res-realtime,RealTime CLI,Realtime data lookup/rewrite.,,,res_realtime,,))
992 $(eval $(call BuildAsteriskModule,res-remb-modifier,REMB modifier,REMB modifier module.,,,res_remb_modifier,,))
993 $(eval $(call BuildAsteriskModule,res-resolver-unbound,Unbound DNS resolver,Unbound DNS resolver support.,+libunbound,resolver_unbound.conf,res_resolver_unbound,,))
994 $(eval $(call BuildAsteriskModule,res-rtp-asterisk,RTP stack,Asterisk RTP stack.,+libpjsip +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsua +libpjsua2,rtp.conf,res_rtp_asterisk,,))
995 $(eval $(call BuildAsteriskModule,res-rtp-multicast,RTP multicast engine,Multicast RTP engine.,,,res_rtp_multicast,,))
996 $(eval $(call BuildAsteriskModule,res-security-log,Security event logging,Security event logging.,,,res_security_log,,))
997 $(eval $(call BuildAsteriskModule,res-smdi,Provide SMDI,Simplified Message Desk Interface resource.,,smdi.conf,res_smdi,,))
998 $(eval $(call BuildAsteriskModule,res-snmp,SNMP [Sub]Agent for Asterisk,SNMP agent for Asterisk.,+libnetsnmp,res_snmp.conf,res_snmp,,))
999 $(eval $(call BuildAsteriskModule,res-sorcery,Sorcery data layer,Sorcery backend modules for data access intended for using realtime as\nbackend.,,sorcery.conf,res_sorcery_astdb res_sorcery_config res_sorcery_memory res_sorcery_realtime,,))
1000 $(eval $(call BuildAsteriskModule,res-sorcery-memory-cache,Sorcery memory cache object wizard,Sorcery memory cache object wizard.,,,res_sorcery_memory_cache,,))
1001 $(eval $(call BuildAsteriskModule,res-speech,Speech Recognition API,Generic speech recognition API.,,,res_speech,,))
1002 $(eval $(call BuildAsteriskModule,res-srtp,SRTP Support,Secure RTP.,+libsrtp2,,res_srtp,,))
1003 $(eval $(call BuildAsteriskModule,res-stasis,Stasis application,Stasis application support.,,,res_stasis,,))
1004 $(eval $(call BuildAsteriskModule,res-stasis-answer,Stasis application answer,Stasis application answer support.,+$(PKG_NAME)-res-stasis,,res_stasis_answer,,))
1005 $(eval $(call BuildAsteriskModule,res-stasis-device-state,Stasis application device state,Stasis application device state support.,+$(PKG_NAME)-res-stasis,,res_stasis_device_state,,))
1006 $(eval $(call BuildAsteriskModule,res-stasis-mailbox,Stasis application mailbox,Stasis application mailbox support.,+$(PKG_NAME)-res-stasis +$(PKG_NAME)-res-mwi-external,,res_stasis_mailbox,,))
1007 $(eval $(call BuildAsteriskModule,res-stasis-playback,Stasis application playback,Stasis application playback support.,+$(PKG_NAME)-res-stasis-recording,,res_stasis_playback,,))
1008 $(eval $(call BuildAsteriskModule,res-stasis-recording,Stasis application recording,Stasis application recording support.,+$(PKG_NAME)-res-stasis,,res_stasis_recording,,))
1009 $(eval $(call BuildAsteriskModule,res-stasis-snoop,Stasis application snoop,Stasis application snoop support.,+$(PKG_NAME)-res-stasis-recording,,res_stasis_snoop,,))
1010 $(eval $(call BuildAsteriskModule,res-statsd,statsd client,Statsd client support.,,statsd.conf,res_statsd,,))
1011 $(eval $(call BuildAsteriskModule,res-stun-monitor,STUN monitoring,STUN network monitor.,,res_stun_monitor.conf,res_stun_monitor,,))
1012 $(eval $(call BuildAsteriskModule,res-timing-dahdi,DAHDI Timing Interface,DAHDI timing interface.,+$(PKG_NAME)-chan-dahdi,,res_timing_dahdi,,))
1013 $(eval $(call BuildAsteriskModule,res-timing-pthread,pthread Timing Interface,pthread timing interface.,,,res_timing_pthread,,))
1014 $(eval $(call BuildAsteriskModule,res-timing-timerfd,Timerfd Timing Interface,Timerfd timing interface.,,,res_timing_timerfd,,))
1015 $(eval $(call BuildAsteriskModule,res-xmpp,XMPP client and component module,Asterisk XMPP interface.,+libiksemel +libopenssl,xmpp.conf,res_xmpp,,))
1016 $(eval $(call BuildAsteriskModule,voicemail,Voicemail,Voicemail modules.,+$(PKG_NAME)-res-adsi +$(PKG_NAME)-res-smdi,voicemail.conf,app_voicemail,vm-*,))
1017
1018 ################################
1019 # AST utils
1020 # Params:
1021 # 1 - Utility name
1022 # 2 - Description
1023 # 3 - Dependencies
1024 # 4 - Configuration files
1025 ################################
1026 # $(eval $(call BuildAsteriskUtil,Utility,Description,Dependencies,Configuration Files))
1027
1028 $(eval $(call BuildAsteriskUtil,aelparse,Check extensions.ael file.,+$(PKG_NAME)-pbx-ael,))
1029 $(eval $(call BuildAsteriskUtil,astcanary,Assures Asterisk no threads have gone missing.,,))
1030 $(eval $(call BuildAsteriskUtil,astdb2sqlite3,Convert astdb to SQLite 3.,,))
1031 $(eval $(call BuildAsteriskUtil,astdb2bdb,Convert astdb back to Berkeley DB 1.86.,,))
1032 $(eval $(call BuildAsteriskUtil,check_expr,Expression checker [older version].,,))
1033 $(eval $(call BuildAsteriskUtil,check_expr2,Expression checker [newer version].,,))
1034 $(eval $(call BuildAsteriskUtil,conf2ael,Convert .conf to .ael.,+$(PKG_NAME)-pbx-ael,))
1035 $(eval $(call BuildAsteriskUtil,muted,Listens for AMI events. Mutes soundcard during call.,,muted.conf))
1036 $(eval $(call BuildAsteriskUtil,smsq,Send messages from command line.,+libpopt,))
1037 $(eval $(call BuildAsteriskUtil,stereorize,Merge two mono WAV-files to one stereo WAV-file.,,))
1038 $(eval $(call BuildAsteriskUtil,streamplayer,A utility for reading from a raw TCP stream [MOH source].,,))