Import callweaver-RC-1.1.99.20081210 as wip/callweaver-current.

CallWeaver is a community-driven, vendor-independent, cross-platform,
open source, PBX software project (formerly known as OpenPBX.org).

It was originally derived from Asterisk. Now it supports analog and
digital PSTN telephony, multi-protocol voice over IP telephony, fax,
software-fax, T.38 fax over IP and many telephony applications such as
IVR, conferencing and callcenter queue management.
This commit is contained in:
X400 2008-12-11 18:55:08 +00:00 committed by Thomas Klausner
parent c4bd01c129
commit 59c3663c6d
10 changed files with 1057 additions and 0 deletions

7
callweaver-current/DESCR Normal file
View file

@ -0,0 +1,7 @@
CallWeaver is a community-driven, vendor-independent, cross-platform,
open source, PBX software project (formerly known as OpenPBX.org).
It was originally derived from Asterisk. Now it supports analog and
digital PSTN telephony, multi-protocol voice over IP telephony, fax,
software-fax, T.38 fax over IP and many telephony applications such as
IVR, conferencing and callcenter queue management.

133
callweaver-current/Makefile Normal file
View file

@ -0,0 +1,133 @@
# $NetBSD: Makefile,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
DISTNAME= callweaver-RC-1.1.99.20081210
CATEGORIES= comms
MASTER_SITES= http://devs.callweaver.org/1.2_snapshots/
EXTRACT_SUFX= .tar.gz
MAINTAINER= x400@msfu.ru
HOMEPAGE= http://www.callweaver.org/
COMMENT= The Callweaver Software PBX
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++ fortran
USE_TOOLS+= gmake perl:run
USE_GNU_READLINE= yes
USE_NCURSES= yes
PKG_USERS= callweaver:callweaver
PKG_GROUPS= callweaver
BUILD_DEFS+= VARBASE
PKG_SYSCONFSUBDIR= callweaver
CWPREFIX?= ${PREFIX}
CWEXECDIR?= ${PREFIX}/bin
CWUTILSDIR?= ${PREFIX}/sbin
CWCONFDIR?= ${PREFIX}/etc/callweaver
CWLIBDIR?= ${PREFIX}/lib/callweaver
CWVARDIR?= ${VARBASE}/db/callweaver
CWDATADIR?= ${PREFIX}/share/callweaver
CWLOGDIR?= ${VARBASE}/log/callweaver
CWRUNDIR?= ${VARBASE}/run
CWSPOOLDIR?= ${VARBASE}/spool/callweaver
CWMANDIR?= ${PREFIX}/man
CWDOCDIR?= ${PREFIX}/share/doc/callweaver
CWCONFEXAMPLESDIR?= ${PREFIX}/share/examples/callweaver
SUBST_CLASSES+= callweaver
SUBST_STAGE.callweaver= pre-configure
SUBST_FILES.callweaver= layout.freebsd
SUBST_SED.callweaver+= -e 's|^ *\(cwprefix\)=.*|\1=${CWPREFIX}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwexecdir\)=.*|\1=${CWEXECDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwutilsdir\)=.*|\1=${CWUTILSDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwconfdir\)=.*|\1=${CWCONFDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwlibdir\)=.*|\1=${CWLIBDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwvardir\)=.*|\1=${CWVARDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwdatadir\)=.*|\1=${CWDATADIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwlogdir\)=.*|\1=${CWLOGDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwrundir\)=.*|\1=${CWRUNDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwspooldir\)=.*|\1=${CWSPOOLDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwmandir\)=.*|\1=${CWMANDIR}|'
SUBST_SED.callweaver+= -e 's|^ *\(cwdocdir\)=.*|\1=${CWDOCDIR}|'
CONFIGURE_ARGS+= --with-directory-layout=freebsd
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-app_backticks --with-app_dtmftotext --with-app_page --with-app_valetparking
.include "options.mk"
RCD_SCRIPTS= callweaver
OWN_DIRS+= ${CWLOGDIR} ${CWSPOOLDIR} ${CWVARDIR}
.for f in adsi.conf \
adtranvofr.conf \
agents.conf \
amd.conf \
callweaver.adsi \
callweaver.conf \
cdr.conf \
cdr_custom.conf \
cdr_manager.conf \
cdr_tds.conf \
codecs.conf \
db-memcached.conf \
dnsmgr.conf \
dundi.conf \
enum.conf \
extconfig.conf \
extensions.ael \
extensions.conf \
features.conf \
iax.conf \
indications.conf \
logger.conf \
manager.conf \
meetme.conf \
mgcp.conf \
modem.conf \
modules.conf \
musiconhold.conf \
muted.conf \
osp.conf \
privacy.conf \
queues.conf \
res_snmp.conf \
rtp.conf \
sip.conf \
sip_notify.conf \
udptl.conf \
voicemail.conf \
woomera.conf
CONF_FILES+= ${CWCONFEXAMPLESDIR:Q}/${f} ${CWCONFDIR:Q}/${f}
.endfor
.if !empty(PKG_OPTIONS:Mmysql)
.for f in cdr_mysql.conf \
res_mysql.conf
CONF_FILES+= ${CWCONFEXAMPLESDIR:Q}/${f} ${CWCONFDIR:Q}/${f}
.endfor
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
.for f in cdr_pgsql.conf \
res_pgsql.conf
CONF_FILES+= ${CWCONFEXAMPLESDIR:Q}/${f} ${CWCONFDIR:Q}/${f}
.endfor
.endif
PKGCONFIG_OVERRIDE+= sqlite3-embedded/sqlite3.pc.in
PKGCONFIG_OVERRIDE+= sqlite3-embedded/sqlite.pc.in
.include "../../audio/speex/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../wip/spandsp-current/buildlink3.mk"
.include "../../wip/vale-current/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

274
callweaver-current/PLIST Normal file
View file

@ -0,0 +1,274 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
bin/callweaver
sbin/streamplayer
include/callweaver/acl.h
include/callweaver/adsi.h
include/callweaver/aes.h
include/callweaver/alaw.h
include/callweaver/app.h
include/callweaver/callweaver_db.h
include/callweaver/callweaver_expr.h
include/callweaver/callweaver_hash.h
include/callweaver/callweaver_keywords.h
include/callweaver/callweaver_mm.h
include/callweaver/causes.h
include/callweaver/cdr.h
include/callweaver/chan_capi.h
include/callweaver/chan_capi20.h
include/callweaver/channel.h
include/callweaver/chanvars.h
include/callweaver/cli.h
include/callweaver/compiler.h
include/callweaver/config.h
include/callweaver/crypto.h
include/callweaver/cwobj.h
include/callweaver/devicestate.h
include/callweaver/dlfcn-compat.h
include/callweaver/dns.h
include/callweaver/dnsmgr.h
include/callweaver/dsp.h
include/callweaver/dundi.h
include/callweaver/enum.h
include/callweaver/features.h
include/callweaver/file.h
include/callweaver/frame.h
include/callweaver/generator.h
include/callweaver/generic_jb.h
include/callweaver/image.h
include/callweaver/indications.h
include/callweaver/inline_api.h
include/callweaver/io.h
include/callweaver/linkedlists.h
include/callweaver/localtime.h
include/callweaver/lock.h
include/callweaver/logger.h
include/callweaver/manager.h
include/callweaver/module.h
include/callweaver/monitor.h
include/callweaver/musiconhold.h
include/callweaver/netsock.h
include/callweaver/ogi.h
include/callweaver/options.h
include/callweaver/pbx.h
include/callweaver/phone_no_utils.h
include/callweaver/poll-compat.h
include/callweaver/privacy.h
include/callweaver/res_odbc.h
include/callweaver/resonator.h
include/callweaver/rtp.h
include/callweaver/say.h
include/callweaver/sched.h
include/callweaver/slinfactory.h
include/callweaver/srv.h
include/callweaver/strings.h
include/callweaver/stun.h
include/callweaver/term.h
include/callweaver/time.h
include/callweaver/transcap.h
include/callweaver/translate.h
include/callweaver/udp.h
include/callweaver/udpfromto.h
include/callweaver/udptl.h
include/callweaver/ulaw.h
include/callweaver/unaligned.h
include/callweaver/utils.h
include/callweaver/xlaw.h
lib/callweaver/libcallweaver.la
lib/callweaver/libcwjb.la
lib/callweaver/libcwsqlite3.la
lib/callweaver/modules/app_adsiprog.la
lib/callweaver/modules/app_amd.la
lib/callweaver/modules/app_authenticate.la
lib/callweaver/modules/app_backgrounddetect.la
lib/callweaver/modules/app_backticks.la
lib/callweaver/modules/app_cdr.la
lib/callweaver/modules/app_changrab.la
lib/callweaver/modules/app_chanisavail.la
lib/callweaver/modules/app_chanspy.la
lib/callweaver/modules/app_controlplayback.la
lib/callweaver/modules/app_db.la
lib/callweaver/modules/app_devstate.la
lib/callweaver/modules/app_dial.la
lib/callweaver/modules/app_dictate.la
lib/callweaver/modules/app_directed_pickup.la
lib/callweaver/modules/app_directory.la
lib/callweaver/modules/app_disa.la
lib/callweaver/modules/app_dtmftotext.la
lib/callweaver/modules/app_dumpchan.la
lib/callweaver/modules/app_echo.la
lib/callweaver/modules/app_enumlookup.la
lib/callweaver/modules/app_eval.la
lib/callweaver/modules/app_exec.la
lib/callweaver/modules/app_faxdetect.la
lib/callweaver/modules/app_forkcdr.la
lib/callweaver/modules/app_getcpeid.la
lib/callweaver/modules/app_getdevstate.la
lib/callweaver/modules/app_getextstate.la
lib/callweaver/modules/app_groupcount.la
lib/callweaver/modules/app_hasnewvoicemail.la
lib/callweaver/modules/app_lookupblacklist.la
lib/callweaver/modules/app_lookupcidname.la
lib/callweaver/modules/app_milliwatt.la
lib/callweaver/modules/app_muxmon.la
lib/callweaver/modules/app_nconference.la
lib/callweaver/modules/app_page.la
lib/callweaver/modules/app_pipe.la
lib/callweaver/modules/app_playback.la
lib/callweaver/modules/app_privacy.la
lib/callweaver/modules/app_proc.la
lib/callweaver/modules/app_queue.la
lib/callweaver/modules/app_random.la
lib/callweaver/modules/app_read.la
lib/callweaver/modules/app_record.la
lib/callweaver/modules/app_rxfax.la
lib/callweaver/modules/app_sayunixtime.la
lib/callweaver/modules/app_senddtmf.la
lib/callweaver/modules/app_sendtext.la
lib/callweaver/modules/app_setcallerpres.la
lib/callweaver/modules/app_setcdruserfield.la
lib/callweaver/modules/app_setrdnis.la
lib/callweaver/modules/app_settransfercapability.la
lib/callweaver/modules/app_sms.la
lib/callweaver/modules/app_softhangup.la
lib/callweaver/modules/app_stack.la
lib/callweaver/modules/app_system.la
lib/callweaver/modules/app_t38gateway.la
lib/callweaver/modules/app_transfer.la
lib/callweaver/modules/app_txfax.la
lib/callweaver/modules/app_userevent.la
lib/callweaver/modules/app_valetparking.la
lib/callweaver/modules/app_verbose.la
lib/callweaver/modules/app_voicemail.la
lib/callweaver/modules/app_waitfordigits.la
lib/callweaver/modules/app_waitforring.la
lib/callweaver/modules/app_waitforsilence.la
lib/callweaver/modules/app_while.la
lib/callweaver/modules/app_zapateller.la
lib/callweaver/modules/cdr_csv.la
lib/callweaver/modules/cdr_custom.la
lib/callweaver/modules/cdr_manager.la
lib/callweaver/modules/cdr_sqlite3.la
lib/callweaver/modules/chan_agent.la
lib/callweaver/modules/chan_features.la
lib/callweaver/modules/chan_iax2.la
lib/callweaver/modules/chan_local.la
lib/callweaver/modules/chan_mgcp.la
lib/callweaver/modules/chan_sip.la
lib/callweaver/modules/chan_woomera.la
lib/callweaver/modules/codec_a_mu.la
lib/callweaver/modules/codec_alaw.la
lib/callweaver/modules/codec_dvi_adpcm.la
lib/callweaver/modules/codec_g722.la
lib/callweaver/modules/codec_g722_16k_8k.la
lib/callweaver/modules/codec_g726.la
lib/callweaver/modules/codec_gsm.la
lib/callweaver/modules/codec_lpc10.la
lib/callweaver/modules/codec_oki_adpcm.la
lib/callweaver/modules/codec_speex.la
lib/callweaver/modules/codec_ulaw.la
lib/callweaver/modules/format_au.la
lib/callweaver/modules/format_g723_1.la
lib/callweaver/modules/format_g726.la
lib/callweaver/modules/format_g729.la
lib/callweaver/modules/format_gsm.la
lib/callweaver/modules/format_h263.la
lib/callweaver/modules/format_jpeg.la
lib/callweaver/modules/format_pcm.la
lib/callweaver/modules/format_pcm_alaw.la
lib/callweaver/modules/format_sln.la
lib/callweaver/modules/format_wav.la
lib/callweaver/modules/format_wav_gsm.la
lib/callweaver/modules/func_callerid.la
lib/callweaver/modules/func_cdr.la
lib/callweaver/modules/func_config.la
lib/callweaver/modules/func_db.la
lib/callweaver/modules/func_enum.la
lib/callweaver/modules/func_env.la
lib/callweaver/modules/func_fileexists.la
lib/callweaver/modules/func_groupcount.la
lib/callweaver/modules/func_language.la
lib/callweaver/modules/func_logic.la
lib/callweaver/modules/func_math.la
lib/callweaver/modules/func_md5.la
lib/callweaver/modules/func_moh.la
lib/callweaver/modules/func_strings.la
lib/callweaver/modules/func_timeout.la
lib/callweaver/modules/func_uri.la
lib/callweaver/modules/pbx_config.la
lib/callweaver/modules/pbx_dundi.la
lib/callweaver/modules/pbx_loopback.la
lib/callweaver/modules/pbx_realtime.la
lib/callweaver/modules/pbx_spool.la
lib/callweaver/modules/res_adsi.la
lib/callweaver/modules/res_crypto.la
lib/callweaver/modules/res_features.la
lib/callweaver/modules/res_indications.la
lib/callweaver/modules/res_monitor.la
lib/callweaver/modules/res_musiconhold.la
lib/callweaver/modules/res_ogi.la
man/man8/callweaver.8
man/man8/safe_callweaver.8
sbin/callweaver_cli
sbin/safe_callweaver
share/callweaver/ogi/eogi-sphinx-test
share/callweaver/ogi/eogi-test
share/callweaver/ogi/fastogi-test
share/callweaver/ogi/ogi-test.ogi
share/doc/callweaver/CREDITS
share/doc/callweaver/LICENSE
share/doc/callweaver/README
share/examples/callweaver/adsi.conf
share/examples/callweaver/adtranvofr.conf
share/examples/callweaver/agents.conf
share/examples/callweaver/amd.conf
share/examples/callweaver/callweaver.adsi
share/examples/callweaver/callweaver.conf
share/examples/callweaver/cdr.conf
share/examples/callweaver/cdr_custom.conf
share/examples/callweaver/cdr_manager.conf
share/examples/callweaver/cdr_tds.conf
share/examples/callweaver/codecs.conf
share/examples/callweaver/db-memcached.conf
share/examples/callweaver/dnsmgr.conf
share/examples/callweaver/dundi.conf
share/examples/callweaver/enum.conf
share/examples/callweaver/extconfig.conf
share/examples/callweaver/extensions.ael
share/examples/callweaver/extensions.conf
share/examples/callweaver/features.conf
share/examples/callweaver/iax.conf
share/examples/callweaver/indications.conf
share/examples/callweaver/logger.conf
share/examples/callweaver/manager.conf
share/examples/callweaver/meetme.conf
share/examples/callweaver/mgcp.conf
share/examples/callweaver/modem.conf
share/examples/callweaver/modules.conf
share/examples/callweaver/musiconhold.conf
share/examples/callweaver/muted.conf
share/examples/callweaver/osp.conf
share/examples/callweaver/privacy.conf
share/examples/callweaver/queues.conf
share/examples/callweaver/res_snmp.conf
share/examples/callweaver/rtp.conf
share/examples/callweaver/sip.conf
share/examples/callweaver/sip_notify.conf
share/examples/callweaver/udptl.conf
share/examples/callweaver/voicemail.conf
share/examples/callweaver/woomera.conf
share/examples/rc.d/callweaver
@dirrm share/examples/callweaver
@dirrm share/doc/callweaver
@dirrm share/callweaver/ogi
@exec ${MKDIR} %D/share/callweaver/moh
@dirrm share/callweaver/moh
@exec ${MKDIR} %D/share/callweaver/keys
@dirrm share/callweaver/keys
@exec ${MKDIR} %D/share/callweaver/images
@dirrm share/callweaver/images
@dirrm share/callweaver
@exec ${MKDIR} %D/lib/callweaver/modules/icd
@dirrm lib/callweaver/modules/icd
@dirrm lib/callweaver/modules
@dirrm lib/callweaver
@dirrm include/callweaver

View file

@ -0,0 +1,279 @@
@comment $NetBSD: PLIST.mysql,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
bin/callweaver
sbin/streamplayer
include/callweaver/acl.h
include/callweaver/adsi.h
include/callweaver/aes.h
include/callweaver/alaw.h
include/callweaver/app.h
include/callweaver/callweaver_db.h
include/callweaver/callweaver_expr.h
include/callweaver/callweaver_hash.h
include/callweaver/callweaver_keywords.h
include/callweaver/callweaver_mm.h
include/callweaver/causes.h
include/callweaver/cdr.h
include/callweaver/chan_capi.h
include/callweaver/chan_capi20.h
include/callweaver/channel.h
include/callweaver/chanvars.h
include/callweaver/cli.h
include/callweaver/compiler.h
include/callweaver/config.h
include/callweaver/crypto.h
include/callweaver/cwobj.h
include/callweaver/devicestate.h
include/callweaver/dlfcn-compat.h
include/callweaver/dns.h
include/callweaver/dnsmgr.h
include/callweaver/dsp.h
include/callweaver/dundi.h
include/callweaver/enum.h
include/callweaver/features.h
include/callweaver/file.h
include/callweaver/frame.h
include/callweaver/generator.h
include/callweaver/generic_jb.h
include/callweaver/image.h
include/callweaver/indications.h
include/callweaver/inline_api.h
include/callweaver/io.h
include/callweaver/linkedlists.h
include/callweaver/localtime.h
include/callweaver/lock.h
include/callweaver/logger.h
include/callweaver/manager.h
include/callweaver/module.h
include/callweaver/monitor.h
include/callweaver/musiconhold.h
include/callweaver/netsock.h
include/callweaver/ogi.h
include/callweaver/options.h
include/callweaver/pbx.h
include/callweaver/phone_no_utils.h
include/callweaver/poll-compat.h
include/callweaver/privacy.h
include/callweaver/res_odbc.h
include/callweaver/resonator.h
include/callweaver/rtp.h
include/callweaver/say.h
include/callweaver/sched.h
include/callweaver/slinfactory.h
include/callweaver/srv.h
include/callweaver/strings.h
include/callweaver/stun.h
include/callweaver/term.h
include/callweaver/time.h
include/callweaver/transcap.h
include/callweaver/translate.h
include/callweaver/udp.h
include/callweaver/udpfromto.h
include/callweaver/udptl.h
include/callweaver/ulaw.h
include/callweaver/unaligned.h
include/callweaver/utils.h
include/callweaver/xlaw.h
lib/callweaver/libcallweaver.la
lib/callweaver/libcwjb.la
lib/callweaver/libcwsqlite3.la
lib/callweaver/modules/app_adsiprog.la
lib/callweaver/modules/app_amd.la
lib/callweaver/modules/app_authenticate.la
lib/callweaver/modules/app_backgrounddetect.la
lib/callweaver/modules/app_backticks.la
lib/callweaver/modules/app_cdr.la
lib/callweaver/modules/app_changrab.la
lib/callweaver/modules/app_chanisavail.la
lib/callweaver/modules/app_chanspy.la
lib/callweaver/modules/app_controlplayback.la
lib/callweaver/modules/app_db.la
lib/callweaver/modules/app_devstate.la
lib/callweaver/modules/app_dial.la
lib/callweaver/modules/app_dictate.la
lib/callweaver/modules/app_directed_pickup.la
lib/callweaver/modules/app_directory.la
lib/callweaver/modules/app_disa.la
lib/callweaver/modules/app_dtmftotext.la
lib/callweaver/modules/app_dumpchan.la
lib/callweaver/modules/app_echo.la
lib/callweaver/modules/app_enumlookup.la
lib/callweaver/modules/app_eval.la
lib/callweaver/modules/app_exec.la
lib/callweaver/modules/app_faxdetect.la
lib/callweaver/modules/app_forkcdr.la
lib/callweaver/modules/app_getcpeid.la
lib/callweaver/modules/app_getdevstate.la
lib/callweaver/modules/app_getextstate.la
lib/callweaver/modules/app_groupcount.la
lib/callweaver/modules/app_hasnewvoicemail.la
lib/callweaver/modules/app_lookupblacklist.la
lib/callweaver/modules/app_lookupcidname.la
lib/callweaver/modules/app_milliwatt.la
lib/callweaver/modules/app_muxmon.la
lib/callweaver/modules/app_nconference.la
lib/callweaver/modules/app_page.la
lib/callweaver/modules/app_pipe.la
lib/callweaver/modules/app_playback.la
lib/callweaver/modules/app_privacy.la
lib/callweaver/modules/app_proc.la
lib/callweaver/modules/app_queue.la
lib/callweaver/modules/app_random.la
lib/callweaver/modules/app_read.la
lib/callweaver/modules/app_record.la
lib/callweaver/modules/app_rxfax.la
lib/callweaver/modules/app_sayunixtime.la
lib/callweaver/modules/app_senddtmf.la
lib/callweaver/modules/app_sendtext.la
lib/callweaver/modules/app_setcallerpres.la
lib/callweaver/modules/app_setcdruserfield.la
lib/callweaver/modules/app_setrdnis.la
lib/callweaver/modules/app_settransfercapability.la
lib/callweaver/modules/app_sms.la
lib/callweaver/modules/app_softhangup.la
lib/callweaver/modules/app_sql_mysql.la
lib/callweaver/modules/app_stack.la
lib/callweaver/modules/app_system.la
lib/callweaver/modules/app_t38gateway.la
lib/callweaver/modules/app_transfer.la
lib/callweaver/modules/app_txfax.la
lib/callweaver/modules/app_userevent.la
lib/callweaver/modules/app_valetparking.la
lib/callweaver/modules/app_verbose.la
lib/callweaver/modules/app_voicemail.la
lib/callweaver/modules/app_waitfordigits.la
lib/callweaver/modules/app_waitforring.la
lib/callweaver/modules/app_waitforsilence.la
lib/callweaver/modules/app_while.la
lib/callweaver/modules/app_zapateller.la
lib/callweaver/modules/cdr_csv.la
lib/callweaver/modules/cdr_custom.la
lib/callweaver/modules/cdr_manager.la
lib/callweaver/modules/cdr_mysql.la
lib/callweaver/modules/cdr_sqlite3.la
lib/callweaver/modules/chan_agent.la
lib/callweaver/modules/chan_features.la
lib/callweaver/modules/chan_iax2.la
lib/callweaver/modules/chan_local.la
lib/callweaver/modules/chan_mgcp.la
lib/callweaver/modules/chan_sip.la
lib/callweaver/modules/chan_woomera.la
lib/callweaver/modules/codec_a_mu.la
lib/callweaver/modules/codec_alaw.la
lib/callweaver/modules/codec_dvi_adpcm.la
lib/callweaver/modules/codec_g722.la
lib/callweaver/modules/codec_g722_16k_8k.la
lib/callweaver/modules/codec_g726.la
lib/callweaver/modules/codec_gsm.la
lib/callweaver/modules/codec_lpc10.la
lib/callweaver/modules/codec_oki_adpcm.la
lib/callweaver/modules/codec_speex.la
lib/callweaver/modules/codec_ulaw.la
lib/callweaver/modules/format_au.la
lib/callweaver/modules/format_g723_1.la
lib/callweaver/modules/format_g726.la
lib/callweaver/modules/format_g729.la
lib/callweaver/modules/format_gsm.la
lib/callweaver/modules/format_h263.la
lib/callweaver/modules/format_jpeg.la
lib/callweaver/modules/format_pcm.la
lib/callweaver/modules/format_pcm_alaw.la
lib/callweaver/modules/format_sln.la
lib/callweaver/modules/format_wav.la
lib/callweaver/modules/format_wav_gsm.la
lib/callweaver/modules/func_callerid.la
lib/callweaver/modules/func_cdr.la
lib/callweaver/modules/func_config.la
lib/callweaver/modules/func_db.la
lib/callweaver/modules/func_enum.la
lib/callweaver/modules/func_env.la
lib/callweaver/modules/func_fileexists.la
lib/callweaver/modules/func_groupcount.la
lib/callweaver/modules/func_language.la
lib/callweaver/modules/func_logic.la
lib/callweaver/modules/func_math.la
lib/callweaver/modules/func_md5.la
lib/callweaver/modules/func_moh.la
lib/callweaver/modules/func_strings.la
lib/callweaver/modules/func_timeout.la
lib/callweaver/modules/func_uri.la
lib/callweaver/modules/pbx_config.la
lib/callweaver/modules/pbx_dundi.la
lib/callweaver/modules/pbx_loopback.la
lib/callweaver/modules/pbx_realtime.la
lib/callweaver/modules/pbx_spool.la
lib/callweaver/modules/res_adsi.la
lib/callweaver/modules/res_config_mysql.la
lib/callweaver/modules/res_crypto.la
lib/callweaver/modules/res_features.la
lib/callweaver/modules/res_indications.la
lib/callweaver/modules/res_monitor.la
lib/callweaver/modules/res_musiconhold.la
lib/callweaver/modules/res_ogi.la
man/man8/callweaver.8
man/man8/safe_callweaver.8
sbin/callweaver_cli
sbin/safe_callweaver
share/callweaver/ogi/eogi-sphinx-test
share/callweaver/ogi/eogi-test
share/callweaver/ogi/fastogi-test
share/callweaver/ogi/ogi-test.ogi
share/doc/callweaver/CREDITS
share/doc/callweaver/LICENSE
share/doc/callweaver/README
share/examples/callweaver/adsi.conf
share/examples/callweaver/adtranvofr.conf
share/examples/callweaver/agents.conf
share/examples/callweaver/amd.conf
share/examples/callweaver/callweaver.adsi
share/examples/callweaver/callweaver.conf
share/examples/callweaver/cdr.conf
share/examples/callweaver/cdr_custom.conf
share/examples/callweaver/cdr_manager.conf
share/examples/callweaver/cdr_mysql.conf
share/examples/callweaver/cdr_tds.conf
share/examples/callweaver/codecs.conf
share/examples/callweaver/db-memcached.conf
share/examples/callweaver/dnsmgr.conf
share/examples/callweaver/dundi.conf
share/examples/callweaver/enum.conf
share/examples/callweaver/extconfig.conf
share/examples/callweaver/extensions.ael
share/examples/callweaver/extensions.conf
share/examples/callweaver/features.conf
share/examples/callweaver/iax.conf
share/examples/callweaver/indications.conf
share/examples/callweaver/logger.conf
share/examples/callweaver/manager.conf
share/examples/callweaver/meetme.conf
share/examples/callweaver/mgcp.conf
share/examples/callweaver/modem.conf
share/examples/callweaver/modules.conf
share/examples/callweaver/musiconhold.conf
share/examples/callweaver/muted.conf
share/examples/callweaver/osp.conf
share/examples/callweaver/privacy.conf
share/examples/callweaver/queues.conf
share/examples/callweaver/res_mysql.conf
share/examples/callweaver/res_snmp.conf
share/examples/callweaver/rtp.conf
share/examples/callweaver/sip.conf
share/examples/callweaver/sip_notify.conf
share/examples/callweaver/udptl.conf
share/examples/callweaver/voicemail.conf
share/examples/callweaver/woomera.conf
share/examples/rc.d/callweaver
@dirrm share/examples/callweaver
@dirrm share/doc/callweaver
@dirrm share/callweaver/ogi
@exec ${MKDIR} %D/share/callweaver/moh
@dirrm share/callweaver/moh
@exec ${MKDIR} %D/share/callweaver/keys
@dirrm share/callweaver/keys
@exec ${MKDIR} %D/share/callweaver/images
@dirrm share/callweaver/images
@dirrm share/callweaver
@exec ${MKDIR} %D/lib/callweaver/modules/icd
@dirrm lib/callweaver/modules/icd
@dirrm lib/callweaver/modules
@dirrm lib/callweaver
@dirrm include/callweaver

View file

@ -0,0 +1,279 @@
@comment $NetBSD: PLIST.pgsql,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
bin/callweaver
sbin/streamplayer
include/callweaver/acl.h
include/callweaver/adsi.h
include/callweaver/aes.h
include/callweaver/alaw.h
include/callweaver/app.h
include/callweaver/callweaver_db.h
include/callweaver/callweaver_expr.h
include/callweaver/callweaver_hash.h
include/callweaver/callweaver_keywords.h
include/callweaver/callweaver_mm.h
include/callweaver/causes.h
include/callweaver/cdr.h
include/callweaver/chan_capi.h
include/callweaver/chan_capi20.h
include/callweaver/channel.h
include/callweaver/chanvars.h
include/callweaver/cli.h
include/callweaver/compiler.h
include/callweaver/config.h
include/callweaver/crypto.h
include/callweaver/cwobj.h
include/callweaver/devicestate.h
include/callweaver/dlfcn-compat.h
include/callweaver/dns.h
include/callweaver/dnsmgr.h
include/callweaver/dsp.h
include/callweaver/dundi.h
include/callweaver/enum.h
include/callweaver/features.h
include/callweaver/file.h
include/callweaver/frame.h
include/callweaver/generator.h
include/callweaver/generic_jb.h
include/callweaver/image.h
include/callweaver/indications.h
include/callweaver/inline_api.h
include/callweaver/io.h
include/callweaver/linkedlists.h
include/callweaver/localtime.h
include/callweaver/lock.h
include/callweaver/logger.h
include/callweaver/manager.h
include/callweaver/module.h
include/callweaver/monitor.h
include/callweaver/musiconhold.h
include/callweaver/netsock.h
include/callweaver/ogi.h
include/callweaver/options.h
include/callweaver/pbx.h
include/callweaver/phone_no_utils.h
include/callweaver/poll-compat.h
include/callweaver/privacy.h
include/callweaver/res_odbc.h
include/callweaver/resonator.h
include/callweaver/rtp.h
include/callweaver/say.h
include/callweaver/sched.h
include/callweaver/slinfactory.h
include/callweaver/srv.h
include/callweaver/strings.h
include/callweaver/stun.h
include/callweaver/term.h
include/callweaver/time.h
include/callweaver/transcap.h
include/callweaver/translate.h
include/callweaver/udp.h
include/callweaver/udpfromto.h
include/callweaver/udptl.h
include/callweaver/ulaw.h
include/callweaver/unaligned.h
include/callweaver/utils.h
include/callweaver/xlaw.h
lib/callweaver/libcallweaver.la
lib/callweaver/libcwjb.la
lib/callweaver/libcwsqlite3.la
lib/callweaver/modules/app_adsiprog.la
lib/callweaver/modules/app_amd.la
lib/callweaver/modules/app_authenticate.la
lib/callweaver/modules/app_backgrounddetect.la
lib/callweaver/modules/app_backticks.la
lib/callweaver/modules/app_cdr.la
lib/callweaver/modules/app_changrab.la
lib/callweaver/modules/app_chanisavail.la
lib/callweaver/modules/app_chanspy.la
lib/callweaver/modules/app_controlplayback.la
lib/callweaver/modules/app_db.la
lib/callweaver/modules/app_devstate.la
lib/callweaver/modules/app_dial.la
lib/callweaver/modules/app_dictate.la
lib/callweaver/modules/app_directed_pickup.la
lib/callweaver/modules/app_directory.la
lib/callweaver/modules/app_disa.la
lib/callweaver/modules/app_dtmftotext.la
lib/callweaver/modules/app_dumpchan.la
lib/callweaver/modules/app_echo.la
lib/callweaver/modules/app_enumlookup.la
lib/callweaver/modules/app_eval.la
lib/callweaver/modules/app_exec.la
lib/callweaver/modules/app_faxdetect.la
lib/callweaver/modules/app_forkcdr.la
lib/callweaver/modules/app_getcpeid.la
lib/callweaver/modules/app_getdevstate.la
lib/callweaver/modules/app_getextstate.la
lib/callweaver/modules/app_groupcount.la
lib/callweaver/modules/app_hasnewvoicemail.la
lib/callweaver/modules/app_lookupblacklist.la
lib/callweaver/modules/app_lookupcidname.la
lib/callweaver/modules/app_milliwatt.la
lib/callweaver/modules/app_muxmon.la
lib/callweaver/modules/app_nconference.la
lib/callweaver/modules/app_page.la
lib/callweaver/modules/app_pipe.la
lib/callweaver/modules/app_playback.la
lib/callweaver/modules/app_privacy.la
lib/callweaver/modules/app_proc.la
lib/callweaver/modules/app_queue.la
lib/callweaver/modules/app_random.la
lib/callweaver/modules/app_read.la
lib/callweaver/modules/app_record.la
lib/callweaver/modules/app_rxfax.la
lib/callweaver/modules/app_sayunixtime.la
lib/callweaver/modules/app_senddtmf.la
lib/callweaver/modules/app_sendtext.la
lib/callweaver/modules/app_setcallerpres.la
lib/callweaver/modules/app_setcdruserfield.la
lib/callweaver/modules/app_setrdnis.la
lib/callweaver/modules/app_settransfercapability.la
lib/callweaver/modules/app_sms.la
lib/callweaver/modules/app_softhangup.la
lib/callweaver/modules/app_sql_postgres.la
lib/callweaver/modules/app_stack.la
lib/callweaver/modules/app_system.la
lib/callweaver/modules/app_t38gateway.la
lib/callweaver/modules/app_transfer.la
lib/callweaver/modules/app_txfax.la
lib/callweaver/modules/app_userevent.la
lib/callweaver/modules/app_valetparking.la
lib/callweaver/modules/app_verbose.la
lib/callweaver/modules/app_voicemail.la
lib/callweaver/modules/app_waitfordigits.la
lib/callweaver/modules/app_waitforring.la
lib/callweaver/modules/app_waitforsilence.la
lib/callweaver/modules/app_while.la
lib/callweaver/modules/app_zapateller.la
lib/callweaver/modules/cdr_csv.la
lib/callweaver/modules/cdr_custom.la
lib/callweaver/modules/cdr_manager.la
lib/callweaver/modules/cdr_pgsql.la
lib/callweaver/modules/cdr_sqlite3.la
lib/callweaver/modules/chan_agent.la
lib/callweaver/modules/chan_features.la
lib/callweaver/modules/chan_iax2.la
lib/callweaver/modules/chan_local.la
lib/callweaver/modules/chan_mgcp.la
lib/callweaver/modules/chan_sip.la
lib/callweaver/modules/chan_woomera.la
lib/callweaver/modules/codec_a_mu.la
lib/callweaver/modules/codec_alaw.la
lib/callweaver/modules/codec_dvi_adpcm.la
lib/callweaver/modules/codec_g722.la
lib/callweaver/modules/codec_g722_16k_8k.la
lib/callweaver/modules/codec_g726.la
lib/callweaver/modules/codec_gsm.la
lib/callweaver/modules/codec_lpc10.la
lib/callweaver/modules/codec_oki_adpcm.la
lib/callweaver/modules/codec_speex.la
lib/callweaver/modules/codec_ulaw.la
lib/callweaver/modules/format_au.la
lib/callweaver/modules/format_g723_1.la
lib/callweaver/modules/format_g726.la
lib/callweaver/modules/format_g729.la
lib/callweaver/modules/format_gsm.la
lib/callweaver/modules/format_h263.la
lib/callweaver/modules/format_jpeg.la
lib/callweaver/modules/format_pcm.la
lib/callweaver/modules/format_pcm_alaw.la
lib/callweaver/modules/format_sln.la
lib/callweaver/modules/format_wav.la
lib/callweaver/modules/format_wav_gsm.la
lib/callweaver/modules/func_callerid.la
lib/callweaver/modules/func_cdr.la
lib/callweaver/modules/func_config.la
lib/callweaver/modules/func_db.la
lib/callweaver/modules/func_enum.la
lib/callweaver/modules/func_env.la
lib/callweaver/modules/func_fileexists.la
lib/callweaver/modules/func_groupcount.la
lib/callweaver/modules/func_language.la
lib/callweaver/modules/func_logic.la
lib/callweaver/modules/func_math.la
lib/callweaver/modules/func_md5.la
lib/callweaver/modules/func_moh.la
lib/callweaver/modules/func_strings.la
lib/callweaver/modules/func_timeout.la
lib/callweaver/modules/func_uri.la
lib/callweaver/modules/pbx_config.la
lib/callweaver/modules/pbx_dundi.la
lib/callweaver/modules/pbx_loopback.la
lib/callweaver/modules/pbx_realtime.la
lib/callweaver/modules/pbx_spool.la
lib/callweaver/modules/res_adsi.la
lib/callweaver/modules/res_config_pgsql.la
lib/callweaver/modules/res_crypto.la
lib/callweaver/modules/res_features.la
lib/callweaver/modules/res_indications.la
lib/callweaver/modules/res_monitor.la
lib/callweaver/modules/res_musiconhold.la
lib/callweaver/modules/res_ogi.la
man/man8/callweaver.8
man/man8/safe_callweaver.8
sbin/callweaver_cli
sbin/safe_callweaver
share/callweaver/ogi/eogi-sphinx-test
share/callweaver/ogi/eogi-test
share/callweaver/ogi/fastogi-test
share/callweaver/ogi/ogi-test.ogi
share/doc/callweaver/CREDITS
share/doc/callweaver/LICENSE
share/doc/callweaver/README
share/examples/callweaver/adsi.conf
share/examples/callweaver/adtranvofr.conf
share/examples/callweaver/agents.conf
share/examples/callweaver/amd.conf
share/examples/callweaver/callweaver.adsi
share/examples/callweaver/callweaver.conf
share/examples/callweaver/cdr.conf
share/examples/callweaver/cdr_custom.conf
share/examples/callweaver/cdr_manager.conf
share/examples/callweaver/cdr_pgsql.conf
share/examples/callweaver/cdr_tds.conf
share/examples/callweaver/codecs.conf
share/examples/callweaver/db-memcached.conf
share/examples/callweaver/dnsmgr.conf
share/examples/callweaver/dundi.conf
share/examples/callweaver/enum.conf
share/examples/callweaver/extconfig.conf
share/examples/callweaver/extensions.ael
share/examples/callweaver/extensions.conf
share/examples/callweaver/features.conf
share/examples/callweaver/iax.conf
share/examples/callweaver/indications.conf
share/examples/callweaver/logger.conf
share/examples/callweaver/manager.conf
share/examples/callweaver/meetme.conf
share/examples/callweaver/mgcp.conf
share/examples/callweaver/modem.conf
share/examples/callweaver/modules.conf
share/examples/callweaver/musiconhold.conf
share/examples/callweaver/muted.conf
share/examples/callweaver/osp.conf
share/examples/callweaver/privacy.conf
share/examples/callweaver/queues.conf
share/examples/callweaver/res_pgsql.conf
share/examples/callweaver/res_snmp.conf
share/examples/callweaver/rtp.conf
share/examples/callweaver/sip.conf
share/examples/callweaver/sip_notify.conf
share/examples/callweaver/udptl.conf
share/examples/callweaver/voicemail.conf
share/examples/callweaver/woomera.conf
share/examples/rc.d/callweaver
@dirrm share/examples/callweaver
@dirrm share/doc/callweaver
@dirrm share/callweaver/ogi
@exec ${MKDIR} %D/share/callweaver/moh
@dirrm share/callweaver/moh
@exec ${MKDIR} %D/share/callweaver/keys
@dirrm share/callweaver/keys
@exec ${MKDIR} %D/share/callweaver/images
@dirrm share/callweaver/images
@dirrm share/callweaver
@exec ${MKDIR} %D/lib/callweaver/modules/icd
@dirrm lib/callweaver/modules/icd
@dirrm lib/callweaver/modules
@dirrm lib/callweaver
@dirrm include/callweaver

0
callweaver-current/TODO Normal file
View file

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
SHA1 (callweaver-RC-1.1.99.20081210.tar.gz) = 0871d0b65b06db00fdd165cc0a05ca92b7fb8ed5
RMD160 (callweaver-RC-1.1.99.20081210.tar.gz) = e585916132505549254854f4580b86bb56ab59f2
Size (callweaver-RC-1.1.99.20081210.tar.gz) = 5735174 bytes
SHA1 (patch-aa) = 661b7565ab9de1e9c10ba69bb5fe03a186b847c8

View file

@ -0,0 +1,25 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: callweaver.sh,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
#
# PROVIDE: callweaver
# REQUIRE: DAEMON
# KEYWORD: shutdown
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="callweaver"
rcvar=$name
command="@PREFIX@/bin/callweaver"
required_files="@PKG_SYSCONFDIR@/callweaver.conf"
extra_commands="reload"
stop_cmd="callweaver -r -x 'stop gracefully' >/dev/null"
reload_cmd="callweaver -r -x 'reload' >/dev/null"
callweaver_nice="-20"
load_rc_config $name
run_rc_command "$1"

View file

@ -0,0 +1,18 @@
# $NetBSD: options.mk,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.callweaver
PKG_SUPPORTED_OPTIONS= mysql pgsql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmysql)
.include "../../databases/mysql5-client/buildlink3.mk"
PLIST_SRC+= PLIST.mysql
CONFIGURE_ARGS+= --enable-mysql --with-app_sql_mysql --with-cdr_mysql --with-res_config_mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
.include "../../databases/postgresql83-client/buildlink3.mk"
PLIST_SRC+= PLIST.pgsql
CONFIGURE_ARGS+= --enable-postgresql --with-app_sql_postgres --with-cdr_pgsql --with-res_config_pgsql
.endif

View file

@ -0,0 +1,36 @@
$NetBSD: patch-aa,v 1.1.1.1 2008/12/11 18:55:08 x400 Exp $
--- configs/Makefile.in.orig 2008-05-27 02:50:18.000000000 +0400
+++ configs/Makefile.in
@@ -508,24 +508,24 @@
mv musiconhold.conf.sample.tmp musiconhold.conf.sample
install-data-local:
- if [ ! -d "$(DESTDIR)${cwconfdir}" ]; \
+ if [ ! -d "$(DESTDIR)${prefix}/share/examples/callweaver" ]; \
then \
- mkdir -p $(DESTDIR)${cwconfdir}; \
- chmod 0750 $(DESTDIR)${cwconfdir}; \
+ mkdir -p $(DESTDIR)${prefix}/share/examples/callweaver; \
+ chmod 0750 $(DESTDIR)${prefix}/share/examples/callweaver; \
fi; \
if test -z "$(DESTDIR)"; \
then \
- chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${cwconfdir}; \
+ chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${prefix}/share/examples/callweaver; \
fi; \
for samplefile in $(SAMPLES); \
do \
configfile=`basename $${samplefile} .sample`; \
- if test ! -f $(DESTDIR)${cwconfdir}/$${configfile}; \
+ if test ! -f $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
then \
- $(INSTALL) -m 0640 $${samplefile} $(DESTDIR)${cwconfdir}/$${configfile}; \
+ $(INSTALL) -m 0640 $${samplefile} $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
if test -z "$(DESTDIR)"; \
then \
- chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${cwconfdir}/$${configfile}; \
+ chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
fi; \
fi; \
done