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