2 # Copyright (C) 2008-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=asterisk-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://downloads.asterisk.org
/pub
/telephony
/asterisk
/releases
/
16 PKG_MD5SUM
:=415738d347b9037cbe5f8bfbe66843de
18 PKG_BUILD_DIR
=$(BUILD_DIR
)/asterisk-
$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/asterisk18
/Default
26 URL
:=http
://www.asterisk.org
/
27 MAINTAINER
:=Hans Zandbelt
<hans.zandbelt@gmail.com
>
30 define Package
/asterisk18
/Default
/description
31 Asterisk is a complete PBX in software. It provides
all of the features
32 you would expect from a PBX and more. Asterisk does voice over IP in three
33 protocols
, and can interoperate with almost
all standards-based telephony
34 equipment using relatively inexpensive hardware.
38 define Package
/asterisk18
39 $(call Package
/asterisk18
/Default
)
40 TITLE
:=Complete open source PBX
, v1.8x
42 DEPENDS
:= +libopenssl
+libncurses
+libpopt
+libpthread
+zlib @
!TARGET_avr32
45 define Package
/asterisk18
/description
46 $(call Package
/asterisk18
/Default
/description
)
49 define Package
/asterisk18-sounds
50 $(call Package
/asterisk18
/Default
)
55 define Package
/asterisk18-sounds
/description
56 $(call Package
/asterisk18
/Default
/description
)
57 This package contains sound files for Asterisk.
60 define Package
/asterisk18-voicemail
61 $(call Package
/asterisk18
/Default
)
62 TITLE
:=Voicemail support
66 define Package
/asterisk18-voicemail
/description
67 $(call Package
/asterisk18
/Default
/description
)
68 This package contains voicemail related modules for Asterisk.
71 define Package
/asterisk18-app-meetme
72 $(call Package
/asterisk18
/Default
)
73 TITLE
:=conferencing support
74 DEPENDS
:= asterisk18
+dahdi-tools-libtonezone
+kmod-dahdi-linux
77 define Package
/asterisk18-app-meetme
/description
78 $(call Package
/asterisk18
/Default
/description
)
79 This package provides the MeetMe application driver Conferencing support to
83 define Package
/asterisk18-chan-iax2
84 $(call Package
/asterisk18
/Default
)
86 DEPENDS
:= asterisk18
+asterisk18-res-crypto
89 define Package
/asterisk18-chan-iax2
/description
90 $(call Package
/asterisk18
/Default
/description
)
91 This package provides IAX support to
95 define Package
/asterisk18-cdr
96 $(call Package
/asterisk18
/Default
)
98 DEPENDS
:= asterisk18 @BROKEN
101 define Package
/asterisk18-cdr
/description
102 $(call Package
/asterisk18
/Default
/description
)
103 This package provides Call Detail Record support to
107 define Package
/asterisk18-res-musiconhold
108 $(call Package
/asterisk18
/Default
)
113 define Package
/asterisk18-res-musiconhold
/description
114 $(call Package
/asterisk18
/Default
/description
)
115 This package provides Music On Hold support to
119 define Package
/asterisk18-res-srtp
120 $(call Package
/asterisk18
/Default
)
122 DEPENDS
:= asterisk18 libsrtp
+asterisk18-res-crypto
125 define Package
/asterisk18-res-srtp
/description
126 $(call Package
/asterisk18
/Default
/description
)
127 This package provides SRTP support to
131 define Package
/asterisk18-chan-gtalk
132 $(call Package
/asterisk18
/Default
)
134 DEPENDS
:= asterisk18
+libiksemel
137 define Package
/asterisk18-chan-gtalk
/description
138 $(call Package
/asterisk18
/Default
/description
)
139 This package provides the channel chan_gtalk and res_jabber for GTalk
143 define Package
/asterisk18-chan-mobile
144 $(call Package
/asterisk18
/Default
)
145 TITLE
:=Mobile channel support
146 DEPENDS
:= asterisk18
+bluez-libs
149 define Package
/asterisk18-chan-mobile
/description
150 $(call Package
/asterisk18
/Default
/description
)
151 This package provides the channel chan_mobile support to Asterisk.
154 define Package
/asterisk18-res-timing-timerfd
155 $(call Package
/asterisk18
/Default
)
156 TITLE
:= Timerfd Timing Interface
160 define Package
/asterisk18-res-timing-pthread
161 $(call Package
/asterisk18
/Default
)
162 TITLE
:= pthread Timing Interface
166 define Package
/asterisk18-res-fax
167 $(call Package
/asterisk18
/Default
)
168 TITLE
:=Generic FAX Resource for FAX technology resource modules
169 DEPENDS
:= asterisk18
+asterisk18-res-timing-pthread
172 define Package
/asterisk18-res-fax-spandsp
173 $(call Package
/asterisk18
/Default
)
174 TITLE
:=Spandsp T
.38 and G
.711 FAX Resource
175 DEPENDS
:= asterisk18
+asterisk18-res-fax
+libspandsp
178 define Package
/asterisk18-chan-mgcp
179 $(call Package
/asterisk18
/Default
)
180 TITLE
:=MGCP channel support
184 define Package
/asterisk18-chan-mgcp
/description
185 $(call Package
/asterisk18
/Default
/description
)
186 This package provides the channel chan_mgcp support to Asterisk.
189 define Package
/asterisk18-chan-skinny
190 $(call Package
/asterisk18
/Default
)
191 TITLE
:=Skinny channel support
195 define Package
/asterisk18-chan-skinny
/description
196 $(call Package
/asterisk18
/Default
/description
)
197 This package provides the channel chan_skinny support to Asterisk.
200 define Package
/asterisk18-curl
201 $(call Package
/asterisk18
/Default
)
203 DEPENDS
:= asterisk18
+libcurl
206 define Package
/asterisk18-curl
/description
207 $(call Package
/asterisk18
/Default
/description
)
208 This package provides CURL
212 define Package
/asterisk18-mysql
213 $(call Package
/asterisk18
/Default
)
215 DEPENDS
:= asterisk18
+PACKAGE_asterisk18-mysql
:libmysqlclient
218 define Package
/asterisk18-mysql
/description
219 $(call Package
/asterisk18
/Default
/description
)
220 This package provides MySQL
224 define Package
/asterisk18-chan-lantiq
225 $(call Package
/asterisk18
/Default
)
226 TITLE
:=Lantiq TAPI support
227 DEPENDS
:= asterisk18 @TARGET_lantiq
+TARGET_lantiq
:kmod-ltq-vmmc
+TARGET_lantiq
:kmod-ltq-tapi
228 URL
:=http
://git.nanl.de
/?p
=asterisk_channel_lantiq.git
231 define Package
/asterisk18-chan-lantiq
/description
232 $(call Package
/asterisk18
/Default
/description
)
233 This package provides the channel chan_lantiq support to Asterisk.
236 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk18-app-meetme
),)
238 --with-dahdi
="$(STAGING_DIR)/usr"
244 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk18-chan-gtalk
),)
246 --with-gnutls
="$(STAGING_DIR)/usr" \
247 --with-iksemel
="$(STAGING_DIR)/usr"
249 ac_cv_lib_iksemel_iks_start_sasl
=yes \
250 ac_cv_lib_gnutls_gnutls_bye
=yes
257 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk18-curl
),)
259 --with-curl
="$(STAGING_DIR)/usr"
265 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk18-mysql
),)
267 --with-mysqlclient
="$(STAGING_DIR)/usr/bin"
270 --without-mysqlclient
273 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk18-res-fax-spandsp
),)
275 --with-spandsp
="$(STAGING_DIR)/usr"
281 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk18-chan-mobile
),)
283 --with-bluetooth
="$(STAGING_DIR)/usr"
289 ifneq ($(SDK
)$(CONFIG_PACKAGE_asterisk18-res-srtp
),)
291 --with-srtp
="$(STAGING_DIR)/usr"
299 --with-gsm
=internal \
307 --with-ncurses
="$(STAGING_DIR)/usr" \
313 --with-popt
="$(STAGING_DIR)/usr" \
324 --with-z
="$(STAGING_DIR)/usr" \
325 --with-sounds-cache
="$(DL_DIR)" \
328 EXTRA_CFLAGS
+= $(TARGET_CPPFLAGS
)
329 EXTRA_LDFLAGS
+= $(TARGET_LDFLAGS
)
332 $(call Build
/Prepare
/Default
)
333 ifneq ($(CONFIG_TARGET_lantiq
),)
334 $(CP
) .
/src-lantiq
/* $(PKG_BUILD_DIR
)/
338 define Build
/Configure
339 $(call Build
/Configure
/Default
,,$(SITE_VARS
))
343 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
344 include/asterisk
/version.h \
345 include/asterisk
/buildopts.h defaults.h \
347 ASTCFLAGS
="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
348 ASTLDFLAGS
="$(EXTRA_LDFLAGS)" \
349 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
350 ASTVARLIBDIR
="/usr/lib/asterisk" \
351 ASTDATADIR
="/usr/lib/asterisk" \
352 ASTKEYDIR
="/usr/lib/asterisk" \
353 ASTDBDIR
="/usr/lib/asterisk" \
357 DESTDIR
="$(PKG_INSTALL_DIR)" \
361 define Build
/InstallDev
362 $(INSTALL_DIR
) $(1)/usr
/include/asterisk-1.8
/include/asterisk
/
363 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/asterisk
/*.h
$(1)/usr
/include/asterisk-1.8
/include/asterisk
/
364 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/asterisk.h
$(1)/usr
/include/asterisk-1.8
/include/
367 define Package
/asterisk18
/conffiles
368 /etc
/asterisk
/asterisk.conf
369 /etc
/asterisk
/modules.conf
370 /etc
/asterisk
/extensions.conf
371 /etc
/asterisk
/sip.conf
372 /etc
/asterisk
/sip_notify.conf
373 /etc
/asterisk
/features.conf
374 /etc
/asterisk
/indications.conf
375 /etc
/asterisk
/logger.conf
376 /etc
/asterisk
/manager.conf
377 /etc
/asterisk
/rtp.conf
378 /etc
/default
/asterisk
382 define Package
/asterisk18
/install
383 $(INSTALL_DIR
) $(1)/etc
/asterisk
384 for f in asterisk extensions features \
385 indications logger manager modules \
386 sip sip_notify rtp
; do \
387 $(CP
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/$$$$f.conf
$(1)/etc
/asterisk
/ ; \
389 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
390 for f in app_dial app_echo app_playback app_macro \
391 chan_sip res_rtp_asterisk res_rtp_multicast \
392 codec_ulaw codec_gsm \
393 format_gsm format_pcm format_wav format_wav_gsm \
395 func_strings func_timeout func_callerid func_logic
; do \
396 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/$$$$f.so
$(1)/usr
/lib
/asterisk
/modules
/ ; \
398 $(INSTALL_DIR
) $(1)/usr
/sbin
399 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/asterisk
$(1)/usr
/sbin
/
400 $(INSTALL_DIR
) $(1)/etc
/default
401 $(INSTALL_DATA
) .
/files
/asterisk.default
$(1)/etc
/default
/asterisk
402 $(INSTALL_DIR
) $(1)/etc
/init.d
403 $(INSTALL_BIN
) .
/files
/asterisk.init
$(1)/etc
/init.d
/asterisk
406 define Package
/asterisk18-sounds
/install
407 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
/
408 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/sounds
/en
/* $(1)/usr
/lib
/asterisk
/sounds
/
409 rm -f
$(1)/usr
/lib
/asterisk
/sounds
/vm-
*
410 rm -f
$(1)/usr
/lib
/asterisk
/sounds
/conf-
*
414 define Package
/asterisk18-voicemail
/conffiles
415 /etc
/asterisk
/voicemail.conf
418 define Package
/asterisk18-voicemail
/install
419 $(INSTALL_DIR
) $(1)/etc
/asterisk
420 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/voicemail.conf
$(1)/etc
/asterisk
/
421 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
422 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/*voicemail.so
$(1)/usr
/lib
/asterisk
/modules
/
423 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_adsi.so
$(1)/usr
/lib
/asterisk
/modules
/
424 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_smdi.so
$(1)/usr
/lib
/asterisk
/modules
/
425 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
/
426 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/sounds
/en
/vm-
*.gsm
$(1)/usr
/lib
/asterisk
/sounds
/
429 define Package
/asterisk18-app-meetme
/conffiles
430 /etc
/asterisk
/meetme.conf
433 define Package
/asterisk18-app-meetme
/install
434 $(INSTALL_DIR
) $(1)/etc
/asterisk
435 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/meetme.conf
$(1)/etc
/asterisk
/
436 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
437 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/app_meetme.so
$(1)/usr
/lib
/asterisk
/modules
/
438 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_dahdi.so
$(1)/usr
/lib
/asterisk
/modules
/
439 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/sounds
/
440 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/sounds
/en
/conf-
*.gsm
$(1)/usr
/lib
/asterisk
/sounds
/
443 define Package
/asterisk18-chan-iax2
/conffiles
444 /etc
/asterisk
/iax.conf
445 /etc
/asterisk
/iaxprov.conf
448 define Package
/asterisk18-cdr
/conffiles
449 /etc
/asterisk
/cdr.conf
450 /etc
/asterisk
/cdr_custom.conf
451 /etc
/asterisk
/cdr_manager.conf
452 /etc
/asterisk
/cdr_odbc.conf
453 /etc
/asterisk
/cdr_pgsql.conf
454 /etc
/asterisk
/cdr_tds.conf
457 define Package
/asterisk18-res-musiconhold
/conffiles
458 /etc
/asterisk
/musiconhold.conf
461 define Package
/asterisk18-chan-iax2
/install
462 $(INSTALL_DIR
) $(1)/etc
/asterisk
463 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/iax.conf
$(1)/etc
/asterisk
/
464 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/iaxprov.conf
$(1)/etc
/asterisk
/
465 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
466 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_iax2.so
$(1)/usr
/lib
/asterisk
/modules
/
469 define Package
/asterisk18-cdr
/install
470 $(INSTALL_DIR
) $(1)/etc
/asterisk
471 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/cdr
*.conf
$(1)/etc
/asterisk
/
472 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
473 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/*cdr
*.so
$(1)/usr
/lib
/asterisk
/modules
/
476 define Package
/asterisk18-res-musiconhold
/install
477 $(INSTALL_DIR
) $(1)/etc
/asterisk
478 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/musiconhold.conf
$(1)/etc
/asterisk
/
479 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
480 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_musiconhold.so
$(1)/usr
/lib
/asterisk
/modules
/
483 define Package
/asterisk18-chan-gtalk
/conffiles
484 /etc
/asterisk
/gtalk.conf
485 /etc
/asterisk
/jabber.conf
488 define Package
/asterisk18-chan-gtalk
/install
489 $(INSTALL_DIR
) $(1)/etc
/asterisk
490 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/gtalk.conf
$(1)/etc
/asterisk
/
491 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/jabber.conf
$(1)/etc
/asterisk
/
492 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
493 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_gtalk.so
$(1)/usr
/lib
/asterisk
/modules
/
494 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_jabber.so
$(1)/usr
/lib
/asterisk
/modules
/
497 define Package
/asterisk18-chan-mobile
/conffiles
498 /etc
/asterisk
/chan_mobile.conf
501 define Package
/asterisk18-chan-mobile
/install
502 $(INSTALL_DIR
) $(1)/etc
/asterisk
503 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/chan_mobile.conf
$(1)/etc
/asterisk
/
504 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
505 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_mobile.so
$(1)/usr
/lib
/asterisk
/modules
/
508 define Package
/asterisk18-res-timing-timerfd
/install
509 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
510 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_timing_timerfd.so
$(1)/usr
/lib
/asterisk
/modules
/
513 define Package
/asterisk18-res-timing-pthread
/install
514 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
515 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_timing_pthread.so
$(1)/usr
/lib
/asterisk
/modules
/
518 define Package
/asterisk18-res-fax
/conffiles
519 /etc
/asterisk
/res_fax.conf
522 define Package
/asterisk18-res-fax
/install
523 $(INSTALL_DIR
) $(1)/etc
/asterisk
524 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/res_fax.conf
$(1)/etc
/asterisk
/
525 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
526 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_fax.so
$(1)/usr
/lib
/asterisk
/modules
/
529 define Package
/asterisk18-res-fax-spandsp
/install
530 $(INSTALL_DIR
) $(1)/etc
/asterisk
531 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
532 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_fax_spandsp.so
$(1)/usr
/lib
/asterisk
/modules
/
535 define Package
/asterisk18-chan-mgcp
/conffiles
536 /etc
/asterisk
/mgcp.conf
539 define Package
/asterisk18-chan-mgcp
/install
540 $(INSTALL_DIR
) $(1)/etc
/asterisk
541 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/mgcp.conf
$(1)/etc
/asterisk
/
542 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
543 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_mgcp.so
$(1)/usr
/lib
/asterisk
/modules
/
546 define Package
/asterisk18-chan-skinny
/conffiles
547 /etc
/asterisk
/skinny.conf
550 define Package
/asterisk18-chan-skinny
/install
551 $(INSTALL_DIR
) $(1)/etc
/asterisk
552 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/skinny.conf
$(1)/etc
/asterisk
/
553 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
554 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_skinny.so
$(1)/usr
/lib
/asterisk
/modules
/
557 define Package
/asterisk18-curl
/install
558 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
559 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/func_curl.so
$(1)/usr
/lib
/asterisk
/modules
/
560 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_curl.so
$(1)/usr
/lib
/asterisk
/modules
/
563 define Package
/asterisk18-mysql
/conffiles
564 /etc
/asterisk
/app_mysql.conf
565 /etc
/asterisk
/res_config_mysql.conf
566 /etc
/asterisk
/cdr_mysql.conf
569 define Package
/asterisk18-mysql
/install
570 $(INSTALL_DIR
) $(1)/etc
/asterisk
571 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/app_mysql.conf
$(1)/etc
/asterisk
/
572 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/res_config_mysql.conf
$(1)/etc
/asterisk
/
573 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/cdr_mysql.conf
$(1)/etc
/asterisk
/
574 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
575 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/app_mysql.so
$(1)/usr
/lib
/asterisk
/modules
/
576 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/cdr_mysql.so
$(1)/usr
/lib
/asterisk
/modules
/
577 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_config_mysql.so
$(1)/usr
/lib
/asterisk
/modules
/
580 define Package
/asterisk18-chan-lantiq
/conffiles
581 /etc
/asterisk
/lantiq.conf
584 define Package
/asterisk18-chan-lantiq
/install
585 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
586 $(INSTALL_DIR
) $(1)/etc
/asterisk
587 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/lantiq.conf
$(1)/etc
/asterisk
/
588 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_lantiq.so
$(1)/usr
/lib
/asterisk
/modules
/
591 define Package
/asterisk18-res-srtp
/install
592 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
593 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/res_srtp.so
$(1)/usr
/lib
/asterisk
/modules
/
596 define Buildasterisk18ModuleTemplate
598 define Package
/asterisk18-
$(subst _
,-,$(1))
599 $$(call Package
/asterisk18
/Default
)
601 DEPENDS
:= asterisk18
$(4)
604 define Package
/asterisk18-
$(subst _
,-,$(1))/description
605 $$(call Package
/asterisk18
/Default
/description
)
606 This package provides support
$(3) in Asterisk.
609 define Package
/asterisk18-
$(subst _
,-,$(1))/install
610 $(INSTALL_DIR
) $$(1)/usr
/lib
/asterisk
/modules
611 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/$(1).so
$$(1)/usr
/lib
/asterisk
/modules
/
614 $$(eval
$$(call BuildPackage
,asterisk18-
$(subst _
,-,$(1))))
617 $(eval
$(call BuildPackage
,asterisk18
))
618 $(eval
$(call BuildPackage
,asterisk18-voicemail
))
619 $(eval
$(call BuildPackage
,asterisk18-sounds
))
620 #$(eval $(call BuildPackage,asterisk18-app-meetme))
621 $(eval
$(call BuildPackage
,asterisk18-chan-iax2
))
622 $(eval
$(call BuildPackage
,asterisk18-cdr
))
623 $(eval
$(call BuildPackage
,asterisk18-res-musiconhold
))
624 $(eval
$(call BuildPackage
,asterisk18-chan-gtalk
))
625 $(eval
$(call BuildPackage
,asterisk18-chan-mobile
))
626 $(eval
$(call BuildPackage
,asterisk18-res-fax
))
627 $(eval
$(call BuildPackage
,asterisk18-res-fax-spandsp
))
628 $(eval
$(call BuildPackage
,asterisk18-res-timing-timerfd
))
629 $(eval
$(call BuildPackage
,asterisk18-res-timing-pthread
))
630 $(eval
$(call BuildPackage
,asterisk18-chan-mgcp
))
631 $(eval
$(call BuildPackage
,asterisk18-chan-skinny
))
632 $(eval
$(call BuildPackage
,asterisk18-curl
))
633 $(eval
$(call BuildPackage
,asterisk18-mysql
))
634 $(eval
$(call BuildPackage
,asterisk18-chan-lantiq
))
635 $(eval
$(call BuildPackage
,asterisk18-res-srtp
))
636 $(eval
$(call Buildasterisk18ModuleTemplate
,app_authenticate
,Authenticate
,support for executing arbitrary authenticate commands
))
637 $(eval
$(call Buildasterisk18ModuleTemplate
,app_chanisavail
,Channel availability
check,support for checking if a channel is available
))
638 $(eval
$(call Buildasterisk18ModuleTemplate
,app_chanspy
,Channel listen in
,support for listening in on any channel
))
639 $(eval
$(call Buildasterisk18ModuleTemplate
,app_directed_pickup
,Directed call pickup
,support for directed call pickup
))
640 $(eval
$(call Buildasterisk18ModuleTemplate
,app_exec
,Exec application
,support for application execution
))
641 $(eval
$(call Buildasterisk18ModuleTemplate
,app_minivm
,Minimal voicemail system
,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system
))
642 $(eval
$(call Buildasterisk18ModuleTemplate
,app_readexten
,Extension to variable
,a trivial application to read an extension into a variable
))
643 $(eval
$(call Buildasterisk18ModuleTemplate
,app_read
,Variable read
,a trivial application to read a variable
))
644 $(eval
$(call Buildasterisk18ModuleTemplate
,app_sayunixtime
,Say Unix time
,an application to say Unix time
))
645 $(eval
$(call Buildasterisk18ModuleTemplate
,app_sms
,SMS
,SMS support
(ETSI ES
201 912 protocol
1)))
646 $(eval
$(call Buildasterisk18ModuleTemplate
,app_stack
,Stack applications
, stack applications Gosub Return etc.
, +asterisk18-res-agi
))
647 $(eval
$(call Buildasterisk18ModuleTemplate
,app_system
,System exec
,support for executing system commands
))
648 $(eval
$(call Buildasterisk18ModuleTemplate
,app_talkdetect
,File playback with audio detect
,for file playback with audio detect
))
649 $(eval
$(call Buildasterisk18ModuleTemplate
,app_waituntil
,Sleep
,support sleeping until the given epoch
))
650 $(eval
$(call Buildasterisk18ModuleTemplate
,app_while
,While loop
,a while loop implementation
))
651 $(eval
$(call Buildasterisk18ModuleTemplate
,chan_agent
,Agents proxy channel
, an implementation of agents proxy channel
))
652 $(eval
$(call Buildasterisk18ModuleTemplate
,chan_local
,Local proxy channel
, an implementation of local proxy channel
))
653 $(eval
$(call Buildasterisk18ModuleTemplate
,codec_alaw
,Signed linear to alaw translation
,translation between signed linear and alaw codecs
))
654 $(eval
$(call Buildasterisk18ModuleTemplate
,codec_a_mu
,Alaw to ulaw translation
,translation between alaw and ulaw codecs
))
655 $(eval
$(call Buildasterisk18ModuleTemplate
,codec_g722
,G
.722,a high bit rate
48/56/64Kbps ITU standard codec
))
656 $(eval
$(call Buildasterisk18ModuleTemplate
,codec_g726
,Signed linear to G
.726 translation
,translation between signed linear and ITU G
.726-32kbps codecs
))
657 $(eval
$(call Buildasterisk18ModuleTemplate
,format_g726
,G
.726,support for headerless G
.726 16/24/32/40kbps data format
))
658 $(eval
$(call Buildasterisk18ModuleTemplate
,format_g729
,G
.729,support for raw headerless G729 data
))
659 $(eval
$(call Buildasterisk18ModuleTemplate
,format_sln
,Raw slinear format
,support for raw slinear format
))
660 $(eval
$(call Buildasterisk18ModuleTemplate
,format_sln16
,Raw slinear
16 format
,support for Raw slinear
16 format
))
661 $(eval
$(call Buildasterisk18ModuleTemplate
,func_db
,Database interaction
,functions for interaction with the database
))
662 $(eval
$(call Buildasterisk18ModuleTemplate
,func_devstate
,Blinky lights control
,functions for manually controlled blinky lights
))
663 $(eval
$(call Buildasterisk18ModuleTemplate
,func_vmcount
,vmcount dialplan
,a vmcount dialplan function
))
664 $(eval
$(call Buildasterisk18ModuleTemplate
,func_extstate
,Hinted extension state
,retrieving the state of a hinted extension for dialplan control
))
665 $(eval
$(call Buildasterisk18ModuleTemplate
,func_global
,Global variable
,global variable dialplan functions
))
666 $(eval
$(call Buildasterisk18ModuleTemplate
,func_shell
,Shell
,support for
shell execution
))
667 $(eval
$(call Buildasterisk18ModuleTemplate
,pbx_ael
,Asterisk Extension Logic
,support for symbolic Asterisk Extension Logic
))
668 $(eval
$(call Buildasterisk18ModuleTemplate
,res_ael_share
,Shareable AEL code
,support for shareable AEL code mainly between internal and external modules
))
669 $(eval
$(call Buildasterisk18ModuleTemplate
,pbx_spool
,Call Spool
,outgoing call spool support
))
670 $(eval
$(call Buildasterisk18ModuleTemplate
,res_agi
,Asterisk Gateway Interface
,support for the Asterisk Gateway Interface extension
))
671 $(eval
$(call Buildasterisk18ModuleTemplate
,res_crypto
,Provide Crypto
,Cryptographic Signature capability
))
672 $(eval
$(call Buildasterisk18ModuleTemplate
,app_alarmreceiver
,Alarm receiver
,Central Station Alarm receiver for Ademco Contact ID
))
673 $(eval
$(call Buildasterisk18ModuleTemplate
,app_setcallerid
,Set callerid
,support for setting callerid
))
674 $(eval
$(call Buildasterisk18ModuleTemplate
,app_verbose
,Verbose logging
,Verbose logging application
))
675 $(eval
$(call Buildasterisk18ModuleTemplate
,func_channel
,Channel
info,Channel
info dialplan function
))
676 $(eval
$(call Buildasterisk18ModuleTemplate
,func_blacklist
,Blacklist on callerid
,looking up the callerid number and see if it is blacklisted
))
677 $(eval
$(call Buildasterisk18ModuleTemplate
,app_originate
,Originate a call
,originating an outbound call and connecting it to a specified extension or application
))
678 $(eval
$(call Buildasterisk18ModuleTemplate
,func_uri
,URI encoding and decoding
,Encodes and decodes URI-safe strings
))
679 $(eval
$(call Buildasterisk18ModuleTemplate
,app_disa
,Direct Inward System Access
,Direct Inward System Access
))
680 $(eval
$(call Buildasterisk18ModuleTemplate
,app_senddtmf
,Send DTMF digits
,Sends arbitrary DTMF digits
))
681 $(eval
$(call Buildasterisk18ModuleTemplate
,func_cut
,CUT function
,CUT function
))
682 $(eval
$(call Buildasterisk18ModuleTemplate
,res_clioriginate
,Calls via CLI
,Originate calls via the CLI
))
683 $(eval
$(call Buildasterisk18ModuleTemplate
,app_mixmonitor
,Record a call and mix the audio
,record a call and mix the audio during the recording
))
684 $(eval
$(call Buildasterisk18ModuleTemplate
,app_playtones
,Playtones application
,play a tone list
))
685 $(eval
$(call Buildasterisk18ModuleTemplate
,app_record
,Record sound file
,to record a sound file
))