[packages] add asterisk-1.8.x, patch from zandbelt
[openwrt/svn-archive/archive.git] / net / asterisk-1.8.x / Makefile
1 #
2 # Copyright (C) 2008-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=asterisk
11 PKG_VERSION:=1.8.2.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
16 PKG_MD5SUM:=e394b63dd71c07497620dc12883e0b80
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/asterisk18/Default
21 SUBMENU:=asterisk18 (Complete Open Source PBX), v1.8.x
22 SECTION:=net
23 CATEGORY:=Network
24 URL:=http://www.asterisk.org/
25 MAINTAINER:=Hans Zandbelt <hans.zandbelt@gmail.com>
26 endef
27
28 define Package/asterisk18/Default/description
29 Asterisk is a complete PBX in software. It provides all of the features
30 you would expect from a PBX and more. Asterisk does voice over IP in three
31 protocols, and can interoperate with almost all standards-based telephony
32 equipment using relatively inexpensive hardware.
33 endef
34
35
36 define Package/asterisk18
37 $(call Package/asterisk18/Default)
38 TITLE:=Complete open source PBX
39 DEPENDS:= +libopenssl +libncurses +libpopt +libpthread +zlib @!TARGET_avr32 @!PACKAGE_asterisk14
40 endef
41
42 define Package/asterisk18/description
43 $(call Package/asterisk18/Default/description)
44 endef
45
46 define Package/asterisk18-sounds
47 $(call Package/asterisk18/Default)
48 TITLE:=Sound files
49 DEPENDS:= +asterisk18
50 endef
51
52 define Package/asterisk18-sounds/description
53 $(call Package/asterisk18/Default/description)
54 This package contains sound files for Asterisk.
55 endef
56
57
58 define Package/asterisk18-voicemail
59 $(call Package/asterisk18/Default)
60 TITLE:=Voicemail support
61 DEPENDS:= +asterisk18
62 endef
63
64 define Package/asterisk18-voicemail/description
65 $(call Package/asterisk18/Default/description)
66 This package contains voicemail related modules for Asterisk.
67 endef
68
69 define Package/asterisk18-app-meetme
70 $(call Package/asterisk18/Default)
71 TITLE:=conferencing support
72 DEPENDS:= +asterisk18 +dahdi-tools-libtonezone +kmod-dahdi-linux
73 endef
74
75 define Package/asterisk18-app-meetme/description
76 $(call Package/asterisk18/Default/description)
77 This package provides the MeetMe application driver Conferencing support to
78 Asterisk.
79 endef
80
81 define Package/asterisk18-chan-iax2
82 $(call Package/asterisk18/Default)
83 TITLE:=IAX support
84 DEPENDS:= +asterisk18
85 endef
86
87 define Package/asterisk18-chan-iax2/description
88 $(call Package/asterisk18/Default/description)
89 This package provides IAX support to
90 Asterisk.
91 endef
92
93 define Package/asterisk18-cdr
94 $(call Package/asterisk18/Default)
95 TITLE:=CDR support
96 DEPENDS:= +asterisk18
97 endef
98
99 define Package/asterisk18-cdr/description
100 $(call Package/asterisk18/Default/description)
101 This package provides Call Detail Record support to
102 Asterisk.
103 endef
104
105 define Package/asterisk18-res-musiconhold
106 $(call Package/asterisk18/Default)
107 TITLE:=MOH support
108 DEPENDS:= +asterisk18
109 endef
110
111 define Package/asterisk18-res-musiconhold/description
112 $(call Package/asterisk18/Default/description)
113 This package provides Music On Hold support to
114 Asterisk.
115 endef
116
117 define Package/asterisk18-res-rtp-asterisk
118 $(call Package/asterisk18/Default)
119 TITLE:=RTP Support
120 DEPENDS:= +asterisk18
121 endef
122
123 define Package/asterisk18-res-rtp-asterisk/description
124 $(call Package/asterisk18/Default/description)
125 This package provides RTP support to Asterisk.
126 It is needed by chan_sip.
127 endef
128
129 define Package/asterisk18-chan-gtalk
130 $(call Package/asterisk18/Default)
131 TITLE:=GTalk support
132 DEPENDS:= +asterisk18 +libiksemel
133 endef
134
135 define Package/asterisk18-chan-gtalk/description
136 $(call Package/asterisk18/Default/description)
137 This package provides the channel chan_gtalk and res_jabber for GTalk
138 support to Asterisk.
139 endef
140
141 define Package/asterisk18-curl
142 $(call Package/asterisk18/Default)
143 TITLE:=CURL support
144 DEPENDS:= +asterisk18 +libcurl
145 endef
146
147 define Package/asterisk18-curl/description
148 $(call Package/asterisk18/Default/description)
149 This package provides CURL
150 support to Asterisk.
151 endef
152
153 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-app-meetme),)
154 CONFIGURE_ARGS+= \
155 --with-dahdi="$(STAGING_DIR)/usr"
156 else
157 CONFIGURE_ARGS+= \
158 --without-dahdi
159 endif
160
161 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),)
162 CONFIGURE_ARGS+= \
163 --with-gnutls="$(STAGING_DIR)/usr" \
164 --with-iksemel="$(STAGING_DIR)/usr"
165 SITE_VARS+= \
166 ac_cv_lib_iksemel_iks_start_sasl=yes \
167 ac_cv_lib_gnutls_gnutls_bye=yes
168 else
169 CONFIGURE_ARGS+= \
170 --without-gnutls \
171 --without-iksemel
172 endif
173
174 ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),)
175 CONFIGURE_ARGS+= \
176 --with-curl="$(STAGING_DIR)/usr"
177 else
178 CONFIGURE_ARGS+= \
179 --without-curl
180 endif
181
182 CONFIGURE_ARGS+= \
183 --without-curses \
184 --with-gsm=internal \
185 --without-gtk \
186 --without-gtk2 \
187 --without-isdnnet \
188 --without-kde \
189 --without-misdn \
190 --without-nbs \
191 --with-ncurses="$(STAGING_DIR)/usr" \
192 --without-netsnmp \
193 --without-newt \
194 --without-odbc \
195 --without-ogg \
196 --without-osptk \
197 --with-popt="$(STAGING_DIR)/usr" \
198 --without-pri \
199 --without-qt \
200 --without-radius \
201 --without-sdl \
202 --without-spandsp \
203 --without-suppserv \
204 --without-tds \
205 --without-termcap \
206 --without-tinfo \
207 --without-vorbis \
208 --without-vpb \
209 --with-z="$(STAGING_DIR)/usr" \
210 --disable-xmldoc
211
212 EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
213 EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
214
215 define Build/Configure
216 -rm $(PKG_BUILD_DIR)/menuselect.makeopts
217 $(call Build/Configure/Default,,$(SITE_VARS))
218 endef
219
220 define Build/Compile
221 $(MAKE) -C "$(PKG_BUILD_DIR)" \
222 include/asterisk/version.h \
223 include/asterisk/buildopts.h defaults.h \
224 makeopts.embed_rules
225 ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
226 ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
227 $(MAKE) -C "$(PKG_BUILD_DIR)" \
228 ASTVARLIBDIR="/usr/lib/asterisk" \
229 NOISY_BUILD="1" \
230 DEBUG="" \
231 OPTIMIZE="" \
232 DESTDIR="$(PKG_INSTALL_DIR)" \
233 all install samples
234 $(SED) 's|/var/lib/asterisk|/usr/lib/asterisk|g' $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf
235 endef
236
237 define Build/InstallDev
238 $(INSTALL_DIR) $(1)/usr/include/asterisk/
239 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk/
240 $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/
241 endef
242
243 define Package/asterisk18/conffiles
244 /etc/asterisk/asterisk.conf
245 /etc/asterisk/modules.conf
246 /etc/asterisk/extensions.conf
247 /etc/asterisk/sip.conf
248 /etc/asterisk/sip_notify.conf
249 /etc/asterisk/features.conf
250 /etc/asterisk/indications.conf
251 /etc/asterisk/logger.conf
252 /etc/asterisk/manager.conf
253 /etc/asterisk/rtp.conf
254 /etc/default/asterisk
255 /etc/init.d/asterisk
256 endef
257
258 define Package/asterisk18/install
259 $(INSTALL_DIR) $(1)/etc/asterisk
260 for f in asterisk extensions features \
261 indications logger manager modules \
262 sip sip_notify rtp; do \
263 $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
264 done
265 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
266 for f in app_dial app_echo app_playback app_macro \
267 chan_sip \
268 codec_ulaw codec_gsm \
269 format_gsm format_pcm format_wav format_wav_gsm \
270 pbx_config \
271 func_strings func_timeout func_callerid func_logic; do \
272 $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$$$$f.so $(1)/usr/lib/asterisk/modules/ ; \
273 done
274 $(INSTALL_DIR) $(1)/usr/sbin
275 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
276 $(INSTALL_DIR) $(1)/etc/default
277 $(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
278 $(INSTALL_DIR) $(1)/etc/init.d
279 $(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
280 endef
281
282 define Package/asterisk18-sounds/install
283 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
284 $(CP) $(PKG_INSTALL_DIR)/var/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
285 rm -f $(1)/usr/lib/asterisk/sounds/vm-*
286 rm -f $(1)/usr/lib/asterisk/sounds/conf-*
287 endef
288
289
290 define Package/asterisk18-voicemail/conffiles
291 /etc/asterisk/voicemail.conf
292 endef
293
294 define Package/asterisk18-voicemail/install
295 $(INSTALL_DIR) $(1)/etc/asterisk
296 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/voicemail.conf $(1)/etc/asterisk/
297 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
298 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*voicemail.so $(1)/usr/lib/asterisk/modules/
299 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_adsi.so $(1)/usr/lib/asterisk/modules/
300 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
301 $(CP) $(PKG_INSTALL_DIR)/var/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
302 endef
303
304 define Package/asterisk18-app-meetme/conffiles
305 /etc/asterisk/meetme.conf
306 endef
307
308 define Package/asterisk18-app-meetme/install
309 $(INSTALL_DIR) $(1)/etc/asterisk
310 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/
311 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
312 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_meetme.so $(1)/usr/lib/asterisk/modules/
313 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_dahdi.so $(1)/usr/lib/asterisk/modules/
314 $(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
315 $(CP) $(PKG_INSTALL_DIR)/var/lib/asterisk/sounds/en/conf-*.gsm $(1)/usr/lib/asterisk/sounds/
316 endef
317
318 define Package/asterisk18-chan-iax2/conffiles
319 /etc/asterisk/iax.conf
320 /etc/asterisk/iaxprov.conf
321 endef
322
323 define Package/asterisk18-cdr/conffiles
324 /etc/asterisk/cdr.conf
325 /etc/asterisk/cdr_custom.conf
326 /etc/asterisk/cdr_manager.conf
327 /etc/asterisk/cdr_odbc.conf
328 /etc/asterisk/cdr_pgsql.conf
329 /etc/asterisk/cdr_tds.conf
330 endef
331
332 define Package/asterisk18-res-musiconhold/conffiles
333 /etc/asterisk/musiconhold.conf
334 endef
335
336 define Package/asterisk18-chan-iax2/install
337 $(INSTALL_DIR) $(1)/etc/asterisk
338 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iax.conf $(1)/etc/asterisk/
339 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iaxprov.conf $(1)/etc/asterisk/
340 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
341 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_iax2.so $(1)/usr/lib/asterisk/modules/
342 endef
343
344 define Package/asterisk18-cdr/install
345 $(INSTALL_DIR) $(1)/etc/asterisk
346 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr*.conf $(1)/etc/asterisk/
347 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
348 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*cdr*.so $(1)/usr/lib/asterisk/modules/
349 endef
350
351 define Package/asterisk18-res-musiconhold/install
352 $(INSTALL_DIR) $(1)/etc/asterisk
353 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf $(1)/etc/asterisk/
354 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
355 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_musiconhold.so $(1)/usr/lib/asterisk/modules/
356 endef
357
358 define Package/asterisk18-res-rtp-asterisk/install
359 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
360 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_rtp*.so $(1)/usr/lib/asterisk/modules/
361 endef
362
363 define Package/asterisk18-res-rtp-asterisk/install
364 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
365 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_rtp*.so $(1)/usr/lib/asterisk/modules/
366 endef
367
368 define Package/asterisk18-chan-gtalk/conffiles
369 /etc/asterisk/gtalk.conf
370 /etc/asterisk/jabber.conf
371 endef
372
373 define Package/asterisk18-chan-gtalk/install
374 $(INSTALL_DIR) $(1)/etc/asterisk
375 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/
376 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/
377 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
378 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_gtalk.so $(1)/usr/lib/asterisk/modules/
379 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
380 endef
381
382 define Package/asterisk18-curl/install
383 $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
384 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/
385 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_curl.so $(1)/usr/lib/asterisk/modules/
386 endef
387
388 define Buildasterisk18ModuleTemplate
389
390 define Package/asterisk18-$(subst _,-,$(1))
391 $$(call Package/asterisk18/Default)
392 TITLE:=$(2) support
393 DEPENDS:= +asterisk18
394 endef
395
396 define Package/asterisk18-$(subst _,-,$(1))/description
397 $$(call Package/asterisk18/Default/description)
398 This package provides support $(3) in Asterisk.
399 endef
400
401 define Package/asterisk18-$(subst _,-,$(1))/install
402 $(INSTALL_DIR) $$(1)/usr/lib/asterisk/modules
403 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$(1).so $$(1)/usr/lib/asterisk/modules/
404 endef
405
406 $$(eval $$(call BuildPackage,asterisk18-$(subst _,-,$(1))))
407 endef
408
409 $(eval $(call BuildPackage,asterisk18))
410 $(eval $(call BuildPackage,asterisk18-voicemail))
411 $(eval $(call BuildPackage,asterisk18-sounds))
412 #$(eval $(call BuildPackage,asterisk18-app-meetme))
413 $(eval $(call BuildPackage,asterisk18-chan-iax2))
414 $(eval $(call BuildPackage,asterisk18-cdr))
415 $(eval $(call BuildPackage,asterisk18-res-musiconhold))
416 $(eval $(call BuildPackage,asterisk18-res-rtp-asterisk))
417 $(eval $(call BuildPackage,asterisk18-chan-gtalk))
418 $(eval $(call BuildPackage,asterisk18-curl))
419 $(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
420 $(eval $(call Buildasterisk18ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available))
421 $(eval $(call Buildasterisk18ModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel))
422 $(eval $(call Buildasterisk18ModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup))
423 $(eval $(call Buildasterisk18ModuleTemplate,app_exec,Exec application,support for application execution))
424 $(eval $(call Buildasterisk18ModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system))
425 $(eval $(call Buildasterisk18ModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable))
426 $(eval $(call Buildasterisk18ModuleTemplate,app_read,Variable read,a trivial application to read a variable))
427 $(eval $(call Buildasterisk18ModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time))
428 $(eval $(call Buildasterisk18ModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1)))
429 $(eval $(call Buildasterisk18ModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc.))
430 $(eval $(call Buildasterisk18ModuleTemplate,app_system,System exec,support for executing system commands))
431 $(eval $(call Buildasterisk18ModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect))
432 $(eval $(call Buildasterisk18ModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch))
433 $(eval $(call Buildasterisk18ModuleTemplate,app_while,While loop,a while loop implementation))
434 $(eval $(call Buildasterisk18ModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel))
435 $(eval $(call Buildasterisk18ModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel))
436 $(eval $(call Buildasterisk18ModuleTemplate,codec_alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs))
437 $(eval $(call Buildasterisk18ModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs))
438 $(eval $(call Buildasterisk18ModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs))
439 $(eval $(call Buildasterisk18ModuleTemplate,codec_g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec))
440 $(eval $(call Buildasterisk18ModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs))
441 $(eval $(call Buildasterisk18ModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format))
442 $(eval $(call Buildasterisk18ModuleTemplate,format_g729,G.729,support for raw headerless G729 data))
443 $(eval $(call Buildasterisk18ModuleTemplate,format_sln,Raw slinear format,support for raw slinear format))
444 $(eval $(call Buildasterisk18ModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format))
445 $(eval $(call Buildasterisk18ModuleTemplate,func_db,Database interaction,functions for interaction with the database))
446 $(eval $(call Buildasterisk18ModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights))
447 $(eval $(call Buildasterisk18ModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function))
448 $(eval $(call Buildasterisk18ModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control))
449 $(eval $(call Buildasterisk18ModuleTemplate,func_global,Global variable,global variable dialplan functions))
450 $(eval $(call Buildasterisk18ModuleTemplate,func_shell,Shell,support for shell execution))
451 $(eval $(call Buildasterisk18ModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic))
452 $(eval $(call Buildasterisk18ModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules))
453 $(eval $(call Buildasterisk18ModuleTemplate,pbx_spool,Call Spool,outgoing call spool support))
454 $(eval $(call Buildasterisk18ModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension))
455 $(eval $(call Buildasterisk18ModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID))
456 $(eval $(call Buildasterisk18ModuleTemplate,app_setcallerid,Set callerid,support for setting callerid))
457 $(eval $(call Buildasterisk18ModuleTemplate,app_verbose,Verbose logging,Verbose logging application))
458 $(eval $(call Buildasterisk18ModuleTemplate,func_channel,Channel info,Channel info dialplan function))
459 $(eval $(call Buildasterisk18ModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number, and see if it is blacklisted))
460 $(eval $(call Buildasterisk18ModuleTemplate,app_originate,Originate a call,originating an outbound call and connecting it to a specified extension or application))