ab38f49ac24cfdca3bd0fcc0ac3910894bf69af5
[feed/telephony.git] / net / asterisk-13.x / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 # Copyright (C) 2015 Cesnet, z.s.p.o.
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=asterisk13
12 PKG_VERSION:=13.2.0
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
17 PKG_MD5SUM:=36033a5faa2f0f9ac3bc34b799e823a2
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 <slachta@cesnet.cz>
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/asterisk13/install/module
29 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
30 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*$(2).so* $(1)/usr/lib/asterisk/modules/
31 endef
32
33 define Package/asterisk13/install/conffile
34 $(INSTALL_DIR) $(1)/etc/asterisk
35 $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$(2) $(1)/etc/asterisk/
36 endef
37
38 define Package/asterisk13/install/lib
39 $(INSTALL_DIR) $(1)/usr/lib
40 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/$(2).so* $(1)/usr/lib/
41 endef
42
43 define Package/asterisk13/install/sbin
44 $(INSTALL_DIR) $(1)/usr/sbin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(2) $(1)/usr/sbin/
46 endef
47
48 define Package/asterisk13/install/sounds
49 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
50 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/$(2) $(1)/usr/lib/asterisk/sounds/
51 endef
52
53 define BuildAsterisk13Module
54 define Package/asterisk13-$(1)
55 $$(call Package/asterisk13/Default)
56 TITLE:=$(2) support
57 DEPENDS:= asterisk13 $(patsubst +%,+PACKAGE_asterisk13-$(1):%,$(4))
58 endef
59
60 define Package/asterisk13-$(1)/conffiles
61 $(foreach c,$(6),/etc/asterisk/$(c))
62 endef
63
64 define Package/asterisk13-$(1)/description
65 $$(call Package/asterisk13/Default/description)
66 This package provides support $(3) in Asterisk.
67 endef
68
69 define Package/asterisk13-$(1)/install
70 $(foreach c,$(6),$(call Package/asterisk13/install/conffile,$$(1),$(c));)
71 $(foreach m,$(7),$(call Package/asterisk13/install/module,$$(1),$(m));)
72 $(foreach s,$(8),$(call Package/asterisk13/install/sounds,$$(1),$(s));)
73 $(foreach b,$(9),$(call Package/asterisk13/install/sbin,$$(1),$(b));)
74 endef
75
76 $$(eval $$(call BuildPackage,asterisk13-$(1)))
77 endef
78
79 define Package/asterisk13/Default
80 SUBMENU:=Telephony
81 SECTION:=net
82 CATEGORY:=Network
83 URL:=http://www.asterisk.org/
84 endef
85
86 define Package/asterisk13/Default/description
87 Asterisk is a complete PBX in software. It provides all of the features
88 you would expect from a PBX and more. Asterisk does voice over IP in three
89 protocols, and can interoperate with almost all standards-based telephony
90 equipment using relatively inexpensive hardware.
91 endef
92
93 define Package/asterisk13
94 $(call Package/asterisk13/Default)
95 TITLE:=Complete open source PBX, v$(PKG_VERSION)
96 MENU:=1
97 DEPENDS:=+jansson +libncurses +libopenssl +libsqlite3 +libstdcpp +libuuid +libxml2 +zlib
98 endef
99
100 define Package/asterisk13/description
101 $(call Package/asterisk13/Default/description)
102 endef
103
104 define Package/asterisk13/conffiles
105 /etc/asterisk/asterisk.conf
106 /etc/asterisk/acl.conf
107 /etc/asterisk/ccss.conf
108 /etc/asterisk/modules.conf
109 /etc/asterisk/extconfig.conf
110 /etc/asterisk/extensions.conf
111 /etc/asterisk/features.conf
112 /etc/asterisk/indications.conf
113 /etc/asterisk/logger.conf
114 /etc/asterisk/manager.conf
115 /etc/asterisk/modules.conf
116 /etc/asterisk/rtp.conf
117 /etc/asterisk/udptl.conf
118 /etc/asterisk/users.conf
119 /etc/default/asterisk
120 /etc/init.d/asterisk
121 endef
122
123 AST_CFG_FILES:= \
124 asterisk.conf acl.conf ccss.conf extconfig.conf \
125 extensions.conf features.conf indications.conf \
126 logger.conf manager.conf modules.conf udptl.conf \
127 users.conf
128
129 AST_EMB_MODULES:=\
130 app_dial app_echo app_macro app_playback \
131 func_callerid func_logic func_strings func_timeout \
132 pbx_config res_crypto
133
134 define Package/asterisk13/install
135 $(call Package/asterisk13/install/lib,$(1),libasteriskssl)
136 $(call Package/asterisk13/install/sbin,$(1),asterisk)
137 $(call Package/asterisk13/install/sbin,$(1),safe_asterisk)
138 $(call Package/asterisk13/install/sbin,$(1),astgenkey)
139 $(foreach m,$(AST_CFG_FILES),$(call Package/asterisk13/install/conffile,$(1),$(m));)
140 $(foreach m,$(AST_EMB_MODULES),$(call Package/asterisk13/install/module,$(1),$(m));)
141 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
142 $(INSTALL_DIR) $(1)/etc/default
143 $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
144 $(INSTALL_DIR) $(1)/etc/init.d
145 $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
146 endef
147
148 define Package/asterisk13-sounds
149 $(call Package/asterisk13/Default)
150 TITLE:=Sounds support
151 DEPENDS:=asterisk13
152 endef
153
154 define Package/asterisk13-sounds/description
155 $(call Package/asterisk13/Default/description)
156 This package provides sounds for Asterisk.
157 endef
158
159 define Package/asterisk13-sounds/install
160 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
161 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
162 rm -f $(1)/usr/lib/asterisk/sounds/vm-*
163 rm -f $(1)/usr/lib/asterisk/sounds/conf-*
164 endef
165
166 TARGET_LDFLAGS+= \
167 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pbx-lua),-ldl -lcrypt)
168
169 EXTRA_CFLAGS+=$(TARGET_CPPFLAGS)
170 EXTRA_LDFLAGS+=$(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
171
172 CONFIGURE_ARGS+= \
173 --without-execinfo \
174 --without-bluetooth \
175 --without-cap \
176 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-curl),--with-libcurl="$(STAGING_DIR)/usr",--without-curl) \
177 --without-curses \
178 --without-dahdi \
179 --with-gsm=internal \
180 --without-gtk2 \
181 --with-ilbc=internal \
182 --without-isdnnet \
183 --without-misdn \
184 --without-nbs \
185 --with-libxml2 \
186 --with-ncurses="$(STAGING_DIR)/usr" \
187 --without-netsnmp \
188 --without-newt \
189 --without-ogg \
190 --without-osptk \
191 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pbx-lua),--with-lua="$(STAGING_DIR)/usr",--without-lua) \
192 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pgsql),--with-postgres="$(STAGING_DIR)/usr",--without-postgres) \
193 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-pjsip),--with-pjproject,--without-pjproject) \
194 --with-popt="$(STAGING_DIR)/usr" \
195 --without-pri \
196 --without-pwlib \
197 --without-radius \
198 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-fax-spandsp),--with-spandsp="$(STAGING_DIR)/usr",--without-spandsp) \
199 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-xmpp),--with-iksemel="$(STAGING_DIR)/usr",--without-iksemel) \
200 --without-sdl \
201 --without-sqlite \
202 --with-sqlite3="$(STAGING_DIR)/usr" \
203 $(if $(CONFIG_PACKAGE_$(PKG_NAME)-res-srtp),--with-srtp="$(STAGING_DIR)/usr",--without-srtp) \
204 --without-suppserv \
205 --without-tds \
206 --without-termcap \
207 --without-tinfo \
208 --without-tonezone \
209 --with-uuid="$(STAGING_DIR)/usr" \
210 --without-vorbis \
211 --without-vpb \
212 --with-z="$(STAGING_DIR)/usr" \
213 --with-sounds-cache="$(DL_DIR)" \
214 --enable-xmldoc
215
216 AST_MENUSELECT_OPTS = \
217 --without-newt \
218 --without-curses \
219 --with-ncurses="$(STAGING_DIR_HOST)/usr" \
220 --with-libxml2="$(STAGING_DIR_HOST)/usr"
221
222 define Build/Configure
223 (cd $(PKG_BUILD_DIR); \
224 ./bootstrap.sh; \
225 );
226 $(call Build/Configure/Default,,$(SITE_VARS))
227 (cd $(PKG_BUILD_DIR)/menuselect; \
228 ./bootstrap.sh; \
229 ./configure \
230 $(HOST_CONFIGURE_ARGS) \
231 $(AST_MENUSELECT_OPTS) \
232 LDFLAGS="$(HOST_LDFLAGS) -lxml2" \
233 CFLAGS="$(HOST_CFLAGS) -I$(STAGING_DIR_HOST)/include/libxml2" \
234 );
235 endef
236
237 define Build/Compile
238 $(MAKE) -C "$(PKG_BUILD_DIR)/menuselect" \
239 CFLAGS="$(HOST_CFLAGS) -I$(STAGING_DIR_HOST)/include/libxml2" \
240 LDFLAGS="$(HOST_LDFLAGS) -lxml2"
241 $(MAKE) -C "$(PKG_BUILD_DIR)" \
242 include/asterisk/version.h \
243 include/asterisk/buildopts.h defaults.h \
244 makeopts.embed_rules
245 ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY"
246 ASTLDFLAGS="$(EXTRA_LDFLAGS)"
247 $(MAKE) -C "$(PKG_BUILD_DIR)" \
248 ASTVARLIBDIR="/usr/lib/asterisk" \
249 ASTDATADIR="/usr/lib/asterisk" \
250 ASTKEYDIR="/usr/lib/asterisk" \
251 ASTDBDIR="/usr/lib/asterisk" \
252 NOISY_BUILD="yes" \
253 DEBUG="" \
254 OPTIMIZE="" \
255 DESTDIR="$(PKG_INSTALL_DIR)" \
256 all install samples
257 endef
258
259 define Build/InstallDev
260 $(INSTALL_DIR) $(1)/usr/include/asterisk-13/include/asterisk/
261 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-13/include/asterisk/
262 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-13/include/
263 endef
264
265 $(eval $(call BuildPackage,asterisk13))
266
267 ################################
268 # AST modules
269 # Params:
270 # 1 - Package subname
271 # 2 - Package title
272 # 3 - Module description
273 # 4 - Module dependencies
274 # 5 - Configuration files
275 # 6 - Module files
276 # 7 - Sound files
277 # 8 - Binary files
278 ################################
279
280 #$(eval $(call BuildAsterisk13Module,subname,title,module description,module dependencies,conf files,module files,sound files,binary files))
281
282 $(eval $(call BuildAsterisk13Module,app-alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID,,,,app_alarmreceiver,))
283 $(eval $(call BuildAsterisk13Module,app-authenticate,Authenticate commands,Execute arbitrary authenticate commands,,,,app_authenticate,))
284 $(eval $(call BuildAsterisk13Module,app-directed_pickup,Directed call pickup,support for directed call pickup,,,,app_directed_pickup,))
285 $(eval $(call BuildAsterisk13Module,app-disa,Direct Inward System Access,Direct Inward System Access,,,,app_disa,))
286 $(eval $(call BuildAsterisk13Module,app-exec,Exec application,support for application execution,,,,app_exec,))
287 $(eval $(call BuildAsterisk13Module,app-chanisavail,Channel availability check,support for checking if a channel is available,,,,app_chanisavail,))
288 $(eval $(call BuildAsterisk13Module,app-chanspy,Channel listen in,support for listening in on any channel,,,,app_chanspy,))
289 $(eval $(call BuildAsterisk13Module,app-minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail,,/etc/asterisk/extensions_minivm.conf /etc/asterisk/minivm.conf,extensions_minivm.conf minivm.conf,app_minivm,))
290 $(eval $(call BuildAsterisk13Module,app-mixmonitor,Record a call and mix the audio,record a call and mix the audio during the recording,,,,app_mixmonitor,))
291 $(eval $(call BuildAsterisk13Module,app-originate,Originate a call,originating an outbound call and connecting it to a specified extension or application,,,,app_originate,))
292 $(eval $(call BuildAsterisk13Module,app-playtones,Playtones application,play a tone list,,,,app_playtones,))
293 $(eval $(call BuildAsterisk13Module,app-read,Variable read,a trivial application to read a variable,,,,app_read,))
294 $(eval $(call BuildAsterisk13Module,app-readexten,Extension to variable,a trivial application to read an extension into a variable,,,,app_readexten,))
295 $(eval $(call BuildAsterisk13Module,app-record,Record sound file,to record a sound file,,,,app_record,))
296 $(eval $(call BuildAsterisk13Module,app-sayunixtime,Say Unix time,an application to say Unix time,,,,app_sayunixtime,))
297 $(eval $(call BuildAsterisk13Module,app-senddtmf,Send DTMF digits,Sends arbitrary DTMF digits,,,,app_senddtmf,))
298 $(eval $(call BuildAsterisk13Module,app-sms,SMS,SMS support (ETSI ES 201 912 protocol 1),+libpopt +libstdcpp,,,app_sms,,))
299 $(eval $(call BuildAsterisk13Module,app-stack,Stack applications,Stack applications Gosub Return etc.,+asterisk13-res-agi,,,app_stack,))
300 $(eval $(call BuildAsterisk13Module,app-system,System exec,support for executing system commands,,,,app_system,))
301 $(eval $(call BuildAsterisk13Module,app-talkdetect,File playback with audio detect,for file playback with audio detect,,,,app_talkdetect,))
302 $(eval $(call BuildAsterisk13Module,app-verbose,Verbose logging,Verbose logging application,,,,app_verbose,))
303 $(eval $(call BuildAsterisk13Module,app-waituntil,Sleep,support sleeping until the given epoch,,,,app_waituntil,))
304 $(eval $(call BuildAsterisk13Module,app-while,While loop,a while loop implementation,,,,app_while,))
305 $(eval $(call BuildAsterisk13Module,cdr,Provides CDR,Call Detail Record,,/etc/asterisk/cdr.conf /etc/asterisk/cdr_custom.conf /etc/asterisk/cdr_manager.conf /etc/asterisk/cdr_syslog.conf,cdr.conf cdr_custom.conf cdr_manager.conf cdr_syslog.conf,app_cdr app_forkcdr cdr_custom cdr_manager cdr_syslog func_cdr,))
306 $(eval $(call BuildAsterisk13Module,cdr-csv,Provides CDR CSV,Call Detail Record with CSV support,,,,cdr_csv,))
307 $(eval $(call BuildAsterisk13Module,cdr-sqlite3,Provides CDR SQLITE3,Call Detail Record with SQLITE3 support,libsqlite3,,,cdr_sqlite3_custom,))
308 $(eval $(call BuildAsterisk13Module,codec-a-mu,Alaw to ulaw translation,translation between alaw and ulaw codecs,,,,codec_a_mu,))
309 $(eval $(call BuildAsterisk13Module,codec-adpcm,ADPCM text,ADPCM text ,,,,codec_adpcm,))
310 $(eval $(call BuildAsterisk13Module,codec-alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs,,,,codec_alaw,))
311 $(eval $(call BuildAsterisk13Module,codec-ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs,,,,codec_ulaw,))
312 $(eval $(call BuildAsterisk13Module,codec-g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec,,,,codec_g722,))
313 $(eval $(call BuildAsterisk13Module,codec-g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs,,,,codec_g726,))
314 $(eval $(call BuildAsterisk13Module,codec-gsm,linear to GSM translation,translate between signed linear and GSM,,,,codec_gsm,))
315 $(eval $(call BuildAsterisk13Module,codec-ilbc,linear to ILBC translation,translate between signed linear and ILBC,,,,codec_ilbc,))
316 $(eval $(call BuildAsterisk13Module,codec-lpc10,Linear to LPC10 translation,translate between signed linear and LPC10,,,,codec_lpc10,))
317 $(eval $(call BuildAsterisk13Module,codec-resample,resample sLinear audio,resample sLinear audio,,,,codec_resample,))
318 $(eval $(call BuildAsterisk13Module,curl,CURL,CURL support,+libcurl,,,func_curl res_curl,))
319 $(eval $(call BuildAsterisk13Module,format-g726,G.726,support for headerless G.726 16/24/32/40kbps data format,,,,format_g726,))
320 $(eval $(call BuildAsterisk13Module,format-g729,G.729,support for raw headerless G729 data,,,,format_g729,))
321 $(eval $(call BuildAsterisk13Module,format-gsm,GSM format,support for GSM format,,,,format_gsm,))
322 $(eval $(call BuildAsterisk13Module,format-h263,H263 format,support for H264 format,,,,format_h263,))
323 $(eval $(call BuildAsterisk13Module,format-h264,H264 format,support for H264 format,,,,format_h264,))
324 $(eval $(call BuildAsterisk13Module,format-ilbc,ILBC format,support for ILBC format,,,,format_ilbc,))
325 $(eval $(call BuildAsterisk13Module,format-sln,Raw slinear format,support for raw slinear format,,,,format_sln,))
326 $(eval $(call BuildAsterisk13Module,format-pcm,PCM format,support for PCM format,,,,format_pcm,))
327 $(eval $(call BuildAsterisk13Module,format-vox,VOX format,support for ADPCM vox format,,,,format_vox,))
328 $(eval $(call BuildAsterisk13Module,format-wav,WAV format (8000hz Signed Linear),support for proprietary Microsoft WAV format (8000hz Signed Linear),,,,format_wav,))
329 $(eval $(call BuildAsterisk13Module,format-wav-gsm,WAV format (Proprietary GSM),support for proprietary Microsoft WAV format (Proprietary GSM),,,,format_wav_gsm,))
330 $(eval $(call BuildAsterisk13Module,func-base64,base64 support,support of base64 function,,,,func_base64,))
331 $(eval $(call BuildAsterisk13Module,func-blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted,,,,func_blacklist,))
332 $(eval $(call BuildAsterisk13Module,func-cut,CUT function,CUT function,,,,func_cut,))
333 $(eval $(call BuildAsterisk13Module,func-db,Database interaction,functions for interaction with the database,,,,func_db,))
334 $(eval $(call BuildAsterisk13Module,func-devstate,Blinky lights control,functions for manually controlled blinky lights,,,,func_devstate,))
335 $(eval $(call BuildAsterisk13Module,func-extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control,,,,func_extstate,))
336 $(eval $(call BuildAsterisk13Module,func-global,Global variable,global variable dialplan functions,,,,func_global,))
337 $(eval $(call BuildAsterisk13Module,func-groupcount,Group count,for counting number of channels in the specified group,,,,func_groupcount,))
338 $(eval $(call BuildAsterisk13Module,func-channel,Channel info,Channel info dialplan function,,,,func_channel,))
339 $(eval $(call BuildAsterisk13Module,func-shell,Shell,support for shell execution,,,,func_shell,))
340 $(eval $(call BuildAsterisk13Module,func-uri,URI encoding and decoding,Encodes and decodes URI-safe strings,,,,func_uri,))
341 $(eval $(call BuildAsterisk13Module,func-vmcount,vmcount dialplan,a vmcount dialplan function,,,,func_vmcount,))
342 $(eval $(call BuildAsterisk13Module,chan-iax2,IAX2 channel,IAX support,+asterisk13-res-timing-timerfd,/etc/asterisk/iax.conf /etc/asterisk/iaxprov.conf,iax.conf iaxprov.conf,chan_iax2,))
343 $(eval $(call BuildAsterisk13Module,pjsip,pjsip channel,the channel pjsip,+asterisk13-res-sorcery +libpjsip +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsua +libpjsua2,/etc/asterisk/pjsip.conf /etc/asterisk/pjsip_notify.conf,pjsip.conf pjsip_notify.conf,func_pjsip_endpoint chan_pjsip res_pjsip_acl res_pjsip_authenticator_digest res_pjsip_caller_id res_pjsip_dialog_info_body_generator res_pjsip_diversion res_pjsip_dtmf_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_log_forwarder res_pjsip_logger res_pjsip_messaging res_pjsip_multihomed res_pjsip_mwi_body_generator res_pjsip_mwi 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_expire res_pjsip_registrar res_pjsip_rfc3326 res_pjsip_sdp_rtp res_pjsip_send_to_voicemail res_pjsip_session res_pjsip res_pjsip_transport_websocket res_pjsip_t38 res_pjsip_xpidf_body_generator,))
344 $(eval $(call BuildAsterisk13Module,chan-skinny,Skinny channel,the channel chan_skinny,,/etc/asterisk/skinny.conf,skinny.conf,chan_skinny,))
345 $(eval $(call BuildAsterisk13Module,chan-sip,SIP channel,the channel chan_sip,,/etc/asterisk/sip.conf /etc/asterisk/sip_notify.conf,sip.conf sip_notify.conf,chan_sip,))
346 $(eval $(call BuildAsterisk13Module,chan-unistim,Unistim channel,channel driver for the UNISTIM (Unified Networks IP Stimulus) protocol,,/etc/asterisk/unistim.conf,unistim.conf,chan_unistim,))
347 $(eval $(call BuildAsterisk13Module,odbc,ODBC,ODBC support,+libpthread +libc +unixodbc,/etc/asterisk/cdr_adaptive_odbc.conf /etc/asterisk/cdr_odbc.conf /etc/asterisk/cel_odbc.conf /etc/asterisk/func_odbc.conf /etc/asterisk/res_odbc.conf,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,))
348 $(eval $(call BuildAsterisk13Module,pgsql,PostgreSQL,PostgreSQL support,+libpq,/etc/asterisk/cel_pgsql.conf /etc/asterisk/cdr_pgsql.conf /etc/asterisk/res_pgsql.conf,cel_pgsql.conf cdr_pgsql.conf res_pgsql.conf,cel_pgsql cdr_pgsql res_config_pgsql,))
349 $(eval $(call BuildAsterisk13Module,pbx-ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic,,,extensions.ael,pbx_ael,))
350 $(eval $(call BuildAsterisk13Module,pbx-spool,Call Spool,outgoing call spool support,,,,pbx_spool,))
351 $(eval $(call BuildAsterisk13Module,res-ael-share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules,,,,res_ael_share,))
352 $(eval $(call BuildAsterisk13Module,res-agi,Asterisk Gateway Interface,Support for the Asterisk Gateway Interface extension,,,,res_agi,))
353 $(eval $(call BuildAsterisk13Module,res-clioriginate,Calls via CLI,Originate calls via the CLI,,,,res_clioriginate,))
354 $(eval $(call BuildAsterisk13Module,res-monitor,Provide Monitor,Cryptographic Signature capability,,,,res_monitor,))
355 $(eval $(call BuildAsterisk13Module,res-phoneprov,Phone Provisioning,Phone provisioning application for the asterisk internal http server,,/etc/asterisk/phoneprov.conf,phoneprov.conf,res_phoneprov,))
356 $(eval $(call BuildAsterisk13Module,res-smdi,Provide SMDI,Simple Message Desk Interface capability,,/etc/asterisk/smdi.conf,smdi.conf,res_smdi,))
357 $(eval $(call BuildAsterisk13Module,res-fax,FAX modules,Generic FAX resource for FAX technology resource modules,+asterisk13-res-timing-pthread,/etc/asterisk/res_fax.conf /etc/asterisk/udptl.conf,udptl.conf res_fax.conf,res_fax,))
358 $(eval $(call BuildAsterisk13Module,res-musiconhold,MOH,Music On Hold support,,/etc/asterisk/musiconhold.conf,musiconhold.conf,res_musiconhold,))
359 $(eval $(call BuildAsterisk13Module,res-http-websocket,HTTP websocket support,,,,,res_http_websocket,))
360 $(eval $(call BuildAsterisk13Module,res-rtp-asterisk,RTP stack,,+libpjsip +libpjmedia +libpjnath +libpjsip-simple +libpjsip-ua +libpjsua +libpjsua2,/etc/asterisk/rtp.conf,rtp.conf,res_rtp_asterisk,))
361 $(eval $(call BuildAsterisk13Module,res-rtp-multicast,RTP multicast engine,,,,,res_rtp_multicast,))
362 $(eval $(call BuildAsterisk13Module,res-sorcery,Sorcery data layer,,,,,res_sorcery_astdb res_sorcery_config res_sorcery_memory res_sorcery_realtime,))
363 $(eval $(call BuildAsterisk13Module,res-timing-pthread,pthread Timing Interface,,,,,res_timing_pthread,))
364 $(eval $(call BuildAsterisk13Module,res-timing-timerfd,Timerfd Timing Interface,,,,,res_timing_timerfd,))
365 $(eval $(call BuildAsterisk13Module,voicemail,Voicemail,voicemail related modules,,/etc/asterisk/voicemail.conf,voicemail.conf,app_voicemail res_adsi res_smdi,vm-*))