Billing records are fair, To get paid is quite bright, You should really use ODBC; Good-bye cdr_sqlite. Microsoft did once push H.323, Hell, we all remember NetMeeting. But try to compile chan_h323 now And you will take quite a beating. The XMPP and SIP war was fierce, And in the distant fray Was birthed res_jabber/chan_jingle; But neither to stay. For everyone did care and chase what Google professed. "Free Internet Calling" was what devotees cried, But Google did change the specs so often That the developers were happy the day chan_gtalk died. And then there was that odd application Dedicated to the Polish tongue. app_saycountpl was subsumed by Say; One could say its bell was rung. To read and parse a file from the dialplan You could (I guess) use an application. app_readfile did fill that purpose, but I think A function is perhaps better in its creation. Barging is rude, I'm not sure why we do it. Inwardly, the caller will probably sigh. But if you really must do it, Don't use app_dahdibarge, use ChanSpy. We all despise the sound of tinny robots It makes our queues so cold. To control such an abomination It's better to not use Wait/SetMusicOnHold. It's often nice to know properties of a channel It makes our calls right We have a nice function called CHANNEL And so SIPCHANINFO is sent off into the night. And now things get odd; Apparently one could delimit with a colon Properties from the SIPPEER function! Commas are in; all others are done. Finally, a word on pipes and commas. We're sorry. We can't say it enough. But those compatibility options in asterisk.conf; To maintain them forever was just too tough. This patch removes: * cdr_sqlite * chan_gtalk * chan_jingle * chan_h323 * res_jabber * app_saycountpl * app_readfile * app_dahdibarge It removes the following applications/functions: * WaitMusicOnHold * SetMusicOnHold * SIPCHANINFO It removes the colon delimiter from the SIPPEER function. Finally, it also removes all compatibility options that were configurable from asterisk.conf, as these all applied to compatibility with Asterisk 1.4 systems. Review: https://reviewboard.asterisk.org/r/3698/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
73 lines
2.9 KiB
Makefile
73 lines
2.9 KiB
Makefile
#
|
|
# Asterisk -- An open source telephony toolkit.
|
|
#
|
|
# Makefile for Add-on Modules
|
|
#
|
|
# Copyright (C) 2009, Digium, Inc.
|
|
#
|
|
# This program is free software, distributed under the terms of
|
|
# the GNU General Public License
|
|
#
|
|
|
|
-include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
|
|
|
|
MENUSELECT_CATEGORY=ADDONS
|
|
MENUSELECT_DESCRIPTION=Add-ons (See README-addons.txt)
|
|
|
|
H323OBJS:=ooCmdChannel.o ooLogChan.o ooUtils.o ooGkClient.o context.o \
|
|
ooDateTime.o decode.o dlist.o encode.o errmgmt.o \
|
|
memheap.o ootrace.o oochannels.o ooh245.o ooports.o \
|
|
ooq931.o ooCapability.o ooSocket.o perutil.o eventHandler.o \
|
|
ooCalls.o ooStackCmds.o ooh323.o ooh323ep.o printHandler.o \
|
|
rtctype.o ooTimer.o h323/H235-SECURITY-MESSAGESDec.o \
|
|
h323/H235-SECURITY-MESSAGESEnc.o h323/H323-MESSAGES.o h323/H323-MESSAGESDec.o \
|
|
h323/H323-MESSAGESEnc.o h323/MULTIMEDIA-SYSTEM-CONTROL.o \
|
|
h323/MULTIMEDIA-SYSTEM-CONTROLDec.o h323/MULTIMEDIA-SYSTEM-CONTROLEnc.o
|
|
|
|
H323CFLAGS:=-Iooh323c/src -Iooh323c/src/h323
|
|
|
|
ALL_C_MODS:=app_mysql \
|
|
cdr_mysql \
|
|
chan_mobile \
|
|
chan_ooh323 \
|
|
format_mp3 \
|
|
res_config_mysql
|
|
|
|
all: check_mp3 _all
|
|
|
|
check_mp3:
|
|
ifeq ($(filter format_mp3,$(MENUSELECT_ADDONS)),)
|
|
@if [ ! -f mp3/Makefile ] ; then \
|
|
echo ; \
|
|
echo "**************************************************************" ; \
|
|
echo "*** ***" ; \
|
|
echo "*** ---> READ THIS OR YOUR BUILD WILL FAIL <--- ***" ; \
|
|
echo "*** ***" ; \
|
|
echo "*** format_mp3 has been selected to be installed, but the ***" ; \
|
|
echo "*** mp3 decoder library has not yet been downloaded into ***" ; \
|
|
echo "*** the source tree. To do so, please run the following ***" ; \
|
|
echo "*** command: ***" ; \
|
|
echo "*** ***" ; \
|
|
echo "*** $$ contrib/scripts/get_mp3_source.sh ***" ; \
|
|
echo "*** ***" ; \
|
|
echo "**************************************************************" ; \
|
|
echo ; \
|
|
fi
|
|
endif
|
|
|
|
include $(ASTTOPDIR)/Makefile.moddir_rules
|
|
|
|
clean::
|
|
if [ -f mp3/Makefile ] ; then $(MAKE) -C mp3 clean ; fi
|
|
rm -f $(addprefix ooh323c/src/,$(H323OBJS))
|
|
|
|
$(if $(filter format_mp3,$(EMBEDDED_MODS)),modules.link,format_mp3.so): mp3/common.o mp3/dct64_i386.o mp3/decode_ntom.o mp3/layer3.o mp3/tabinit.o mp3/interface.o
|
|
|
|
chan_ooh323.o: _ASTCFLAGS+=$(H323CFLAGS)
|
|
|
|
$(if $(filter chan_ooh323,$(EMBEDDED_MODS)),modules.link,chan_ooh323.so): _ASTCFLAGS+=$(H323CFLAGS)
|
|
$(if $(filter chan_ooh323,$(EMBEDDED_MODS)),modules.link,chan_ooh323.so): $(addprefix ooh323c/src/,$(H323OBJS)) chan_ooh323.o ooh323cDriver.o
|
|
$(addprefix ooh323c/src/,$(H323OBJS)) chan_ooh323.o ooh323cDriver.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_ooh323)
|
|
|
|
.PHONY: check_mp3
|