The only thing that was missing in stock asterisk was lack of ISDN bri_net_ptmp
signalling that was implemented in asterisk 1.8 and libpri 1.4.11.
This commit is contained in:
parent
a227e3e1d2
commit
46d90ed031
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265331
34 changed files with 2 additions and 10098 deletions
2
MOVED
2
MOVED
|
@ -4688,3 +4688,5 @@ japanese/uim-canna|textproc/uim|2010-11-26|integrated into textproc/uim
|
|||
japanese/uim-prime|textproc/uim|2010-11-26|integrated into textproc/uim
|
||||
www/google_shortcuts|www/xpi-google_shortcuts|2010-11-26|Use www/xpi-google_shortcuts instead
|
||||
x11-toolkits/ruby-gtksourceview||2010-11-27|Removed
|
||||
misc/libpri-bristuff||2010-11-28|Superseded by asterisk 1.8
|
||||
net/asterisk-bristuff||2010-11-28|Superseded by asterisk 1.8
|
||||
|
|
|
@ -345,7 +345,6 @@
|
|||
SUBDIR += libmcal
|
||||
SUBDIR += libmetalink
|
||||
SUBDIR += libpri
|
||||
SUBDIR += libpri-bristuff
|
||||
SUBDIR += libutf
|
||||
SUBDIR += lifelines
|
||||
SUBDIR += lingoteach
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
# New ports collection makefile for: libpri
|
||||
# Date created: 25 Oct 2004
|
||||
# Whom: Alexander Timoshenko <gonzo@univ.kiev.ua>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libpri
|
||||
PORTVERSION= 1.4.3
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/libpri/releases/
|
||||
PKGNAMESUFFIX= -bristuff
|
||||
PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz
|
||||
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
||||
PATCH_SITE_SUBDIR= fjoe
|
||||
PATCH_DIST_STRIP= -p1
|
||||
BRIVER= bristuff-0.4.0-RC3g
|
||||
|
||||
MAINTAINER= fjoe@FreeBSD.org
|
||||
COMMENT= A C implementation of the Primary Rate ISDN specification
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,6 +0,0 @@
|
|||
MD5 (libpri-1.4.3.tar.gz) = c5be91fc98f1638ba0365bf87f696cd1
|
||||
SHA256 (libpri-1.4.3.tar.gz) = aec293708e3f70e0dc6352ac33a6680249c0795a9eb8f31972a95d5e2f41bd69
|
||||
SIZE (libpri-1.4.3.tar.gz) = 81741
|
||||
MD5 (libpri-1.4.3-bristuff-0.4.0-RC3g.patch.gz) = 50aaa72e6a813b7f969880332357e0a6
|
||||
SHA256 (libpri-1.4.3-bristuff-0.4.0-RC3g.patch.gz) = 46ed1818231c08a4995c099e99d283e1bcbb1395ade54c7cc8160fad9d03f5bf
|
||||
SIZE (libpri-1.4.3-bristuff-0.4.0-RC3g.patch.gz) = 44053
|
|
@ -1,65 +0,0 @@
|
|||
--- Makefile.orig 2009-09-09 17:22:54.000000000 +0200
|
||||
+++ Makefile 2009-09-09 17:23:33.000000000 +0200
|
||||
@@ -42,14 +42,14 @@
|
||||
OSARCH=$(shell uname -s)
|
||||
PROC?=$(shell uname -m)
|
||||
|
||||
-STATIC_LIBRARY=libpri.a
|
||||
-DYNAMIC_LIBRARY=libpri.so.1.0
|
||||
+STATIC_LIBRARY=libpri-bristuff.a
|
||||
+DYNAMIC_LIBRARY=libpri-bristuff.so.1
|
||||
STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
|
||||
DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
|
||||
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) $(LAYER2ALWAYSUP) $(FASTBUSYONBUSY) -DRELAX_TRB $(RELAXEDTIMERS)
|
||||
+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS) $(LAYER2ALWAYSUP) $(FASTBUSYONBUSY) -DRELAX_TRB $(RELAXEDTIMERS)
|
||||
INSTALL_PREFIX=$(DESTDIR)
|
||||
INSTALL_BASE=/usr
|
||||
-SOFLAGS = -Wl,-hlibpri.so.1.0
|
||||
+SOFLAGS = -Wl,-hlibpri-bristuff.so.1
|
||||
LDCONFIG = /sbin/ldconfig
|
||||
ifneq (,$(findstring X$(OSARCH)X, XLinuxX XGNU/kFreeBSDX))
|
||||
LDCONFIG_FLAGS=-n
|
||||
@@ -57,7 +57,7 @@
|
||||
ifeq (${OSARCH},FreeBSD)
|
||||
LDCONFIG_FLAGS=-m
|
||||
CFLAGS += -I../zaptel -I../zapata
|
||||
-INSTALL_BASE=/usr/local
|
||||
+INSTALL_BASE=$(PREFIX)
|
||||
endif
|
||||
endif
|
||||
ifeq (${OSARCH},SunOS)
|
||||
@@ -90,12 +90,11 @@
|
||||
mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
|
||||
mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include
|
||||
ifneq (${OSARCH},SunOS)
|
||||
- install -m 644 libpri.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include
|
||||
+ install -m 644 libpri.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include/libpri-bristuff.h
|
||||
install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
|
||||
if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then /sbin/restorecon -v $(INSTALL_PREFIX)$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi
|
||||
- ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.0 libpri.so ; ln -sf libpri.so.1.0 libpri.so.1 )
|
||||
+ ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri-bristuff.so.1 libpri-bristuff.so )
|
||||
install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
|
||||
- if test $$(id -u) = 0; then $(LDCONFIG) $(LDCONFIG_FLAGS) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib; fi
|
||||
else
|
||||
install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include -m 644 libpri.h
|
||||
install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/lib -m 755 $(DYNAMIC_LIBRARY)
|
||||
@@ -111,7 +110,7 @@
|
||||
rm -f $(INSTALL_PREFIX)$(INSTALL_BASE)/lib/libpri.a
|
||||
rm -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include/libpri.h
|
||||
|
||||
-pritest: pritest.o
|
||||
+
|
||||
$(CC) -o pritest pritest.o -L. -lpri -lzap $(CFLAGS)
|
||||
|
||||
testprilib.o: testprilib.c
|
||||
@@ -136,9 +135,7 @@
|
||||
|
||||
$(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
|
||||
$(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS)
|
||||
- $(LDCONFIG) $(LDCONFIG_FLAGS) .
|
||||
- ln -sf libpri.so.1.0 libpri.so
|
||||
- ln -sf libpri.so.1.0 libpri.so.1
|
||||
+ ln -sf libpri-bristuff.so.1 libpri-bristuff.so
|
||||
$(SOSLINK)
|
||||
|
||||
clean:
|
|
@ -1,4 +0,0 @@
|
|||
The libpri is a C implementation of the Primary Rate ISDN specification.
|
||||
It was based on the Bellcore specification SR-NWT-002343 for National
|
||||
ISDN. As of May 12, 2001, it has been tested work with NI-2, Nortel DMS-100,
|
||||
and Lucent 5E C ustom protocols on switches from Nortel and Lucent.
|
|
@ -1,4 +0,0 @@
|
|||
include/libpri-bristuff.h
|
||||
lib/libpri-bristuff.a
|
||||
lib/libpri-bristuff.so
|
||||
lib/libpri-bristuff.so.1
|
|
@ -30,7 +30,6 @@
|
|||
SUBDIR += asterisk
|
||||
SUBDIR += asterisk-app-ldap
|
||||
SUBDIR += asterisk-app-notify
|
||||
SUBDIR += asterisk-bristuff
|
||||
SUBDIR += asterisk-oh323
|
||||
SUBDIR += asterisk12
|
||||
SUBDIR += asterisk12-app-ldap
|
||||
|
|
|
@ -1,214 +0,0 @@
|
|||
# New ports collection makefile for: asterisk
|
||||
# Date created: 17 October 2003
|
||||
# Whom: Maxim Sobolev <sobomax@portaone.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.4.26.2
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
||||
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
||||
PKGNAMESUFFIX= -bristuff
|
||||
PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz:bristuff
|
||||
PATCH_SITES= ${MASTER_SITE_LOCAL:S,$,:bristuff,}
|
||||
PATCH_SITE_SUBDIR= fjoe/:bristuff
|
||||
PATCH_DIST_STRIP= -p1
|
||||
BRIVER= bristuff-0.4.0-RC3g
|
||||
CONFLICTS= asterisk-[0-9]*
|
||||
|
||||
MAINTAINER= fjoe@FreeBSD.org
|
||||
COMMENT= An Open Source PBX and telephony toolkit
|
||||
|
||||
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
|
||||
LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \
|
||||
newt.52:${PORTSDIR}/devel/newt \
|
||||
gsm.1:${PORTSDIR}/audio/gsm \
|
||||
curl.6:${PORTSDIR}/ftp/curl
|
||||
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/openh323" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CONFIGURE_ARGS= --with-gsm=${LOCALBASE}
|
||||
CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323
|
||||
USE_GMAKE= yes
|
||||
USE_BISON= build
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
PWLIBDIR=${LOCALBASE}/share/pwlib \
|
||||
OPENH323DIR=${LOCALBASE}/share/openh323 \
|
||||
OSVERSION=${OSVERSION} \
|
||||
NOISY_BUILD=YES \
|
||||
ASTCFLAGS="${CFLAGS}"
|
||||
MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8
|
||||
CONFLICTS= asterisk*-1.2* asterisk*-1.6*
|
||||
|
||||
OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \
|
||||
ODBC "Enable ODBC support" on \
|
||||
POSTGRES "Enable PostgreSQL support" on \
|
||||
RADIUS "Enable RADIUS accounting support" on \
|
||||
SNMP "Enable SNMP support" on \
|
||||
H323 "Enable H.323 support" on \
|
||||
FREETDS "Enable FreeTDS support" on \
|
||||
JABBER "Enable Jabber and Gtalk support" on \
|
||||
SQLITE "Enable SQLITE support" on \
|
||||
ILBC "Enable iLBC codec" off \
|
||||
MISC_PATCHES "Apply additional patches" off
|
||||
|
||||
# not yet
|
||||
# CODEC_PATCH "Apply codec negotiation patch" off \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
||||
OPTIONS+= ZAPTEL "Enable Zaptel support" on
|
||||
|
||||
# Include this since we have altered OPTIONS.
|
||||
.include "$(PORTSDIR)/Mk/bsd.port.options.mk"
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not install on sparc64: does not create codec_dahdi.so
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_H323)
|
||||
PLIST_SUB+= WITH_H323="@comment "
|
||||
CONFIGURE_ARGS+= --without-h323
|
||||
.else
|
||||
PLIST_SUB+= WITH_H323=""
|
||||
CONFIGURE_ARGS+= --with-h323=${LOCALBASE}
|
||||
LIB_DEPENDS+= pt_r.1:${PORTSDIR}/devel/pwlib \
|
||||
h323_r.1:${PORTSDIR}/net/openh323
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_ZAPTEL)
|
||||
PLIST_SUB+= WITH_ZAPTEL="@comment "
|
||||
CONFIGURE_ARGS+= --without-zaptel --without-dahdi
|
||||
.else
|
||||
PLIST_SUB+= WITH_ZAPTEL=""
|
||||
CONFIGURE_ARGS+= --with-zaptel --without-dahdi
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel
|
||||
LIB_DEPENDS+= pri-bristuff.1:${PORTSDIR}/misc/libpri-bristuff
|
||||
RUN_DEPENDS+= ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel
|
||||
.endif
|
||||
|
||||
#
|
||||
# WITH_FREETDS, WITH_PGSQL and WITH_SQLITE can also be added to MAKE_ENV
|
||||
# similarly
|
||||
.if !defined(WITH_ODBC)
|
||||
PLIST_SUB+= WITH_ODBC="@comment "
|
||||
CONFIGURE_ARGS+= --without-odbc
|
||||
.else
|
||||
PLIST_SUB+= WITH_ODBC=""
|
||||
CONFIGURE_ARGS+= --with-odbc --with-ltdl
|
||||
LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC \
|
||||
ltdl.7:${PORTSDIR}/devel/libltdl22
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_FREETDS)
|
||||
PLIST_SUB+= WITH_FREETDS="@comment "
|
||||
CONFIGURE_ARGS+= --without-tds
|
||||
.else
|
||||
PLIST_SUB+= WITH_FREETDS=""
|
||||
CONFIGURE_ARGS+= --with-tds=${LOCALBASE}
|
||||
LIB_DEPENDS+= tds.5:${PORTSDIR}/databases/freetds
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_POSTGRES)
|
||||
PLIST_SUB+= WITH_POSTGRES="@comment "
|
||||
CONFIGURE_ARGS+= --without-postgres
|
||||
.else
|
||||
PLIST_SUB+= WITH_POSTGRES=""
|
||||
USE_PGSQL= yes
|
||||
CONFIGURE_ARGS+= --with-postgres
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_OGGVORBIS)
|
||||
PLIST_SUB+= WITH_OGGVORBIS="@comment "
|
||||
CONFIGURE_ARGS+= --without-ogg
|
||||
.else
|
||||
PLIST_SUB+= WITH_OGGVORBIS=""
|
||||
CONFIGURE_ARGS+= --with-ogg
|
||||
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_RADIUS)
|
||||
PLIST_SUB+= WITH_RADIUS="@comment "
|
||||
CONFIGURE_ARGS+= --without-radius
|
||||
.else
|
||||
PLIST_SUB+= WITH_RADIUS=""
|
||||
CONFIGURE_ARGS+= --with-radius
|
||||
LIB_DEPENDS+= radiusclient-ng.2:${PORTSDIR}/net/radiusclient
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_SNMP)
|
||||
PLIST_SUB+= WITH_SNMP="@comment "
|
||||
CONFIGURE_ARGS+= --without-netsnmp
|
||||
.else
|
||||
PLIST_SUB+= WITH_SNMP=""
|
||||
CONFIGURE_ARGS+= --with-netsnmp
|
||||
LIB_DEPENDS+= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_JABBER)
|
||||
PLIST_SUB+= WITH_JABBER="@comment "
|
||||
CONFIGURE_ARGS+= --without-iksemel
|
||||
.else
|
||||
PLIST_SUB+= WITH_JABBER=""
|
||||
CONFIGURE_ARGS+= --with-iksemel
|
||||
LIB_DEPENDS+= iksemel.4:${PORTSDIR}/textproc/iksemel
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_SQLITE)
|
||||
PLIST_SUB+= WITH_SQLITE="@comment "
|
||||
CONFIGURE_ARGS+= --without-sqlite
|
||||
.else
|
||||
PLIST_SUB+= WITH_SQLITE=""
|
||||
CONFIGURE_ARGS+= --with-sqlite
|
||||
LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2
|
||||
.endif
|
||||
|
||||
.if !defined(WITH_ILBC)
|
||||
PLIST_SUB+= WITH_ILBC="@comment "
|
||||
.else
|
||||
PLIST_SUB+= WITH_ILBC=""
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/ilbc_enable.diff
|
||||
.endif
|
||||
|
||||
.if defined(WITH_CODEC_PATCH)
|
||||
PATCHFILES+= asterisk-1.4.25-codec-negotiation-20090526.diff.gz
|
||||
PATCH_SITES+= http://b2bua.org/chrome/site/
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/codecnego-patch-Makefile
|
||||
.else
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/nocodecnego-patch-Makefile
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MISC_PATCHES)
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/dtmf_debug.diff
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/sip_force_callid.diff
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/sip_set_auth.diff
|
||||
.if defined(WITH_CODEC_PATCH)
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/rtp_force_dtmf-codecnego.diff
|
||||
.else
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/rtp_force_dtmf-nocodecnego.diff
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${MKDIR} ${WRKSRC}/codecs/ilbc
|
||||
${FIND} ${WRKSRC} -name '*.d' -delete
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
${REINPLACE_CMD} -e 's,^#include <libpri\.h>,#include <libpri-bristuff.h>,' ${WRKSRC}/channels/chan_dahdi.c
|
||||
${REINPLACE_CMD} -e 's,-lpri,-lpri-bristuff,' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,6 +0,0 @@
|
|||
MD5 (asterisk-1.4.26.2.tar.gz) = 58181c29d998f883f567dc9757a04167
|
||||
SHA256 (asterisk-1.4.26.2.tar.gz) = 384e080e359ae28ca9323800a3fa0586210342039b96ecbdced9ea285516efe9
|
||||
SIZE (asterisk-1.4.26.2.tar.gz) = 21436723
|
||||
MD5 (asterisk-1.4.26.2-bristuff-0.4.0-RC3g.patch.gz) = 1e9f8448a1e1e43376c30d6172a7e39d
|
||||
SHA256 (asterisk-1.4.26.2-bristuff-0.4.0-RC3g.patch.gz) = 4dd61ebde6323815d3e82fe2c3738d691322aaf4816f0820042c93470b4dce13
|
||||
SIZE (asterisk-1.4.26.2-bristuff-0.4.0-RC3g.patch.gz) = 69460
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# PROVIDE: asterisk
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable asterisk:
|
||||
#
|
||||
# asterisk_enable="YES"
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
stop_precmd=asterisk_shutdown
|
||||
sig_stop=KILL
|
||||
asterisk_shutdown () {
|
||||
%%PREFIX%%/sbin/asterisk -qrx 'stop now'
|
||||
sleep 1
|
||||
return 0
|
||||
}
|
||||
|
||||
name=asterisk
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=%%PREFIX%%/sbin/asterisk
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
|
||||
|
||||
asterisk_enable=${asterisk_enable:-"NO"}
|
||||
|
||||
run_rc_command "$1"
|
|
@ -1,222 +0,0 @@
|
|||
|
||||
$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/codecnego-patch-Makefile,v 1.1 2009-09-16 19:33:37 fjoe Exp $
|
||||
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -95,7 +95,7 @@
|
||||
OVERWRITE=y
|
||||
|
||||
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
|
||||
-DEBUG=-g3
|
||||
+#DEBUG=-g3
|
||||
|
||||
# Staging directory
|
||||
# Files are copied here temporarily during the install process
|
||||
@@ -129,7 +129,7 @@
|
||||
ASTMANDIR=$(mandir)
|
||||
ifneq ($(findstring BSD,$(OSARCH)),)
|
||||
ASTVARLIBDIR=$(prefix)/share/asterisk
|
||||
- ASTVARRUNDIR=$(localstatedir)/run/asterisk
|
||||
+ ASTVARRUNDIR=$(localstatedir)/run
|
||||
else
|
||||
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
|
||||
endif
|
||||
@@ -219,9 +219,11 @@
|
||||
ASTLDFLAGS+=-L/usr/local/lib
|
||||
endif
|
||||
|
||||
+ifneq ($(OSARCH),FreeBSD)
|
||||
ifneq ($(PROC),ultrasparc)
|
||||
ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
|
||||
endif
|
||||
+endif
|
||||
|
||||
ifeq ($(PROC),ppc)
|
||||
ASTCFLAGS+=-fsigned-char
|
||||
@@ -229,7 +231,7 @@
|
||||
|
||||
ifeq ($(OSARCH),FreeBSD)
|
||||
# -V is understood by BSD Make, not by GNU make.
|
||||
- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
|
||||
+ BSDVERSION=$(OSVERSION)
|
||||
ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
|
||||
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
|
||||
endif
|
||||
@@ -408,15 +410,15 @@
|
||||
# Should static HTTP be installed during make samples or even with its own target ala
|
||||
# webvoicemail? There are portions here that *could* be customized but might also be
|
||||
# improved a lot. I'll put it here for now.
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/static-http
|
||||
for x in static-http/*; do \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
|
||||
done
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/images
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/images
|
||||
for x in images/*.jpg; do \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/images ; \
|
||||
done
|
||||
- mkdir -p $(DESTDIR)$(AGI_DIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(AGI_DIR)
|
||||
$(MAKE) -C sounds install
|
||||
|
||||
update:
|
||||
@@ -437,47 +439,47 @@
|
||||
OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
|
||||
|
||||
installdirs:
|
||||
- mkdir -p $(DESTDIR)$(MODULES_DIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTSBINDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTETCDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTBINDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTVARRUNDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor
|
||||
+ $(MKDIR) $(DESTDIR)$(MODULES_DIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSBINDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTBINDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTVARRUNDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/dictate
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/system
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/tmp
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/meetme
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/monitor
|
||||
|
||||
bininstall: _all installdirs $(SUBDIRS_INSTALL)
|
||||
- $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/
|
||||
+ $(BSD_INSTALL_PROGRAM) main/asterisk $(DESTDIR)$(ASTSBINDIR)/
|
||||
$(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk
|
||||
- $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
|
||||
- $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
|
||||
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
|
||||
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
|
||||
if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
|
||||
- cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
|
||||
- chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
|
||||
+ cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > contrib/scripts/safe_asterisk.out;\
|
||||
+ ${BSD_INSTALL_SCRIPT} contrib/scripts/safe_asterisk.out $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
|
||||
fi
|
||||
- $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR)
|
||||
- $(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir)
|
||||
- $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTHEADERDIR)
|
||||
+ $(BSD_INSTALL_DATA) include/asterisk.h $(DESTDIR)$(includedir)
|
||||
+ $(BSD_INSTALL_DATA) include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
|
||||
if [ -n "$(OLDHEADERS)" ]; then \
|
||||
rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
|
||||
fi
|
||||
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv
|
||||
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/keys
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax
|
||||
- mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
- $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-csv
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-custom
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/keys
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware/iax
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_DATA) keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
+ $(BSD_INSTALL_DATA) keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
+ $(BSD_INSTALL_MAN) doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_MAN) contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_MAN) contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_MAN) contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
|
||||
- $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
|
||||
+ $(BSD_INSTALL_DATA) contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
|
||||
fi
|
||||
|
||||
$(SUBDIRS_INSTALL):
|
||||
@@ -513,7 +515,7 @@
|
||||
@exit 1
|
||||
endif
|
||||
|
||||
-install: badshell datafiles bininstall
|
||||
+install: badshell datafiles bininstall samples
|
||||
@if [ -x /usr/sbin/asterisk-post-install ]; then \
|
||||
/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
|
||||
fi
|
||||
@@ -551,31 +553,23 @@
|
||||
upgrade: bininstall
|
||||
|
||||
adsi:
|
||||
- mkdir -p $(DESTDIR)$(ASTETCDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
|
||||
for x in configs/*.adsi; do \
|
||||
if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
|
||||
fi ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`-dist ; \
|
||||
done
|
||||
|
||||
samples: adsi
|
||||
- mkdir -p $(DESTDIR)$(ASTETCDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
|
||||
for x in configs/*.sample; do \
|
||||
- if [ -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
|
||||
- if [ "$(OVERWRITE)" = "y" ]; then \
|
||||
- if cmp -s $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $$x ; then \
|
||||
- echo "Config file $$x is unchanged"; \
|
||||
- continue; \
|
||||
- fi ; \
|
||||
- mv -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.old ; \
|
||||
- else \
|
||||
- echo "Skipping config file $$x"; \
|
||||
- continue; \
|
||||
- fi ;\
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ;\
|
||||
+ if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`;\
|
||||
fi ; \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ;\
|
||||
done
|
||||
- if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
|
||||
+ if true; then \
|
||||
( \
|
||||
echo "[directories]" ; \
|
||||
echo "astetcdir => $(ASTETCDIR)" ; \
|
||||
@@ -662,20 +656,23 @@
|
||||
echo "; Default: strict"; \
|
||||
echo ";"; \
|
||||
echo ";translation_algorithm = strict"; \
|
||||
- ) > $(DESTDIR)$(ASTCONFPATH) ; \
|
||||
+ ) > $(DESTDIR)$(ASTCONFPATH)-dist ; \
|
||||
+ if [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
|
||||
+ cp $(DESTDIR)$(ASTCONFPATH)-dist $(DESTDIR)$(ASTCONFPATH); \
|
||||
+ fi; \
|
||||
else \
|
||||
echo "Skipping asterisk.conf creation"; \
|
||||
fi
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
|
||||
build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR)
|
||||
|
||||
webvmail:
|
||||
@[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
|
||||
@[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
|
||||
$(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi
|
||||
- mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
|
||||
+ $(MKDIR) $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
|
||||
for x in images/*.gif; do \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
|
||||
done
|
||||
@echo " +--------- Asterisk Web Voicemail ----------+"
|
||||
@echo " + +"
|
|
@ -1,226 +0,0 @@
|
|||
--- channels/chan_sip.c.orig 2009-05-12 21:18:44.000000000 +0300
|
||||
+++ channels/chan_sip.c 2009-05-26 12:50:22.000000000 +0300
|
||||
@@ -3891,6 +3891,7 @@
|
||||
ast_log(LOG_WARNING, "old channel wasn't %p but was %p\n", oldchan, p->owner);
|
||||
else {
|
||||
p->owner = newchan;
|
||||
+ ast_rtp_set_chan_name(p->rtp, newchan->name);
|
||||
/* Re-invite RTP back to Asterisk. Needed if channel is masqueraded out of a native
|
||||
RTP bridge (i.e., RTP not going through Asterisk): RTP bridge code might not be
|
||||
able to do this if the masquerade happens before the bridge breaks (e.g., AMI
|
||||
@@ -4168,6 +4169,7 @@
|
||||
if (i->rtp) {
|
||||
tmp->fds[0] = ast_rtp_fd(i->rtp);
|
||||
tmp->fds[1] = ast_rtcp_fd(i->rtp);
|
||||
+ ast_rtp_set_chan_id(i->rtp, i->callid);
|
||||
}
|
||||
if (needvideo && i->vrtp) {
|
||||
tmp->fds[2] = ast_rtp_fd(i->vrtp);
|
||||
@@ -4195,6 +4197,8 @@
|
||||
if (!ast_strlen_zero(i->language))
|
||||
ast_string_field_set(tmp, language, i->language);
|
||||
i->owner = tmp;
|
||||
+ ast_rtp_set_chan_name(i->rtp, tmp->name);
|
||||
+
|
||||
ast_module_ref(ast_module_info->self);
|
||||
ast_copy_string(tmp->context, i->context, sizeof(tmp->context));
|
||||
/*Since it is valid to have extensions in the dialplan that have unescaped characters in them
|
||||
@@ -4621,8 +4625,10 @@
|
||||
build_via(p);
|
||||
if (!callid)
|
||||
build_callid_pvt(p);
|
||||
- else
|
||||
+ else {
|
||||
ast_string_field_set(p, callid, callid);
|
||||
+ ast_rtp_set_chan_id(p->rtp, p->callid);
|
||||
+ }
|
||||
/* Assign default music on hold class */
|
||||
ast_string_field_set(p, mohinterpret, default_mohinterpret);
|
||||
ast_string_field_set(p, mohsuggest, default_mohsuggest);
|
||||
--- include/asterisk/rtp.h.orig 2008-03-04 20:05:28.000000000 +0200
|
||||
+++ include/asterisk/rtp.h 2009-05-26 12:50:22.000000000 +0300
|
||||
@@ -243,6 +243,9 @@
|
||||
|
||||
int ast_rtp_codec_getformat(int pt);
|
||||
|
||||
+void ast_rtp_set_chan_name(struct ast_rtp *, const char *);
|
||||
+void ast_rtp_set_chan_id(struct ast_rtp *, const char *);
|
||||
+
|
||||
/*! \brief Set rtp timeout */
|
||||
void ast_rtp_set_rtptimeout(struct ast_rtp *rtp, int timeout);
|
||||
/*! \brief Set rtp hold timeout */
|
||||
--- main/rtp.c.orig 2009-05-13 16:38:01.000000000 +0300
|
||||
+++ main/rtp.c 2009-05-26 12:52:30.000000000 +0300
|
||||
@@ -80,6 +80,7 @@
|
||||
static int rtpstart; /*!< First port for RTP sessions (set in rtp.conf) */
|
||||
static int rtpend; /*!< Last port for RTP sessions (set in rtp.conf) */
|
||||
static int rtpdebug; /*!< Are we debugging? */
|
||||
+static int rtpdebugdtmf; /*!< Are we debugging DTMFs? */
|
||||
static int rtcpdebug; /*!< Are we debugging RTCP? */
|
||||
static int rtcpstats; /*!< Are we debugging RTCP? */
|
||||
static int rtcpinterval = RTCP_DEFAULT_INTERVALMS; /*!< Time between rtcp reports in millisecs */
|
||||
@@ -173,6 +174,8 @@
|
||||
struct ast_codec_pref pref;
|
||||
struct ast_rtp *bridged; /*!< Who we are Packet bridged to */
|
||||
int set_marker_bit:1; /*!< Whether to set the marker bit or not */
|
||||
+ char chan_name[100];
|
||||
+ char chan_id[100];
|
||||
};
|
||||
|
||||
/* Forward declarations */
|
||||
@@ -673,8 +676,8 @@
|
||||
struct ast_frame *f = NULL;
|
||||
event = ntohl(*((unsigned int *)(data)));
|
||||
event &= 0x001F;
|
||||
- if (option_debug > 2 || rtpdebug)
|
||||
- ast_log(LOG_DEBUG, "Cisco DTMF Digit: %08x (len = %d)\n", event, len);
|
||||
+ if (option_debug > 2 || rtpdebug || rtpdebugdtmf)
|
||||
+ ast_log(LOG_DEBUG, "Channel: %s %s Cisco DTMF packet: %08x (len = %d)\n", rtp->chan_name, rtp->chan_id, event, len);
|
||||
if (event < 10) {
|
||||
resp = '0' + event;
|
||||
} else if (event < 11) {
|
||||
@@ -688,12 +691,25 @@
|
||||
}
|
||||
if (rtp->resp && (rtp->resp != resp)) {
|
||||
f = send_dtmf(rtp, AST_FRAME_DTMF_END);
|
||||
+ ast_log(LOG_DEBUG, "Channel: %s %s Cisco DTMF event: %c\n", rtp->chan_name, rtp->chan_id, rtp->resp);
|
||||
}
|
||||
rtp->resp = resp;
|
||||
rtp->dtmf_timeout = 0;
|
||||
return f;
|
||||
}
|
||||
|
||||
+void ast_rtp_set_chan_id(struct ast_rtp *rtp, const char *chan_id) {
|
||||
+ if (rtp == NULL || chan_id == NULL)
|
||||
+ return;
|
||||
+ snprintf(rtp->chan_id, sizeof(rtp->chan_id), "%s", chan_id);
|
||||
+}
|
||||
+
|
||||
+void ast_rtp_set_chan_name(struct ast_rtp *rtp, const char *chan_name) {
|
||||
+ if (rtp == NULL || chan_name == NULL)
|
||||
+ return;
|
||||
+ snprintf(rtp->chan_name, sizeof(rtp->chan_name), "%s", chan_name);
|
||||
+}
|
||||
+
|
||||
/*!
|
||||
* \brief Process RTP DTMF and events according to RFC 2833.
|
||||
*
|
||||
@@ -1090,6 +1106,10 @@
|
||||
struct rtpPayloadType rtpPT;
|
||||
int reconstruct = ntohl(rtpheader[0]);
|
||||
|
||||
+ /* If we are listening for DTMF - then feed all packets into the core to keep the RTP stream consistent when relaying DTMFs */
|
||||
+ if (ast_test_flag(rtp, FLAG_P2P_NEED_DTMF))
|
||||
+ return -1;
|
||||
+
|
||||
/* Get fields from packet */
|
||||
payload = (reconstruct & 0x7f0000) >> 16;
|
||||
mark = (((reconstruct & 0x800000) >> 23) != 0);
|
||||
@@ -1097,10 +1117,6 @@
|
||||
/* Check what the payload value should be */
|
||||
rtpPT = ast_rtp_lookup_pt(rtp, payload);
|
||||
|
||||
- /* If the payload is DTMF, and we are listening for DTMF - then feed it into the core */
|
||||
- if (ast_test_flag(rtp, FLAG_P2P_NEED_DTMF) && !rtpPT.isAstFormat && rtpPT.code == AST_RTP_DTMF)
|
||||
- return -1;
|
||||
-
|
||||
/* Otherwise adjust bridged payload to match */
|
||||
bridged_payload = ast_rtp_lookup_code(bridged, rtpPT.isAstFormat, rtpPT.code);
|
||||
|
||||
@@ -1293,11 +1309,12 @@
|
||||
/* This is special in-band data that's not one of our codecs */
|
||||
if (rtpPT.code == AST_RTP_DTMF) {
|
||||
/* It's special -- rfc2833 process it */
|
||||
- if (rtp_debug_test_addr(&sin)) {
|
||||
+ if (rtp_debug_test_addr(&sin) || rtpdebugdtmf) {
|
||||
unsigned char *data;
|
||||
unsigned int event;
|
||||
unsigned int event_end;
|
||||
unsigned int duration;
|
||||
+
|
||||
data = rtp->rawdata + AST_FRIENDLY_OFFSET + hdrlen;
|
||||
event = ntohl(*((unsigned int *)(data)));
|
||||
event >>= 24;
|
||||
@@ -1306,9 +1323,12 @@
|
||||
event_end >>= 24;
|
||||
duration = ntohl(*((unsigned int *)(data)));
|
||||
duration &= 0xFFFF;
|
||||
- ast_verbose("Got RTP RFC2833 from %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u, mark %d, event %08x, end %d, duration %-5.5d) \n", ast_inet_ntoa(sin.sin_addr), ntohs(sin.sin_port), payloadtype, seqno, timestamp, res - hdrlen, (mark?1:0), event, ((event_end & 0x80)?1:0), duration);
|
||||
+
|
||||
+ ast_verbose("Channel: %s %s Got RTP RFC2833 from %s:%u to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u, mark %d, event %08x, end %d, duration %-5.5d)\n", rtp->chan_name, rtp->chan_id, ast_inet_ntoa(sin.sin_addr), ntohs(sin.sin_port), ast_inet_ntoa(rtp->us.sin_addr), ntohs(rtp->us.sin_port), payloadtype, seqno, timestamp, res - hdrlen, (mark?1:0), event, ((event_end & 0x80)?1:0), duration);
|
||||
}
|
||||
f = process_rfc2833(rtp, rtp->rawdata + AST_FRIENDLY_OFFSET + hdrlen, res - hdrlen, seqno, timestamp);
|
||||
+ if (rtpdebugdtmf && f)
|
||||
+ ast_verbose("Channel: %s %s Got RFC2833 DTMF event %c of type %s\n", rtp->chan_name, rtp->chan_id, f->subclass, (f->frametype == AST_FRAME_DTMF_BEGIN ? "DTMF BEGIN" : (f->frametype == AST_FRAME_DTMF_END ? "DTMF_END" : "UNKNOWN")));
|
||||
} else if (rtpPT.code == AST_RTP_CISCO_DTMF) {
|
||||
/* It's really special -- process it the Cisco way */
|
||||
if (rtp->lastevent <= seqno || (rtp->lastevent >= 65530 && seqno <= 6)) {
|
||||
@@ -2272,8 +2292,9 @@
|
||||
ast_log(LOG_ERROR, "RTP Transmission error to %s:%u: %s\n",
|
||||
ast_inet_ntoa(rtp->them.sin_addr),
|
||||
ntohs(rtp->them.sin_port), strerror(errno));
|
||||
- if (rtp_debug_test_addr(&rtp->them))
|
||||
- ast_verbose("Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
|
||||
+ if (rtp_debug_test_addr(&rtp->them) || rtpdebugdtmf)
|
||||
+ ast_verbose("Channel: %s %s Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
|
||||
+ rtp->chan_name, rtp->chan_id,
|
||||
ast_inet_ntoa(rtp->them.sin_addr),
|
||||
ntohs(rtp->them.sin_port), payload, rtp->seqno, rtp->lastdigitts, res - hdrlen);
|
||||
/* Increment sequence number */
|
||||
@@ -2316,8 +2337,9 @@
|
||||
ast_log(LOG_ERROR, "RTP Transmission error to %s:%d: %s\n",
|
||||
ast_inet_ntoa(rtp->them.sin_addr),
|
||||
ntohs(rtp->them.sin_port), strerror(errno));
|
||||
- if (rtp_debug_test_addr(&rtp->them))
|
||||
- ast_verbose("Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
|
||||
+ if (rtp_debug_test_addr(&rtp->them) || rtpdebugdtmf)
|
||||
+ ast_verbose("Channel: %s %s Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
|
||||
+ rtp->chan_name, rtp->chan_id,
|
||||
ast_inet_ntoa(rtp->them.sin_addr),
|
||||
ntohs(rtp->them.sin_port), rtp->send_payload, rtp->seqno, rtp->lastdigitts, res - hdrlen);
|
||||
|
||||
@@ -3609,6 +3631,16 @@
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
+static int rtp_do_debug_dtmf(int fd, int argc, char *argv[])
|
||||
+{
|
||||
+ if (argc != 3)
|
||||
+ return RESULT_SHOWUSAGE;
|
||||
+
|
||||
+ rtpdebugdtmf = 1;
|
||||
+ ast_cli(fd, "RTP DTMF debugging enabled\n");
|
||||
+ return RESULT_SUCCESS;
|
||||
+}
|
||||
+
|
||||
static int rtp_do_debug(int fd, int argc, char *argv[])
|
||||
{
|
||||
if (argc != 2) {
|
||||
@@ -3669,6 +3701,7 @@
|
||||
if (argc != 3)
|
||||
return RESULT_SHOWUSAGE;
|
||||
rtpdebug = 0;
|
||||
+ rtpdebugdtmf = 0;
|
||||
ast_cli(fd,"RTP Debugging Disabled\n");
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
@@ -3729,7 +3762,7 @@
|
||||
}
|
||||
|
||||
static char debug_usage[] =
|
||||
- "Usage: rtp debug [ip host[:port]]\n"
|
||||
+ "Usage: rtp debug [ip host[:port] | dtmf]\n"
|
||||
" Enable dumping of all RTP packets to and from host.\n";
|
||||
|
||||
static char no_debug_usage[] =
|
||||
@@ -3804,6 +3837,10 @@
|
||||
rtp_do_debug, "Enable RTP debugging",
|
||||
debug_usage },
|
||||
|
||||
+ { { "rtp", "debug", "dtmf", NULL },
|
||||
+ rtp_do_debug_dtmf, "Enable RTP debugging on DTMFs",
|
||||
+ debug_usage },
|
||||
+
|
||||
{ { "rtp", "debug", "off", NULL },
|
||||
rtp_no_debug, "Disable RTP debugging",
|
||||
no_debug_usage, NULL, &cli_rtp_no_debug_deprecated },
|
File diff suppressed because it is too large
Load diff
|
@ -1,219 +0,0 @@
|
|||
--- Makefile.orig 2008-11-29 08:58:29.000000000 -0800
|
||||
+++ Makefile 2009-02-05 17:05:39.000000000 -0800
|
||||
@@ -95,7 +95,7 @@
|
||||
OVERWRITE=y
|
||||
|
||||
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
|
||||
-DEBUG=-g3
|
||||
+#DEBUG=-g3
|
||||
|
||||
# Staging directory
|
||||
# Files are copied here temporarily during the install process
|
||||
@@ -129,7 +129,7 @@
|
||||
ASTMANDIR=$(mandir)
|
||||
ifneq ($(findstring BSD,$(OSARCH)),)
|
||||
ASTVARLIBDIR=$(prefix)/share/asterisk
|
||||
- ASTVARRUNDIR=$(localstatedir)/run/asterisk
|
||||
+ ASTVARRUNDIR=$(localstatedir)/run
|
||||
else
|
||||
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
|
||||
endif
|
||||
@@ -219,9 +219,11 @@
|
||||
ASTLDFLAGS+=-L/usr/local/lib
|
||||
endif
|
||||
|
||||
+ifneq ($(OSARCH),FreeBSD)
|
||||
ifneq ($(PROC),ultrasparc)
|
||||
ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
|
||||
endif
|
||||
+endif
|
||||
|
||||
ifeq ($(PROC),ppc)
|
||||
ASTCFLAGS+=-fsigned-char
|
||||
@@ -229,7 +231,7 @@
|
||||
|
||||
ifeq ($(OSARCH),FreeBSD)
|
||||
# -V is understood by BSD Make, not by GNU make.
|
||||
- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
|
||||
+ BSDVERSION=$(OSVERSION)
|
||||
ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
|
||||
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
|
||||
endif
|
||||
@@ -408,15 +410,15 @@
|
||||
# Should static HTTP be installed during make samples or even with its own target ala
|
||||
# webvoicemail? There are portions here that *could* be customized but might also be
|
||||
# improved a lot. I'll put it here for now.
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/static-http
|
||||
for x in static-http/*; do \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
|
||||
done
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/images
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/images
|
||||
for x in images/*.jpg; do \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/images ; \
|
||||
done
|
||||
- mkdir -p $(DESTDIR)$(AGI_DIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(AGI_DIR)
|
||||
$(MAKE) -C sounds install
|
||||
|
||||
update:
|
||||
@@ -437,47 +439,47 @@
|
||||
OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
|
||||
|
||||
installdirs:
|
||||
- mkdir -p $(DESTDIR)$(MODULES_DIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTSBINDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTETCDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTBINDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTVARRUNDIR)
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor
|
||||
+ $(MKDIR) $(DESTDIR)$(MODULES_DIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSBINDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTBINDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTVARRUNDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/dictate
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/system
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/tmp
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/meetme
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/monitor
|
||||
|
||||
bininstall: _all installdirs $(SUBDIRS_INSTALL)
|
||||
- $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/
|
||||
+ $(BSD_INSTALL_PROGRAM) main/asterisk $(DESTDIR)$(ASTSBINDIR)/
|
||||
$(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk
|
||||
- $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
|
||||
- $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
|
||||
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
|
||||
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
|
||||
if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
|
||||
- cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
|
||||
- chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
|
||||
+ cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > contrib/scripts/safe_asterisk.out;\
|
||||
+ ${BSD_INSTALL_SCRIPT} contrib/scripts/safe_asterisk.out $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
|
||||
fi
|
||||
- $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR)
|
||||
- $(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir)
|
||||
- $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTHEADERDIR)
|
||||
+ $(BSD_INSTALL_DATA) include/asterisk.h $(DESTDIR)$(includedir)
|
||||
+ $(BSD_INSTALL_DATA) include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
|
||||
if [ -n "$(OLDHEADERS)" ]; then \
|
||||
rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
|
||||
fi
|
||||
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv
|
||||
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/keys
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware
|
||||
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax
|
||||
- mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
- $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
- $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-csv
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-custom
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/keys
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware/iax
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_DATA) keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
+ $(BSD_INSTALL_DATA) keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
|
||||
+ $(BSD_INSTALL_MAN) doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_MAN) contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_MAN) contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
+ $(BSD_INSTALL_MAN) contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
|
||||
if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
|
||||
- $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
|
||||
+ $(BSD_INSTALL_DATA) contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
|
||||
fi
|
||||
|
||||
$(SUBDIRS_INSTALL):
|
||||
@@ -513,7 +515,7 @@
|
||||
@exit 1
|
||||
endif
|
||||
|
||||
-install: badshell datafiles bininstall
|
||||
+install: badshell datafiles bininstall samples
|
||||
@if [ -x /usr/sbin/asterisk-post-install ]; then \
|
||||
/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
|
||||
fi
|
||||
@@ -551,31 +553,23 @@
|
||||
upgrade: bininstall
|
||||
|
||||
adsi:
|
||||
- mkdir -p $(DESTDIR)$(ASTETCDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
|
||||
for x in configs/*.adsi; do \
|
||||
if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
|
||||
fi ; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`-dist ; \
|
||||
done
|
||||
|
||||
samples: adsi
|
||||
- mkdir -p $(DESTDIR)$(ASTETCDIR)
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
|
||||
for x in configs/*.sample; do \
|
||||
- if [ -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
|
||||
- if [ "$(OVERWRITE)" = "y" ]; then \
|
||||
- if cmp -s $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $$x ; then \
|
||||
- echo "Config file $$x is unchanged"; \
|
||||
- continue; \
|
||||
- fi ; \
|
||||
- mv -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.old ; \
|
||||
- else \
|
||||
- echo "Skipping config file $$x"; \
|
||||
- continue; \
|
||||
- fi ;\
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ;\
|
||||
+ if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`;\
|
||||
fi ; \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ;\
|
||||
done
|
||||
- if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
|
||||
+ if true; then \
|
||||
( \
|
||||
echo "[directories]" ; \
|
||||
echo "astetcdir => $(ASTETCDIR)" ; \
|
||||
@@ -621,20 +615,23 @@
|
||||
echo ";astctlowner = root" ; \
|
||||
echo ";astctlgroup = apache" ; \
|
||||
echo ";astctl = asterisk.ctl" ; \
|
||||
- ) > $(DESTDIR)$(ASTCONFPATH) ; \
|
||||
+ ) > $(DESTDIR)$(ASTCONFPATH)-dist ; \
|
||||
+ if [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
|
||||
+ cp $(DESTDIR)$(ASTCONFPATH)-dist $(DESTDIR)$(ASTCONFPATH); \
|
||||
+ fi; \
|
||||
else \
|
||||
echo "Skipping asterisk.conf creation"; \
|
||||
fi
|
||||
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
|
||||
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
|
||||
build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR)
|
||||
|
||||
webvmail:
|
||||
@[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
|
||||
@[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
|
||||
$(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi
|
||||
- mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
|
||||
+ $(MKDIR) $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
|
||||
for x in images/*.gif; do \
|
||||
- $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
|
||||
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
|
||||
done
|
||||
@echo " +--------- Asterisk Web Voicemail ----------+"
|
||||
@echo " + +"
|
|
@ -1,11 +0,0 @@
|
|||
--- Makefile.orig 2009-10-18 21:42:27.000000000 +0700
|
||||
+++ Makefile 2009-10-18 21:43:06.000000000 +0700
|
||||
@@ -406,7 +406,7 @@
|
||||
rm -f build_tools/menuselect-deps
|
||||
|
||||
datafiles: _all
|
||||
- if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
|
||||
+ #if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" bash build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
|
||||
# Should static HTTP be installed during make samples or even with its own target ala
|
||||
# webvoicemail? There are portions here that *could* be customized but might also be
|
||||
# improved a lot. I'll put it here for now.
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/patch-Makefile.rules,v 1.1 2009-09-16 19:33:37 fjoe Exp $
|
||||
|
||||
--- Makefile.rules
|
||||
+++ Makefile.rules
|
||||
@@ -27,6 +27,7 @@
|
||||
CMD_PREFIX=
|
||||
endif
|
||||
|
||||
+ifneq ($(OSARCH),FreeBSD)
|
||||
ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
|
||||
# More GSM codec optimization
|
||||
# Uncomment to enable MMXTM optimizations for x86 architecture CPU's
|
||||
@@ -37,6 +38,7 @@
|
||||
OPTIMIZE?=-O6
|
||||
ASTCFLAGS+=$(OPTIMIZE)
|
||||
endif
|
||||
+endif
|
||||
|
||||
%.o: %.c
|
||||
$(ECHO_PREFIX) echo " [CC] $< -> $@"
|
|
@ -1,25 +0,0 @@
|
|||
--- agi/Makefile.orig Sat Dec 16 23:14:34 2006
|
||||
+++ agi/Makefile Wed Mar 28 11:13:21 2007
|
||||
@@ -13,7 +13,9 @@
|
||||
|
||||
.PHONY: clean all uninstall
|
||||
|
||||
-AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi xagi-test
|
||||
+AGIS_BIN=eagi-test eagi-sphinx-test xagi-test
|
||||
+AGIS_SCR=agi-test.agi jukebox.agi
|
||||
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
|
||||
|
||||
ifeq ($(OSARCH),SunOS)
|
||||
LIBS+=-lsocket -lnsl
|
||||
@@ -31,8 +33,9 @@ eagi-test: eagi-test.o strcompat.o
|
||||
eagi-sphinx-test: eagi-sphinx-test.o
|
||||
|
||||
install: all
|
||||
- mkdir -p $(DESTDIR)$(AGI_DIR)
|
||||
- for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done
|
||||
+ $(MKDIR) -p $(DESTDIR)$(AGI_DIR)
|
||||
+ for x in $(AGIS_BIN); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(AGI_DIR) ; done
|
||||
+ for x in $(AGIS_SCR); do $(BSD_INSTALL_SCRIPT) $$x $(DESTDIR)$(AGI_DIR) ; done
|
||||
|
||||
uninstall:
|
||||
for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done
|
|
@ -1,51 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- channels/Makefile.orig
|
||||
+++ channels/Makefile
|
||||
@@ -32,9 +32,10 @@
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH),FreeBSD)
|
||||
- PTLIB=-lpt_FreeBSD_x86_r
|
||||
- H323LIB=-lh323_FreeBSD_x86_r
|
||||
+ PTLIB=-lpt_r
|
||||
+ H323LIB=-lh323_r
|
||||
CHANH323LIB=-pthread
|
||||
+ H323LDLIBS=$(PTLIB) $(H323LIB) $(CHANH323LIB)
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH),NetBSD)
|
||||
@@ -78,12 +79,13 @@
|
||||
h323/libchanh323.a h323/Makefile.ast:
|
||||
$(CMD_PREFIX) $(MAKE) -C h323
|
||||
$(CMD_PREFIX) rm -f ../main/asterisk
|
||||
- $(CMD_PREFIX) echo "***************************************************************"
|
||||
- $(CMD_PREFIX) echo
|
||||
- $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********"
|
||||
- $(CMD_PREFIX) echo
|
||||
- $(CMD_PREFIX) echo "***************************************************************"
|
||||
- $(CMD_PREFIX) exit 1
|
||||
+ $(CMD_PREFIX) $(MAKE) -C . chan_h323.so
|
||||
+# $(CMD_PREFIX) echo "***************************************************************"
|
||||
+# $(CMD_PREFIX) echo
|
||||
+# $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********"
|
||||
+# $(CMD_PREFIX) echo
|
||||
+# $(CMD_PREFIX) echo "***************************************************************"
|
||||
+# $(CMD_PREFIX) exit 1
|
||||
endif
|
||||
|
||||
dist-clean::
|
||||
@@ -113,8 +115,12 @@
|
||||
else
|
||||
chan_h323.so: chan_h323.o h323/libchanh323.a
|
||||
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
|
||||
+ifeq ($(OSARCH),FreeBSD)
|
||||
+ $(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK) $(H323LDFLAGS) -o $@ $< h323/libchanh323.a $(H323LDLIBS) $(CHANH323LIB)
|
||||
+else
|
||||
$(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat
|
||||
endif
|
||||
+endif
|
||||
|
||||
chan_misdn.o: ASTCFLAGS+=-Imisdn
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- channels/chan_sip.c.orig 2008-06-10 00:46:46.000000000 -0700
|
||||
+++ channels/chan_sip.c 2008-06-10 00:46:46.000000000 -0700
|
||||
@@ -496,7 +496,7 @@
|
||||
#define DEFAULT_MOHINTERPRET "default"
|
||||
#define DEFAULT_MOHSUGGEST ""
|
||||
#define DEFAULT_VMEXTEN "asterisk"
|
||||
-#define DEFAULT_CALLERID "asterisk"
|
||||
+#define DEFAULT_CALLERID "Unknown"
|
||||
#define DEFAULT_NOTIFYMIME "application/simple-message-summary"
|
||||
#define DEFAULT_MWITIME 10
|
||||
#define DEFAULT_ALLOWGUEST TRUE
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/patch-channels_h323_Makefile.in,v 1.1 2009-09-16 19:33:37 fjoe Exp $
|
||||
|
||||
--- channels/h323/Makefile.in
|
||||
+++ channels/h323/Makefile.in
|
||||
@@ -13,7 +13,7 @@
|
||||
STDCCFLAGS += -I../../include -include ../../include/asterisk/autoconfig.h
|
||||
STDCCFLAGS += -fPIC
|
||||
#OPTCCFLAGS +=
|
||||
-CFLAGS = -pipe
|
||||
+CFLAGS = -pipe @CXXFLAGS@
|
||||
TARGET = libchanh323.a
|
||||
TARGET += Makefile.ast
|
||||
SOURCES = ast_h323.cxx compat_h323.cxx cisco-h225.cxx caps_h323.cxx
|
|
@ -1,36 +0,0 @@
|
|||
--- configure.orig 2009-04-27 22:29:46.000000000 +0300
|
||||
+++ configure 2009-05-26 12:59:22.000000000 +0300
|
||||
@@ -4064,8 +4064,6 @@
|
||||
case "${host_os}" in
|
||||
freebsd*)
|
||||
ac_default_prefix=/usr/local
|
||||
- CPPFLAGS=-I/usr/local/include
|
||||
- LDFLAGS=-L/usr/local/lib
|
||||
;;
|
||||
darwin*)
|
||||
|
||||
@@ -27145,7 +27143,7 @@
|
||||
|
||||
fi
|
||||
|
||||
- PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
|
||||
+ PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}"
|
||||
|
||||
if test "${HAS_OPENH323:-unset}" != "unset"; then
|
||||
{ $as_echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5
|
||||
@@ -31624,6 +31622,7 @@
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
$ac_includes_default
|
||||
+#include <ptlib.h>
|
||||
#include <h323.h>
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext
|
||||
@@ -31665,6 +31664,7 @@
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
+#include <ptlib.h>
|
||||
#include <h323.h>
|
||||
_ACEOF
|
||||
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- include/asterisk/utils.h 2004/10/10 12:55:50 1.1
|
||||
+++ include/asterisk/utils.h 2004/10/10 12:56:43
|
||||
@@ -37,7 +37,6 @@
|
||||
#ifdef inet_ntoa
|
||||
#undef inet_ntoa
|
||||
#endif
|
||||
-#define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__
|
||||
|
||||
#ifdef LINUX
|
||||
#define ast_pthread_create pthread_create
|
|
@ -1,36 +0,0 @@
|
|||
--- main/Makefile.orig 2009-04-09 07:31:38.000000000 +0300
|
||||
+++ main/Makefile 2009-05-26 13:07:50.000000000 +0300
|
||||
@@ -92,8 +92,8 @@
|
||||
cd editline && test -f config.h || CFLAGS="$(PTHREAD_CFLAGS) $(subst $(ASTTOPDIR),../../,$(ASTCFLAGS:-Werror=))" LDFLAGS="$(ASTLDFLAGS)" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --with-ncurses=$(NCURSES_DIR) --with-curses=$(CURSES_DIR) --with-termcap=$(TERMCAP_DIR) --with-tinfo=$(TINFO_DIR)
|
||||
$(MAKE) -C editline libedit.a
|
||||
|
||||
-db1-ast/libdb1.a:
|
||||
- CFLAGS="$(subst $(ASTTOPDIR),../../,$(ASTCFLAGS))" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a
|
||||
+#db1-ast/libdb1.a:
|
||||
+# CFLAGS="$(subst $(ASTTOPDIR),../../,$(ASTCFLAGS))" LDFLAGS="$(ASTLDFLAGS)" $(MAKE) -C db1-ast libdb1.a
|
||||
|
||||
ast_expr2.c ast_expr2.h:
|
||||
bison -o $@ -d --name-prefix=ast_yy ast_expr2.y
|
||||
@@ -127,18 +127,18 @@
|
||||
H323LDLIBS=
|
||||
endif
|
||||
|
||||
-asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) asterisk.exports
|
||||
+asterisk: $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) asterisk.exports
|
||||
@$(ASTTOPDIR)/build_tools/make_build_h > $(ASTTOPDIR)/include/asterisk/build.h.tmp
|
||||
@if cmp -s $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; then echo ; else \
|
||||
mv $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; \
|
||||
fi
|
||||
@rm -f $(ASTTOPDIR)/include/asterisk/build.h.tmp
|
||||
@$(CC) -c -o buildinfo.o $(ASTCFLAGS) buildinfo.c
|
||||
- $(ECHO_PREFIX) echo " [LD] $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) -> $@"
|
||||
+ $(ECHO_PREFIX) echo " [LD] $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) -> $@"
|
||||
ifneq ($(findstring chan_h323,$(MENUSELECT_CHANNELS)),)
|
||||
- $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS)
|
||||
+ $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS)
|
||||
else
|
||||
- $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
|
||||
+ $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
|
||||
endif
|
||||
|
||||
clean::
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/patch-main::db.c,v 1.1 2009-09-16 19:33:37 fjoe Exp $
|
||||
|
||||
--- main/db.c.orig Fri Jan 13 11:05:32 2006
|
||||
+++ main/db.c Fri Jan 13 11:06:55 2006
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
+#include <db.h>
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
@@ -51,7 +52,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
|
||||
#include "asterisk/utils.h"
|
||||
#include "asterisk/lock.h"
|
||||
#include "asterisk/manager.h"
|
||||
-#include "db1-ast/include/db.h"
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#define dbopen __dbopen
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/patch-main::frame.c,v 1.1 2009-09-16 19:33:37 fjoe Exp $
|
||||
|
||||
--- main/frame.c.orig Wed Jan 25 13:22:43 2006
|
||||
+++ main/frame.c Wed Jan 25 13:21:25 2006
|
||||
@@ -1170,7 +1170,7 @@ static int g723_len(unsigned char buf)
|
||||
{
|
||||
switch(buf & TYPE_MASK) {
|
||||
case TYPE_DONTSEND:
|
||||
- return 0;
|
||||
+ return 2;
|
||||
break;
|
||||
case TYPE_SILENCE:
|
||||
return 4;
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/patch-main::utils.c,v 1.1 2009-09-16 19:33:37 fjoe Exp $
|
||||
|
||||
--- main/utils.c.orig
|
||||
+++ main/utils.c
|
||||
@@ -914,8 +914,8 @@
|
||||
pthread_attr_init(attr);
|
||||
}
|
||||
|
||||
-#ifdef __linux__
|
||||
- /* On Linux, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
|
||||
+#if defined(__linux__) || defined(__FreeBSD__)
|
||||
+ /* On Linux and FreeBSD, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
|
||||
which is kind of useless. Change this here to
|
||||
PTHREAD_INHERIT_SCHED; that way the -p option to set realtime
|
||||
priority will propagate down to new threads by default.
|
|
@ -1,25 +0,0 @@
|
|||
--- channels/chan_sip.c.orig 2009-04-14 08:58:13.000000000 +0100
|
||||
+++ channels/chan_sip.c 2009-04-14 09:00:58.000000000 +0100
|
||||
@@ -16287,7 +16287,6 @@
|
||||
restartsearch:
|
||||
/* Check for interfaces needing to be killed */
|
||||
ast_mutex_lock(&iflock);
|
||||
- t = time(NULL);
|
||||
/* don't scan the interface list if it hasn't been a reasonable period
|
||||
of time since the last time we did it (when MWI is being sent, we can
|
||||
get back to this point every millisecond or less)
|
||||
@@ -16306,12 +16305,14 @@
|
||||
(sip->owner->_state == AST_STATE_UP) &&
|
||||
!sip->redirip.sin_addr.s_addr &&
|
||||
sip->t38.state != T38_ENABLED) {
|
||||
+ t = time(NULL);
|
||||
if (sip->lastrtptx &&
|
||||
ast_rtp_get_rtpkeepalive(sip->rtp) &&
|
||||
(t > sip->lastrtptx + ast_rtp_get_rtpkeepalive(sip->rtp))) {
|
||||
/* Need to send an empty RTP packet */
|
||||
sip->lastrtptx = time(NULL);
|
||||
ast_rtp_sendcng(sip->rtp, 0);
|
||||
+ t = time(NULL);
|
||||
}
|
||||
if (sip->lastrtprx &&
|
||||
(ast_rtp_get_rtptimeout(sip->rtp) || ast_rtp_get_rtpholdtimeout(sip->rtp)) &&
|
|
@ -1,86 +0,0 @@
|
|||
--- channels/chan_sip.c.orig 2008-03-12 17:37:00.000000000 +0200
|
||||
+++ channels/chan_sip.c 2008-03-12 18:17:33.000000000 +0200
|
||||
@@ -554,6 +554,9 @@
|
||||
static unsigned int global_tos_sip; /*!< IP type of service for SIP packets */
|
||||
static unsigned int global_tos_audio; /*!< IP type of service for audio RTP packets */
|
||||
static unsigned int global_tos_video; /*!< IP type of service for video RTP packets */
|
||||
+static int global_force_dtmf_relay = 0;
|
||||
+static int global_force_dtmf_relay_pt = 101;
|
||||
+
|
||||
static int compactheaders; /*!< send compact sip headers */
|
||||
static int recordhistory; /*!< Record SIP history. Off by default */
|
||||
static int dumphistory; /*!< Dump history to verbose before destroying SIP dialog */
|
||||
@@ -4983,6 +4986,8 @@
|
||||
int codec_index = 0;
|
||||
int codec_pt_order[256];
|
||||
|
||||
+ int dtmf_present = 0;
|
||||
+
|
||||
if (!p->rtp) {
|
||||
ast_log(LOG_ERROR, "Got SDP but have no RTP session allocated.\n");
|
||||
return -1;
|
||||
@@ -5408,12 +5413,20 @@
|
||||
for (x = 0; x < codec_index; ++x) {
|
||||
struct rtpPayloadType pt;
|
||||
pt = ast_rtp_lookup_pt(p->rtp, codec_pt_order[x]);
|
||||
+ if (pt.code == AST_RTP_DTMF)
|
||||
+ dtmf_present = 1;
|
||||
if (!pt.isAstFormat && !pt.code && p->vrtp)
|
||||
pt = ast_rtp_lookup_pt(p->vrtp, codec_pt_order[x]);
|
||||
if (pt.isAstFormat)
|
||||
ast_codec_pref_append(&p->formats, pt.code);
|
||||
}
|
||||
ast_codec_pref_remove2(&p->formats, ~p->usercapability);
|
||||
+ if (!dtmf_present && global_force_dtmf_relay) {
|
||||
+ newnoncodeccapability |= AST_RTP_DTMF;
|
||||
+ ast_rtp_set_m_type(newaudiortp, global_force_dtmf_relay_pt);
|
||||
+ codec_pt_order[codec_index++] = global_force_dtmf_relay_pt;
|
||||
+ ast_rtp_set_rtpmap_type(newaudiortp, global_force_dtmf_relay_pt, "audio", "telephone-event", 0);
|
||||
+ }
|
||||
|
||||
/* Now gather all of the codecs that we are asked for: */
|
||||
ast_rtp_get_current_formats(newaudiortp, &peercapability, &peernoncodeccapability);
|
||||
@@ -16845,6 +16858,9 @@
|
||||
|
||||
global_matchexterniplocally = FALSE;
|
||||
|
||||
+ global_force_dtmf_relay = 0;
|
||||
+ global_force_dtmf_relay_pt = 101;
|
||||
+
|
||||
/* Copy the default jb config over global_jbconf */
|
||||
memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));
|
||||
|
||||
@@ -16901,6 +16917,18 @@
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "vmexten")) {
|
||||
ast_copy_string(default_vmexten, v->value, sizeof(default_vmexten));
|
||||
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay")) {
|
||||
+ if ((global_force_dtmf_relay = ast_true(v->value)))
|
||||
+ ast_verbose("RTP DTMF relaying will be enforced\n");
|
||||
+ else
|
||||
+ ast_verbose("RTP DTMF relaying will not be enforced\n");
|
||||
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay_pt")) {
|
||||
+ sscanf(v->value, "%d", &global_force_dtmf_relay_pt);
|
||||
+ if (global_force_dtmf_relay_pt < 96 || global_force_dtmf_relay_pt > 255) {
|
||||
+ ast_verbose("RTP forced DTMF relay payload type is not valid: %d. Using default (101)\n", global_force_dtmf_relay_pt);
|
||||
+ global_force_dtmf_relay_pt = 101;
|
||||
+ } else
|
||||
+ ast_log(LOG_WARNING, "RTP forced DTMF relay payload type is %d\n", global_force_dtmf_relay_pt);
|
||||
} else if (!strcasecmp(v->name, "rtptimeout")) {
|
||||
if ((sscanf(v->value, "%d", &global_rtptimeout) != 1) || (global_rtptimeout < 0)) {
|
||||
ast_log(LOG_WARNING, "'%s' is not a valid RTP hold time at line %d. Using default.\n", v->value, v->lineno);
|
||||
--- configs/sip.conf.sample.orig 2008-04-25 08:53:52.000000000 -0700
|
||||
+++ configs/sip.conf.sample 2008-06-10 00:45:37.000000000 -0700
|
||||
@@ -53,6 +53,12 @@
|
||||
; and multiline formatted headers for strict
|
||||
; SIP compatibility (defaults to "no")
|
||||
|
||||
+;rtp_force_dtmf_relay=no ; Enable RFC2833 DTMFs to be sent even if peer
|
||||
+ ; hasn't announced support for it. Default: no
|
||||
+
|
||||
+;rtp_force_dtmf_relay_pt=101 ; RTP payload type value for enforced RFC2833
|
||||
+ ; DTMFs. Default: 101
|
||||
+
|
||||
; See doc/ip-tos.txt for a description of these parameters.
|
||||
;tos_sip=cs3 ; Sets TOS for SIP packets.
|
||||
;tos_audio=ef ; Sets TOS for RTP audio packets.
|
|
@ -1,70 +0,0 @@
|
|||
--- channels/chan_sip.c.orig 2008-09-09 00:10:10.000000000 +0300
|
||||
+++ channels/chan_sip.c 2008-12-12 17:02:05.000000000 +0200
|
||||
@@ -557,6 +557,9 @@
|
||||
static unsigned int global_tos_sip; /*!< IP type of service for SIP packets */
|
||||
static unsigned int global_tos_audio; /*!< IP type of service for audio RTP packets */
|
||||
static unsigned int global_tos_video; /*!< IP type of service for video RTP packets */
|
||||
+static int global_force_dtmf_relay = 0;
|
||||
+static int global_force_dtmf_relay_pt = 101;
|
||||
+
|
||||
static int compactheaders; /*!< send compact sip headers */
|
||||
static int recordhistory; /*!< Record SIP history. Off by default */
|
||||
static int dumphistory; /*!< Dump history to verbose before destroying SIP dialog */
|
||||
@@ -5504,6 +5507,13 @@
|
||||
|
||||
/* Now gather all of the codecs that we are asked for: */
|
||||
ast_rtp_get_current_formats(newaudiortp, &peercapability, &peernoncodeccapability);
|
||||
+ /* Add telephone-event */
|
||||
+ if (global_force_dtmf_relay && !(peernoncodeccapability & AST_RTP_DTMF)) {
|
||||
+ ast_rtp_set_m_type(newaudiortp, global_force_dtmf_relay_pt);
|
||||
+ found_rtpmap_codecs[last_rtpmap_codec++] = global_force_dtmf_relay_pt;
|
||||
+ ast_rtp_set_rtpmap_type(newaudiortp, global_force_dtmf_relay_pt, "audio", "telephone-event", 0);
|
||||
+ peernoncodeccapability |= AST_RTP_DTMF;
|
||||
+ }
|
||||
ast_rtp_get_current_formats(newvideortp, &vpeercapability, &vpeernoncodeccapability);
|
||||
|
||||
newjointcapability = p->capability & (peercapability | vpeercapability);
|
||||
@@ -17440,6 +17450,9 @@
|
||||
|
||||
global_matchexterniplocally = FALSE;
|
||||
|
||||
+ global_force_dtmf_relay = 0;
|
||||
+ global_force_dtmf_relay_pt = 101;
|
||||
+
|
||||
/* Copy the default jb config over global_jbconf */
|
||||
memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));
|
||||
|
||||
@@ -17496,6 +17509,18 @@
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "vmexten")) {
|
||||
ast_copy_string(default_vmexten, v->value, sizeof(default_vmexten));
|
||||
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay")) {
|
||||
+ if ((global_force_dtmf_relay = ast_true(v->value)))
|
||||
+ ast_verbose("RTP DTMF relaying will be enforced\n");
|
||||
+ else
|
||||
+ ast_verbose("RTP DTMF relaying will not be enforced\n");
|
||||
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay_pt")) {
|
||||
+ sscanf(v->value, "%d", &global_force_dtmf_relay_pt);
|
||||
+ if (global_force_dtmf_relay_pt < 96 || global_force_dtmf_relay_pt > 255) {
|
||||
+ ast_verbose("RTP forced DTMF relay payload type is not valid: %d. Using default (101)\n", global_force_dtmf_relay_pt);
|
||||
+ global_force_dtmf_relay_pt = 101;
|
||||
+ } else
|
||||
+ ast_log(LOG_WARNING, "RTP forced DTMF relay payload type is %d\n", global_force_dtmf_relay_pt);
|
||||
} else if (!strcasecmp(v->name, "rtptimeout")) {
|
||||
if ((sscanf(v->value, "%d", &global_rtptimeout) != 1) || (global_rtptimeout < 0)) {
|
||||
ast_log(LOG_WARNING, "'%s' is not a valid RTP hold time at line %d. Using default.\n", v->value, v->lineno);
|
||||
--- configs/sip.conf.sample.orig 2008-08-16 01:33:42.000000000 +0300
|
||||
+++ configs/sip.conf.sample 2008-12-12 17:03:11.000000000 +0200
|
||||
@@ -49,6 +49,12 @@
|
||||
; and multiline formatted headers for strict
|
||||
; SIP compatibility (defaults to "no")
|
||||
|
||||
+;rtp_force_dtmf_relay=no ; Enable RFC2833 DTMFs to be sent even if peer
|
||||
+ ; hasn't announced support for it. Default: no
|
||||
+
|
||||
+;rtp_force_dtmf_relay_pt=101 ; RTP payload type value for enforced RFC2833
|
||||
+ ; DTMFs. Default: 101
|
||||
+
|
||||
; See doc/ip-tos.txt for a description of these parameters.
|
||||
;tos_sip=cs3 ; Sets TOS for SIP packets.
|
||||
;tos_audio=ef ; Sets TOS for RTP audio packets.
|
|
@ -1,11 +0,0 @@
|
|||
--- channels/chan_sip.c.orig 2009-05-12 21:18:44.000000000 +0300
|
||||
+++ channels/chan_sip.c 2009-05-26 12:58:10.000000000 +0300
|
||||
@@ -3061,6 +3061,8 @@
|
||||
} else if (!strcasecmp(ast_var_name(current), "SIPTRANSFER_REPLACES")) {
|
||||
/* We're replacing a call. */
|
||||
p->options->replaces = ast_var_value(current);
|
||||
+ } else if (!strcasecmp(ast_var_name(current), "SIP_FORCE_CALLID")) {
|
||||
+ ast_string_field_set(p, callid, ast_var_value(current));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
--- channels/chan_sip.c.orig 2008-04-29 08:21:05.000000000 -0400
|
||||
+++ channels/chan_sip.c 2008-05-28 18:41:48.000000000 -0400
|
||||
@@ -15962,6 +15978,9 @@
|
||||
char *number = NULL;
|
||||
int strip = 0;
|
||||
int ton = 0; /* 0 local, 1 national, 2 international */
|
||||
+ char *secret = NULL;
|
||||
+ char *md5secret = NULL;
|
||||
+ char *authname = NULL;
|
||||
|
||||
if (!(p = sip_alloc(NULL, NULL, 0, SIP_INVITE))) {
|
||||
ast_log(LOG_ERROR, "Unable to build sip pvt data for '%s' (Out of memory or socket error)\n", (char *)data);
|
||||
@@ -15983,6 +16002,17 @@
|
||||
if (host) {
|
||||
*host++ = '\0';
|
||||
ext = tmp;
|
||||
+ secret = strchr(ext, ':');
|
||||
+ if (secret) {
|
||||
+ *secret++ = '\0';
|
||||
+ md5secret = strchr(secret, ':');
|
||||
+ if (md5secret) {
|
||||
+ *md5secret++ = '\0';
|
||||
+ authname = strchr(md5secret, ':');
|
||||
+ if (authname)
|
||||
+ *authname++ = '\0';
|
||||
+ }
|
||||
+ }
|
||||
} else {
|
||||
ext = strchr(tmp, '/');
|
||||
if (ext)
|
||||
@@ -16015,6 +16045,14 @@
|
||||
ast_string_field_set(p, username, ext);
|
||||
ast_string_field_free(p, fullcontact);
|
||||
}
|
||||
+ if (secret && !ast_strlen_zero(secret))
|
||||
+ ast_string_field_set(p, peersecret, secret);
|
||||
+
|
||||
+ if (md5secret && !ast_strlen_zero(md5secret))
|
||||
+ ast_string_field_set(p, peermd5secret, md5secret);
|
||||
+
|
||||
+ if (authname && !ast_strlen_zero(authname))
|
||||
+ ast_string_field_set(p, authname, authname);
|
||||
#if 0
|
||||
printf("Setting up to call extension '%s' at '%s'\n", ext ? ext : "<none>", host);
|
||||
#endif
|
|
@ -1,5 +0,0 @@
|
|||
Asterisk is an Open Source PBX and telephony toolkit. It is, in a
|
||||
sense, middleware between Internet and telephony channels on the bottom,
|
||||
and Internet and telephony applications at the top.
|
||||
|
||||
WWW: http://www.asteriskpbx.com
|
|
@ -1,962 +0,0 @@
|
|||
@unexec if cmp -s %D/etc/asterisk/adsi.conf %D/etc/asterisk/adsi.conf-dist; then rm -f %D/etc/asterisk/adsi.conf; fi
|
||||
etc/asterisk/adsi.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/adtranvofr.conf %D/etc/asterisk/adtranvofr.conf-dist; then rm -f %D/etc/asterisk/adtranvofr.conf; fi
|
||||
etc/asterisk/adtranvofr.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/agents.conf %D/etc/asterisk/agents.conf-dist; then rm -f %D/etc/asterisk/agents.conf; fi
|
||||
etc/asterisk/agents.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/alarmreceiver.conf %D/etc/asterisk/alarmreceiver.conf-dist; then rm -f %D/etc/asterisk/alarmreceiver.conf; fi
|
||||
etc/asterisk/alarmreceiver.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/alsa.conf %D/etc/asterisk/alsa.conf-dist; then rm -f %D/etc/asterisk/alsa.conf; fi
|
||||
etc/asterisk/alsa.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/asterisk.adsi %D/etc/asterisk/asterisk.adsi-dist; then rm -f %D/etc/asterisk/asterisk.adsi; fi
|
||||
etc/asterisk/asterisk.adsi-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
|
||||
etc/asterisk/asterisk.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
|
||||
etc/asterisk/cdr.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/cdr_custom.conf %D/etc/asterisk/cdr_custom.conf-dist; then rm -f %D/etc/asterisk/cdr_custom.conf; fi
|
||||
etc/asterisk/cdr_custom.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/cdr_manager.conf %D/etc/asterisk/cdr_manager.conf-dist; then rm -f %D/etc/asterisk/cdr_manager.conf; fi
|
||||
etc/asterisk/cdr_manager.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/cdr_odbc.conf %D/etc/asterisk/cdr_odbc.conf-dist; then rm -f %D/etc/asterisk/cdr_odbc.conf; fi
|
||||
etc/asterisk/cdr_odbc.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/cdr_pgsql.conf %D/etc/asterisk/cdr_pgsql.conf-dist; then rm -f %D/etc/asterisk/cdr_pgsql.conf; fi
|
||||
etc/asterisk/cdr_pgsql.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/cdr_tds.conf %D/etc/asterisk/cdr_tds.conf-dist; then rm -f %D/etc/asterisk/cdr_tds.conf; fi
|
||||
etc/asterisk/cdr_tds.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/codecs.conf %D/etc/asterisk/codecs.conf-dist; then rm -f %D/etc/asterisk/codecs.conf; fi
|
||||
etc/asterisk/codecs.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/dnsmgr.conf %D/etc/asterisk/dnsmgr.conf-dist; then rm -f %D/etc/asterisk/dnsmgr.conf; fi
|
||||
etc/asterisk/dnsmgr.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/dundi.conf %D/etc/asterisk/dundi.conf-dist; then rm -f %D/etc/asterisk/dundi.conf; fi
|
||||
etc/asterisk/dundi.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
|
||||
etc/asterisk/enum.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
|
||||
etc/asterisk/extconfig.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
|
||||
etc/asterisk/extensions.ael-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
|
||||
etc/asterisk/extensions.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/features.conf %D/etc/asterisk/features.conf-dist; then rm -f %D/etc/asterisk/features.conf; fi
|
||||
etc/asterisk/features.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/festival.conf %D/etc/asterisk/festival.conf-dist; then rm -f %D/etc/asterisk/festival.conf; fi
|
||||
etc/asterisk/festival.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/iax.conf %D/etc/asterisk/iax.conf-dist; then rm -f %D/etc/asterisk/iax.conf; fi
|
||||
etc/asterisk/iax.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/iaxprov.conf %D/etc/asterisk/iaxprov.conf-dist; then rm -f %D/etc/asterisk/iaxprov.conf; fi
|
||||
etc/asterisk/iaxprov.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/indications.conf %D/etc/asterisk/indications.conf-dist; then rm -f %D/etc/asterisk/indications.conf; fi
|
||||
etc/asterisk/indications.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/logger.conf %D/etc/asterisk/logger.conf-dist; then rm -f %D/etc/asterisk/logger.conf; fi
|
||||
etc/asterisk/logger.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/manager.conf %D/etc/asterisk/manager.conf-dist; then rm -f %D/etc/asterisk/manager.conf; fi
|
||||
etc/asterisk/manager.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/meetme.conf %D/etc/asterisk/meetme.conf-dist; then rm -f %D/etc/asterisk/meetme.conf; fi
|
||||
etc/asterisk/meetme.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/mgcp.conf %D/etc/asterisk/mgcp.conf-dist; then rm -f %D/etc/asterisk/mgcp.conf; fi
|
||||
etc/asterisk/mgcp.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/misdn.conf %D/etc/asterisk/misdn.conf-dist; then rm -f %D/etc/asterisk/misdn.conf; fi
|
||||
etc/asterisk/misdn.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/modules.conf %D/etc/asterisk/modules.conf-dist; then rm -f %D/etc/asterisk/modules.conf; fi
|
||||
etc/asterisk/modules.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/musiconhold.conf %D/etc/asterisk/musiconhold.conf-dist; then rm -f %D/etc/asterisk/musiconhold.conf; fi
|
||||
etc/asterisk/musiconhold.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/osp.conf %D/etc/asterisk/osp.conf-dist; then rm -f %D/etc/asterisk/osp.conf; fi
|
||||
etc/asterisk/osp.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/oss.conf %D/etc/asterisk/oss.conf-dist; then rm -f %D/etc/asterisk/oss.conf; fi
|
||||
etc/asterisk/oss.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/phone.conf %D/etc/asterisk/phone.conf-dist; then rm -f %D/etc/asterisk/phone.conf; fi
|
||||
etc/asterisk/phone.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/privacy.conf %D/etc/asterisk/privacy.conf-dist; then rm -f %D/etc/asterisk/privacy.conf; fi
|
||||
etc/asterisk/privacy.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/queues.conf %D/etc/asterisk/queues.conf-dist; then rm -f %D/etc/asterisk/queues.conf; fi
|
||||
etc/asterisk/queues.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/res_pgsql.conf %D/etc/asterisk/res_pgsql.conf-dist; then rm -f %D/etc/asterisk/res_pgsql.conf; fi
|
||||
etc/asterisk/res_pgsql.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/res_odbc.conf %D/etc/asterisk/res_odbc.conf-dist; then rm -f %D/etc/asterisk/res_odbc.conf; fi
|
||||
etc/asterisk/res_odbc.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/rpt.conf %D/etc/asterisk/rpt.conf-dist; then rm -f %D/etc/asterisk/rpt.conf; fi
|
||||
etc/asterisk/rpt.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/rtp.conf %D/etc/asterisk/rtp.conf-dist; then rm -f %D/etc/asterisk/rtp.conf; fi
|
||||
etc/asterisk/rtp.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/sip.conf %D/etc/asterisk/sip.conf-dist; then rm -f %D/etc/asterisk/sip.conf; fi
|
||||
etc/asterisk/sip.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/sip_notify.conf %D/etc/asterisk/sip_notify.conf-dist; then rm -f %D/etc/asterisk/sip_notify.conf; fi
|
||||
etc/asterisk/sip_notify.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/skinny.conf %D/etc/asterisk/skinny.conf-dist; then rm -f %D/etc/asterisk/skinny.conf; fi
|
||||
etc/asterisk/skinny.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/telcordia-1.adsi %D/etc/asterisk/telcordia-1.adsi-dist; then rm -f %D/etc/asterisk/telcordia-1.adsi; fi
|
||||
etc/asterisk/telcordia-1.adsi-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/voicemail.conf %D/etc/asterisk/voicemail.conf-dist; then rm -f %D/etc/asterisk/voicemail.conf; fi
|
||||
etc/asterisk/voicemail.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
|
||||
etc/asterisk/vpb.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/chan_dahdi.conf %D/etc/asterisk/chan_dahdi.conf-dist; then rm -f %D/etc/asterisk/chan_dahdi.conf; fi
|
||||
etc/asterisk/chan_dahdi.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/udptl.conf %D/etc/asterisk/udptl.conf-dist; then rm -f %D/etc/asterisk/udptl.conf; fi
|
||||
etc/asterisk/udptl.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/users.conf %D/etc/asterisk/users.conf-dist; then rm -f %D/etc/asterisk/users.conf; fi
|
||||
etc/asterisk/users.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/smdi.conf %D/etc/asterisk/smdi.conf-dist; then rm -f %D/etc/asterisk/smdi.conf; fi
|
||||
etc/asterisk/smdi.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/sla.conf %D/etc/asterisk/sla.conf-dist; then rm -f %D/etc/asterisk/sla.conf; fi
|
||||
etc/asterisk/sla.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/say.conf %D/etc/asterisk/say.conf-dist; then rm -f %D/etc/asterisk/say.conf; fi
|
||||
etc/asterisk/say.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/res_snmp.conf %D/etc/asterisk/res_snmp.conf-dist; then rm -f %D/etc/asterisk/res_snmp.conf; fi
|
||||
etc/asterisk/res_snmp.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/muted.conf %D/etc/asterisk/muted.conf-dist; then rm -f %D/etc/asterisk/muted.conf; fi
|
||||
etc/asterisk/muted.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/jabber.conf %D/etc/asterisk/jabber.conf-dist; then rm -f %D/etc/asterisk/jabber.conf; fi
|
||||
etc/asterisk/jabber.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/http.conf %D/etc/asterisk/http.conf-dist; then rm -f %D/etc/asterisk/http.conf; fi
|
||||
etc/asterisk/http.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/h323.conf %D/etc/asterisk/h323.conf-dist; then rm -f %D/etc/asterisk/h323.conf; fi
|
||||
etc/asterisk/h323.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/gtalk.conf %D/etc/asterisk/gtalk.conf-dist; then rm -f %D/etc/asterisk/gtalk.conf; fi
|
||||
etc/asterisk/gtalk.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/func_odbc.conf %D/etc/asterisk/func_odbc.conf-dist; then rm -f %D/etc/asterisk/func_odbc.conf; fi
|
||||
etc/asterisk/func_odbc.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/followme.conf %D/etc/asterisk/followme.conf-dist; then rm -f %D/etc/asterisk/followme.conf; fi
|
||||
etc/asterisk/followme.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/amd.conf %D/etc/asterisk/amd.conf-dist; then rm -f %D/etc/asterisk/amd.conf; fi
|
||||
etc/asterisk/amd.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/esel.conf %D/etc/asterisk/esel.conf-dist; then rm -f %D/etc/asterisk/esel.conf; fi
|
||||
etc/asterisk/esel.conf-dist
|
||||
@unexec if cmp -s %D/etc/asterisk/watchdog.conf %D/etc/asterisk/watchdog.conf-dist; then rm -f %D/etc/asterisk/watchdog.conf; fi
|
||||
etc/asterisk/watchdog.conf-dist
|
||||
@exec if test ! -e %D/etc/asterisk/adsi.conf; then cp -p %D/etc/asterisk/adsi.conf-dist %D/etc/asterisk/adsi.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/adtranvofr.conf; then cp -p %D/etc/asterisk/adtranvofr.conf-dist %D/etc/asterisk/adtranvofr.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/agents.conf; then cp -p %D/etc/asterisk/agents.conf-dist %D/etc/asterisk/agents.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/alarmreceiver.conf; then cp -p %D/etc/asterisk/alarmreceiver.conf-dist %D/etc/asterisk/alarmreceiver.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/alsa.conf; then cp -p %D/etc/asterisk/alsa.conf-dist %D/etc/asterisk/alsa.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/asterisk.adsi; then cp -p %D/etc/asterisk/asterisk.adsi-dist %D/etc/asterisk/asterisk.adsi; fi
|
||||
@exec if test ! -e %D/etc/asterisk/asterisk.conf; then cp -p %D/etc/asterisk/asterisk.conf-dist %D/etc/asterisk/asterisk.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/cdr.conf; then cp -p %D/etc/asterisk/cdr.conf-dist %D/etc/asterisk/cdr.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/cdr_custom.conf; then cp -p %D/etc/asterisk/cdr_custom.conf-dist %D/etc/asterisk/cdr_custom.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/cdr_manager.conf; then cp -p %D/etc/asterisk/cdr_manager.conf-dist %D/etc/asterisk/cdr_manager.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/cdr_odbc.conf; then cp -p %D/etc/asterisk/cdr_odbc.conf-dist %D/etc/asterisk/cdr_odbc.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/cdr_pgsql.conf; then cp -p %D/etc/asterisk/cdr_pgsql.conf-dist %D/etc/asterisk/cdr_pgsql.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/cdr_tds.conf; then cp -p %D/etc/asterisk/cdr_tds.conf-dist %D/etc/asterisk/cdr_tds.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/codecs.conf; then cp -p %D/etc/asterisk/codecs.conf-dist %D/etc/asterisk/codecs.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/dnsmgr.conf; then cp -p %D/etc/asterisk/dnsmgr.conf-dist %D/etc/asterisk/dnsmgr.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/dundi.conf; then cp -p %D/etc/asterisk/dundi.conf-dist %D/etc/asterisk/dundi.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/enum.conf; then cp -p %D/etc/asterisk/enum.conf-dist %D/etc/asterisk/enum.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/extconfig.conf; then cp -p %D/etc/asterisk/extconfig.conf-dist %D/etc/asterisk/extconfig.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/extensions.ael; then cp -p %D/etc/asterisk/extensions.ael-dist %D/etc/asterisk/extensions.ael; fi
|
||||
@exec if test ! -e %D/etc/asterisk/extensions.conf; then cp -p %D/etc/asterisk/extensions.conf-dist %D/etc/asterisk/extensions.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/features.conf; then cp -p %D/etc/asterisk/features.conf-dist %D/etc/asterisk/features.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/festival.conf; then cp -p %D/etc/asterisk/festival.conf-dist %D/etc/asterisk/festival.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/iax.conf; then cp -p %D/etc/asterisk/iax.conf-dist %D/etc/asterisk/iax.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/iaxprov.conf; then cp -p %D/etc/asterisk/iaxprov.conf-dist %D/etc/asterisk/iaxprov.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/indications.conf; then cp -p %D/etc/asterisk/indications.conf-dist %D/etc/asterisk/indications.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/logger.conf; then cp -p %D/etc/asterisk/logger.conf-dist %D/etc/asterisk/logger.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/manager.conf; then cp -p %D/etc/asterisk/manager.conf-dist %D/etc/asterisk/manager.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/meetme.conf; then cp -p %D/etc/asterisk/meetme.conf-dist %D/etc/asterisk/meetme.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/mgcp.conf; then cp -p %D/etc/asterisk/mgcp.conf-dist %D/etc/asterisk/mgcp.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/misdn.conf; then cp -p %D/etc/asterisk/misdn.conf-dist %D/etc/asterisk/misdn.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/modules.conf; then cp -p %D/etc/asterisk/modules.conf-dist %D/etc/asterisk/modules.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/musiconhold.conf; then cp -p %D/etc/asterisk/musiconhold.conf-dist %D/etc/asterisk/musiconhold.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/osp.conf; then cp -p %D/etc/asterisk/osp.conf-dist %D/etc/asterisk/osp.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/oss.conf; then cp -p %D/etc/asterisk/oss.conf-dist %D/etc/asterisk/oss.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/phone.conf; then cp -p %D/etc/asterisk/phone.conf-dist %D/etc/asterisk/phone.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/privacy.conf; then cp -p %D/etc/asterisk/privacy.conf-dist %D/etc/asterisk/privacy.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/queues.conf; then cp -p %D/etc/asterisk/queues.conf-dist %D/etc/asterisk/queues.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/res_pgsql.conf; then cp -p %D/etc/asterisk/res_pgsql.conf-dist %D/etc/asterisk/res_pgsql.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/res_odbc.conf; then cp -p %D/etc/asterisk/res_odbc.conf-dist %D/etc/asterisk/res_odbc.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/rpt.conf; then cp -p %D/etc/asterisk/rpt.conf-dist %D/etc/asterisk/rpt.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/rtp.conf; then cp -p %D/etc/asterisk/rtp.conf-dist %D/etc/asterisk/rtp.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/sip.conf; then cp -p %D/etc/asterisk/sip.conf-dist %D/etc/asterisk/sip.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/sip_notify.conf; then cp -p %D/etc/asterisk/sip_notify.conf-dist %D/etc/asterisk/sip_notify.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/skinny.conf; then cp -p %D/etc/asterisk/skinny.conf-dist %D/etc/asterisk/skinny.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/telcordia-1.adsi; then cp -p %D/etc/asterisk/telcordia-1.adsi-dist %D/etc/asterisk/telcordia-1.adsi; fi
|
||||
@exec if test ! -e %D/etc/asterisk/voicemail.conf; then cp -p %D/etc/asterisk/voicemail.conf-dist %D/etc/asterisk/voicemail.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/vpb.conf; then cp -p %D/etc/asterisk/vpb.conf-dist %D/etc/asterisk/vpb.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/chan_dahdi.conf; then cp -p %D/etc/asterisk/chan_dahdi.conf-dist %D/etc/asterisk/chan_dahdi.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/udptl.conf; then cp -p %D/etc/asterisk/udptl.conf-dist %D/etc/asterisk/udptl.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/users.conf; then cp -p %D/etc/asterisk/users.conf-dist %D/etc/asterisk/users.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/smdi.conf; then cp -p %D/etc/asterisk/smdi.conf-dist %D/etc/asterisk/smdi.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/sla.conf; then cp -p %D/etc/asterisk/sla.conf-dist %D/etc/asterisk/sla.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/say.conf; then cp -p %D/etc/asterisk/say.conf-dist %D/etc/asterisk/say.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/res_snmp.conf; then cp -p %D/etc/asterisk/res_snmp.conf-dist %D/etc/asterisk/res_snmp.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/muted.conf; then cp -p %D/etc/asterisk/muted.conf-dist %D/etc/asterisk/muted.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/jabber.conf; then cp -p %D/etc/asterisk/jabber.conf-dist %D/etc/asterisk/jabber.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/http.conf; then cp -p %D/etc/asterisk/http.conf-dist %D/etc/asterisk/http.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/h323.conf; then cp -p %D/etc/asterisk/h323.conf-dist %D/etc/asterisk/h323.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/gtalk.conf; then cp -p %D/etc/asterisk/gtalk.conf-dist %D/etc/asterisk/gtalk.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/func_odbc.conf; then cp -p %D/etc/asterisk/func_odbc.conf-dist %D/etc/asterisk/func_odbc.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/followme.conf; then cp -p %D/etc/asterisk/followme.conf-dist %D/etc/asterisk/followme.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/amd.conf; then cp -p %D/etc/asterisk/amd.conf-dist %D/etc/asterisk/amd.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/esel.conf; then cp -p %D/etc/asterisk/esel.conf-dist %D/etc/asterisk/esel.conf; fi
|
||||
@exec if test ! -e %D/etc/asterisk/watchdog.conf; then cp -p %D/etc/asterisk/watchdog.conf-dist %D/etc/asterisk/watchdog.conf; fi
|
||||
include/asterisk.h
|
||||
include/asterisk/abstract_jb.h
|
||||
include/asterisk/acl.h
|
||||
include/asterisk/adsi.h
|
||||
include/asterisk/ael_structs.h
|
||||
include/asterisk/aes.h
|
||||
include/asterisk/agi.h
|
||||
include/asterisk/alaw.h
|
||||
include/asterisk/app.h
|
||||
include/asterisk/ast_expr.h
|
||||
include/asterisk/astdb.h
|
||||
include/asterisk/astmm.h
|
||||
include/asterisk/astobj.h
|
||||
include/asterisk/astobj2.h
|
||||
include/asterisk/astosp.h
|
||||
include/asterisk/audiohook.h
|
||||
include/asterisk/autoconfig.h
|
||||
include/asterisk/build.h
|
||||
include/asterisk/buildopts.h
|
||||
include/asterisk/callerid.h
|
||||
include/asterisk/causes.h
|
||||
include/asterisk/cdr.h
|
||||
include/asterisk/channel.h
|
||||
include/asterisk/chanvars.h
|
||||
include/asterisk/cli.h
|
||||
include/asterisk/compat.h
|
||||
include/asterisk/compiler.h
|
||||
include/asterisk/config.h
|
||||
include/asterisk/crypto.h
|
||||
include/asterisk/dahdi_compat.h
|
||||
include/asterisk/devicestate.h
|
||||
include/asterisk/dial.h
|
||||
include/asterisk/dns.h
|
||||
include/asterisk/dnsmgr.h
|
||||
include/asterisk/doxyref.h
|
||||
include/asterisk/dsp.h
|
||||
include/asterisk/dundi.h
|
||||
include/asterisk/endian.h
|
||||
include/asterisk/enum.h
|
||||
include/asterisk/features.h
|
||||
include/asterisk/file.h
|
||||
include/asterisk/frame.h
|
||||
include/asterisk/fskmodem.h
|
||||
include/asterisk/global_datastores.h
|
||||
include/asterisk/http.h
|
||||
include/asterisk/image.h
|
||||
include/asterisk/indications.h
|
||||
include/asterisk/inline_api.h
|
||||
include/asterisk/io.h
|
||||
include/asterisk/jabber.h
|
||||
include/asterisk/jingle.h
|
||||
include/asterisk/linkedlists.h
|
||||
include/asterisk/localtime.h
|
||||
include/asterisk/lock.h
|
||||
include/asterisk/logger.h
|
||||
include/asterisk/manager.h
|
||||
include/asterisk/md5.h
|
||||
include/asterisk/module.h
|
||||
include/asterisk/monitor.h
|
||||
include/asterisk/musiconhold.h
|
||||
include/asterisk/netsock.h
|
||||
include/asterisk/options.h
|
||||
include/asterisk/paths.h
|
||||
include/asterisk/pbx.h
|
||||
include/asterisk/plc.h
|
||||
include/asterisk/poll-compat.h
|
||||
include/asterisk/privacy.h
|
||||
include/asterisk/res_odbc.h
|
||||
include/asterisk/rtp.h
|
||||
include/asterisk/say.h
|
||||
include/asterisk/sched.h
|
||||
include/asterisk/sha1.h
|
||||
include/asterisk/slinfactory.h
|
||||
include/asterisk/smdi.h
|
||||
include/asterisk/speech.h
|
||||
include/asterisk/srv.h
|
||||
include/asterisk/stringfields.h
|
||||
include/asterisk/strings.h
|
||||
include/asterisk/tdd.h
|
||||
include/asterisk/term.h
|
||||
include/asterisk/threadstorage.h
|
||||
include/asterisk/time.h
|
||||
include/asterisk/tonezone_compat.h
|
||||
include/asterisk/transcap.h
|
||||
include/asterisk/translate.h
|
||||
include/asterisk/udptl.h
|
||||
include/asterisk/ulaw.h
|
||||
include/asterisk/unaligned.h
|
||||
include/asterisk/utils.h
|
||||
include/asterisk/version.h
|
||||
lib/asterisk/modules/app_adsiprog.so
|
||||
lib/asterisk/modules/app_alarmreceiver.so
|
||||
lib/asterisk/modules/app_amd.so
|
||||
lib/asterisk/modules/app_authenticate.so
|
||||
lib/asterisk/modules/app_cdr.so
|
||||
lib/asterisk/modules/app_chanisavail.so
|
||||
lib/asterisk/modules/app_channelredirect.so
|
||||
lib/asterisk/modules/app_chanspy.so
|
||||
lib/asterisk/modules/app_controlplayback.so
|
||||
%%WITH_ZAPTEL%%lib/asterisk/modules/app_dahdibarge.so
|
||||
%%WITH_ZAPTEL%%lib/asterisk/modules/app_dahdiras.so
|
||||
%%WITH_ZAPTEL%%lib/asterisk/modules/app_dahdiscan.so
|
||||
lib/asterisk/modules/app_db.so
|
||||
lib/asterisk/modules/app_devstate.so
|
||||
lib/asterisk/modules/app_dial.so
|
||||
lib/asterisk/modules/app_dictate.so
|
||||
lib/asterisk/modules/app_directed_pickup.so
|
||||
lib/asterisk/modules/app_directory.so
|
||||
lib/asterisk/modules/app_disa.so
|
||||
lib/asterisk/modules/app_dumpchan.so
|
||||
lib/asterisk/modules/app_echo.so
|
||||
lib/asterisk/modules/app_exec.so
|
||||
lib/asterisk/modules/app_externalivr.so
|
||||
lib/asterisk/modules/app_festival.so
|
||||
%%WITH_ZAPTEL%%lib/asterisk/modules/app_flash.so
|
||||
lib/asterisk/modules/app_followme.so
|
||||
lib/asterisk/modules/app_forkcdr.so
|
||||
lib/asterisk/modules/app_getcpeid.so
|
||||
lib/asterisk/modules/app_hasnewvoicemail.so
|
||||
lib/asterisk/modules/app_ices.so
|
||||
lib/asterisk/modules/app_image.so
|
||||
lib/asterisk/modules/app_lookupblacklist.so
|
||||
lib/asterisk/modules/app_lookupcidname.so
|
||||
lib/asterisk/modules/app_macro.so
|
||||
%%WITH_ZAPTEL%%lib/asterisk/modules/app_meetme.so
|
||||
lib/asterisk/modules/app_milliwatt.so
|
||||
lib/asterisk/modules/app_mixmonitor.so
|
||||
lib/asterisk/modules/app_morsecode.so
|
||||
lib/asterisk/modules/app_mp3.so
|
||||
lib/asterisk/modules/app_nbscat.so
|
||||
%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so
|
||||
lib/asterisk/modules/app_parkandannounce.so
|
||||
lib/asterisk/modules/app_pickup.so
|
||||
lib/asterisk/modules/app_playback.so
|
||||
lib/asterisk/modules/app_privacy.so
|
||||
lib/asterisk/modules/app_queue.so
|
||||
lib/asterisk/modules/app_random.so
|
||||
lib/asterisk/modules/app_read.so
|
||||
lib/asterisk/modules/app_readfile.so
|
||||
lib/asterisk/modules/app_realtime.so
|
||||
lib/asterisk/modules/app_record.so
|
||||
lib/asterisk/modules/app_sayunixtime.so
|
||||
lib/asterisk/modules/app_segfault.so
|
||||
lib/asterisk/modules/app_senddtmf.so
|
||||
lib/asterisk/modules/app_sendtext.so
|
||||
lib/asterisk/modules/app_setcallerid.so
|
||||
lib/asterisk/modules/app_setcdruserfield.so
|
||||
lib/asterisk/modules/app_settransfercapability.so
|
||||
lib/asterisk/modules/app_sms.so
|
||||
lib/asterisk/modules/app_softhangup.so
|
||||
lib/asterisk/modules/app_speech_utils.so
|
||||
lib/asterisk/modules/app_stack.so
|
||||
lib/asterisk/modules/app_system.so
|
||||
lib/asterisk/modules/app_talkdetect.so
|
||||
lib/asterisk/modules/app_test.so
|
||||
lib/asterisk/modules/app_transfer.so
|
||||
lib/asterisk/modules/app_url.so
|
||||
lib/asterisk/modules/app_userevent.so
|
||||
lib/asterisk/modules/app_verbose.so
|
||||
lib/asterisk/modules/app_voicemail.so
|
||||
lib/asterisk/modules/app_waitforring.so
|
||||
lib/asterisk/modules/app_waitforsilence.so
|
||||
lib/asterisk/modules/app_while.so
|
||||
lib/asterisk/modules/app_zapateller.so
|
||||
lib/asterisk/modules/cdr_csv.so
|
||||
lib/asterisk/modules/cdr_custom.so
|
||||
lib/asterisk/modules/cdr_manager.so
|
||||
%%WITH_ODBC%%lib/asterisk/modules/cdr_odbc.so
|
||||
%%WITH_POSTGRES%%lib/asterisk/modules/cdr_pgsql.so
|
||||
%%WITH_RADIUS%%lib/asterisk/modules/cdr_radius.so
|
||||
%%WITH_SQLITE%%lib/asterisk/modules/cdr_sqlite.so
|
||||
%%WITH_FREETDS%%lib/asterisk/modules/cdr_tds.so
|
||||
lib/asterisk/modules/chan_agent.so
|
||||
%%WITH_ZAPTEL%%lib/asterisk/modules/chan_dahdi.so
|
||||
%%WITH_JABBER%%lib/asterisk/modules/chan_gtalk.so
|
||||
%%WITH_H323%%lib/asterisk/modules/chan_h323.so
|
||||
lib/asterisk/modules/chan_iax2.so
|
||||
lib/asterisk/modules/chan_local.so
|
||||
lib/asterisk/modules/chan_mgcp.so
|
||||
lib/asterisk/modules/chan_oss.so
|
||||
lib/asterisk/modules/chan_sip.so
|
||||
lib/asterisk/modules/chan_skinny.so
|
||||
lib/asterisk/modules/codec_a_mu.so
|
||||
lib/asterisk/modules/codec_adpcm.so
|
||||
lib/asterisk/modules/codec_alaw.so
|
||||
lib/asterisk/modules/codec_dahdi.so
|
||||
lib/asterisk/modules/codec_g726.so
|
||||
lib/asterisk/modules/codec_gsm.so
|
||||
%%WITH_ILBC%%lib/asterisk/modules/codec_ilbc.so
|
||||
lib/asterisk/modules/codec_lpc10.so
|
||||
lib/asterisk/modules/codec_speex.so
|
||||
lib/asterisk/modules/codec_ulaw.so
|
||||
lib/asterisk/modules/format_g723.so
|
||||
lib/asterisk/modules/format_g726.so
|
||||
lib/asterisk/modules/format_g729.so
|
||||
lib/asterisk/modules/format_gsm.so
|
||||
lib/asterisk/modules/format_h263.so
|
||||
lib/asterisk/modules/format_h264.so
|
||||
lib/asterisk/modules/format_ilbc.so
|
||||
lib/asterisk/modules/format_jpeg.so
|
||||
%%WITH_OGGVORBIS%%lib/asterisk/modules/format_ogg_vorbis.so
|
||||
lib/asterisk/modules/format_pcm.so
|
||||
lib/asterisk/modules/format_sln.so
|
||||
lib/asterisk/modules/format_vox.so
|
||||
lib/asterisk/modules/format_wav.so
|
||||
lib/asterisk/modules/format_wav_gsm.so
|
||||
lib/asterisk/modules/func_audiohookinherit.so
|
||||
lib/asterisk/modules/func_base64.so
|
||||
lib/asterisk/modules/func_callerid.so
|
||||
lib/asterisk/modules/func_cdr.so
|
||||
lib/asterisk/modules/func_channel.so
|
||||
lib/asterisk/modules/func_curl.so
|
||||
lib/asterisk/modules/func_cut.so
|
||||
lib/asterisk/modules/func_db.so
|
||||
lib/asterisk/modules/func_enum.so
|
||||
lib/asterisk/modules/func_env.so
|
||||
lib/asterisk/modules/func_global.so
|
||||
lib/asterisk/modules/func_groupcount.so
|
||||
lib/asterisk/modules/func_language.so
|
||||
lib/asterisk/modules/func_logic.so
|
||||
lib/asterisk/modules/func_math.so
|
||||
lib/asterisk/modules/func_md5.so
|
||||
lib/asterisk/modules/func_moh.so
|
||||
%%WITH_ODBC%%lib/asterisk/modules/func_odbc.so
|
||||
lib/asterisk/modules/func_rand.so
|
||||
lib/asterisk/modules/func_realtime.so
|
||||
lib/asterisk/modules/func_sha1.so
|
||||
lib/asterisk/modules/func_strings.so
|
||||
lib/asterisk/modules/func_timeout.so
|
||||
lib/asterisk/modules/func_uri.so
|
||||
lib/asterisk/modules/pbx_ael.so
|
||||
lib/asterisk/modules/pbx_config.so
|
||||
lib/asterisk/modules/pbx_dundi.so
|
||||
lib/asterisk/modules/pbx_loopback.so
|
||||
lib/asterisk/modules/pbx_realtime.so
|
||||
lib/asterisk/modules/pbx_spool.so
|
||||
lib/asterisk/modules/res_adsi.so
|
||||
lib/asterisk/modules/res_agi.so
|
||||
lib/asterisk/modules/res_clioriginate.so
|
||||
%%WITH_ODBC%%lib/asterisk/modules/res_config_odbc.so
|
||||
%%WITH_POSTGRES%%lib/asterisk/modules/res_config_pgsql.so
|
||||
lib/asterisk/modules/res_convert.so
|
||||
lib/asterisk/modules/res_crypto.so
|
||||
lib/asterisk/modules/res_esel.so
|
||||
lib/asterisk/modules/res_features.so
|
||||
lib/asterisk/modules/res_indications.so
|
||||
%%WITH_JABBER%%lib/asterisk/modules/res_jabber.so
|
||||
lib/asterisk/modules/res_monitor.so
|
||||
lib/asterisk/modules/res_musiconhold.so
|
||||
%%WITH_ODBC%%lib/asterisk/modules/res_odbc.so
|
||||
lib/asterisk/modules/res_smdi.so
|
||||
%%WITH_SNMP%%lib/asterisk/modules/res_snmp.so
|
||||
lib/asterisk/modules/res_speech.so
|
||||
lib/asterisk/modules/res_watchdog.so
|
||||
sbin/aelparse
|
||||
sbin/asterisk
|
||||
sbin/astgenkey
|
||||
sbin/astman
|
||||
sbin/autosupport
|
||||
sbin/muted
|
||||
sbin/rasterisk
|
||||
sbin/safe_asterisk
|
||||
sbin/smsq
|
||||
sbin/stereorize
|
||||
sbin/streamplayer
|
||||
share/asterisk/agi-bin/agi-test.agi
|
||||
share/asterisk/agi-bin/eagi-sphinx-test
|
||||
share/asterisk/agi-bin/eagi-test
|
||||
share/asterisk/agi-bin/jukebox.agi
|
||||
share/asterisk/agi-bin/xagi-test
|
||||
share/asterisk/firmware/iax/iaxy.bin
|
||||
share/asterisk/images/asterisk-intro.jpg
|
||||
share/asterisk/keys/freeworlddialup.pub
|
||||
share/asterisk/keys/iaxtel.pub
|
||||
share/asterisk/moh/.asterisk-moh-freeplay-wav
|
||||
share/asterisk/moh/CHANGES-asterisk-moh-opsound-2.01
|
||||
share/asterisk/moh/CREDITS-asterisk-moh-opsound-2.01
|
||||
share/asterisk/moh/LICENSE-asterisk-moh-opsound-2.01
|
||||
share/asterisk/moh/macroform-cold_day.wav
|
||||
share/asterisk/moh/macroform-robot_dity.wav
|
||||
share/asterisk/moh/macroform-the_simplicity.wav
|
||||
share/asterisk/moh/manolo_camp-morning_coffee.wav
|
||||
share/asterisk/moh/reno_project-system.wav
|
||||
share/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.15
|
||||
share/asterisk/sounds/CHANGES-asterisk-core-en-1.4.15
|
||||
share/asterisk/sounds/CREDITS-asterisk-core-en-1.4.15
|
||||
share/asterisk/sounds/LICENSE-asterisk-core-en-1.4.15
|
||||
share/asterisk/sounds/agent-alreadyon.gsm
|
||||
share/asterisk/sounds/agent-incorrect.gsm
|
||||
share/asterisk/sounds/agent-loggedoff.gsm
|
||||
share/asterisk/sounds/agent-loginok.gsm
|
||||
share/asterisk/sounds/agent-newlocation.gsm
|
||||
share/asterisk/sounds/agent-pass.gsm
|
||||
share/asterisk/sounds/agent-user.gsm
|
||||
share/asterisk/sounds/auth-incorrect.gsm
|
||||
share/asterisk/sounds/auth-thankyou.gsm
|
||||
share/asterisk/sounds/beep.gsm
|
||||
share/asterisk/sounds/beeperr.gsm
|
||||
share/asterisk/sounds/conf-adminmenu-162.gsm
|
||||
share/asterisk/sounds/conf-adminmenu.gsm
|
||||
share/asterisk/sounds/conf-enteringno.gsm
|
||||
share/asterisk/sounds/conf-errormenu.gsm
|
||||
share/asterisk/sounds/conf-extended.gsm
|
||||
share/asterisk/sounds/conf-getchannel.gsm
|
||||
share/asterisk/sounds/conf-getconfno.gsm
|
||||
share/asterisk/sounds/conf-getpin.gsm
|
||||
share/asterisk/sounds/conf-hasjoin.gsm
|
||||
share/asterisk/sounds/conf-hasleft.gsm
|
||||
share/asterisk/sounds/conf-invalid.gsm
|
||||
share/asterisk/sounds/conf-invalidpin.gsm
|
||||
share/asterisk/sounds/conf-kicked.gsm
|
||||
share/asterisk/sounds/conf-leaderhasleft.gsm
|
||||
share/asterisk/sounds/conf-locked.gsm
|
||||
share/asterisk/sounds/conf-lockednow.gsm
|
||||
share/asterisk/sounds/conf-muted.gsm
|
||||
share/asterisk/sounds/conf-noempty.gsm
|
||||
share/asterisk/sounds/conf-nonextended.gsm
|
||||
share/asterisk/sounds/conf-onlyone.gsm
|
||||
share/asterisk/sounds/conf-onlyperson.gsm
|
||||
share/asterisk/sounds/conf-otherinparty.gsm
|
||||
share/asterisk/sounds/conf-placeintoconf.gsm
|
||||
share/asterisk/sounds/conf-thereare.gsm
|
||||
share/asterisk/sounds/conf-unlockednow.gsm
|
||||
share/asterisk/sounds/conf-unmuted.gsm
|
||||
share/asterisk/sounds/conf-usermenu-162.gsm
|
||||
share/asterisk/sounds/conf-usermenu.gsm
|
||||
share/asterisk/sounds/conf-userswilljoin.gsm
|
||||
share/asterisk/sounds/conf-userwilljoin.gsm
|
||||
share/asterisk/sounds/conf-waitforleader.gsm
|
||||
share/asterisk/sounds/core-sounds-en.txt
|
||||
share/asterisk/sounds/demo-abouttotry.gsm
|
||||
share/asterisk/sounds/demo-congrats.gsm
|
||||
share/asterisk/sounds/demo-echodone.gsm
|
||||
share/asterisk/sounds/demo-echotest.gsm
|
||||
share/asterisk/sounds/demo-enterkeywords.gsm
|
||||
share/asterisk/sounds/demo-instruct.gsm
|
||||
share/asterisk/sounds/demo-moreinfo.gsm
|
||||
share/asterisk/sounds/demo-nogo.gsm
|
||||
share/asterisk/sounds/demo-nomatch.gsm
|
||||
share/asterisk/sounds/demo-thanks.gsm
|
||||
share/asterisk/sounds/dictate/both_help.gsm
|
||||
share/asterisk/sounds/dictate/enter_filename.gsm
|
||||
share/asterisk/sounds/dictate/forhelp.gsm
|
||||
share/asterisk/sounds/dictate/pause.gsm
|
||||
share/asterisk/sounds/dictate/paused.gsm
|
||||
share/asterisk/sounds/dictate/play_help.gsm
|
||||
share/asterisk/sounds/dictate/playback.gsm
|
||||
share/asterisk/sounds/dictate/playback_mode.gsm
|
||||
share/asterisk/sounds/dictate/record.gsm
|
||||
share/asterisk/sounds/dictate/record_help.gsm
|
||||
share/asterisk/sounds/dictate/record_mode.gsm
|
||||
share/asterisk/sounds/dictate/truncating_audio.gsm
|
||||
share/asterisk/sounds/digits/0.gsm
|
||||
share/asterisk/sounds/digits/1.gsm
|
||||
share/asterisk/sounds/digits/10.gsm
|
||||
share/asterisk/sounds/digits/11.gsm
|
||||
share/asterisk/sounds/digits/12.gsm
|
||||
share/asterisk/sounds/digits/13.gsm
|
||||
share/asterisk/sounds/digits/14.gsm
|
||||
share/asterisk/sounds/digits/15.gsm
|
||||
share/asterisk/sounds/digits/16.gsm
|
||||
share/asterisk/sounds/digits/17.gsm
|
||||
share/asterisk/sounds/digits/18.gsm
|
||||
share/asterisk/sounds/digits/19.gsm
|
||||
share/asterisk/sounds/digits/2.gsm
|
||||
share/asterisk/sounds/digits/20.gsm
|
||||
share/asterisk/sounds/digits/3.gsm
|
||||
share/asterisk/sounds/digits/30.gsm
|
||||
share/asterisk/sounds/digits/4.gsm
|
||||
share/asterisk/sounds/digits/40.gsm
|
||||
share/asterisk/sounds/digits/5.gsm
|
||||
share/asterisk/sounds/digits/50.gsm
|
||||
share/asterisk/sounds/digits/6.gsm
|
||||
share/asterisk/sounds/digits/60.gsm
|
||||
share/asterisk/sounds/digits/7.gsm
|
||||
share/asterisk/sounds/digits/70.gsm
|
||||
share/asterisk/sounds/digits/8.gsm
|
||||
share/asterisk/sounds/digits/80.gsm
|
||||
share/asterisk/sounds/digits/9.gsm
|
||||
share/asterisk/sounds/digits/90.gsm
|
||||
share/asterisk/sounds/digits/a-m.gsm
|
||||
share/asterisk/sounds/digits/at.gsm
|
||||
share/asterisk/sounds/digits/day-0.gsm
|
||||
share/asterisk/sounds/digits/day-1.gsm
|
||||
share/asterisk/sounds/digits/day-2.gsm
|
||||
share/asterisk/sounds/digits/day-3.gsm
|
||||
share/asterisk/sounds/digits/day-4.gsm
|
||||
share/asterisk/sounds/digits/day-5.gsm
|
||||
share/asterisk/sounds/digits/day-6.gsm
|
||||
share/asterisk/sounds/digits/dollars.gsm
|
||||
share/asterisk/sounds/digits/h-1.gsm
|
||||
share/asterisk/sounds/digits/h-10.gsm
|
||||
share/asterisk/sounds/digits/h-11.gsm
|
||||
share/asterisk/sounds/digits/h-12.gsm
|
||||
share/asterisk/sounds/digits/h-13.gsm
|
||||
share/asterisk/sounds/digits/h-14.gsm
|
||||
share/asterisk/sounds/digits/h-15.gsm
|
||||
share/asterisk/sounds/digits/h-16.gsm
|
||||
share/asterisk/sounds/digits/h-17.gsm
|
||||
share/asterisk/sounds/digits/h-18.gsm
|
||||
share/asterisk/sounds/digits/h-19.gsm
|
||||
share/asterisk/sounds/digits/h-2.gsm
|
||||
share/asterisk/sounds/digits/h-20.gsm
|
||||
share/asterisk/sounds/digits/h-3.gsm
|
||||
share/asterisk/sounds/digits/h-30.gsm
|
||||
share/asterisk/sounds/digits/h-4.gsm
|
||||
share/asterisk/sounds/digits/h-5.gsm
|
||||
share/asterisk/sounds/digits/h-6.gsm
|
||||
share/asterisk/sounds/digits/h-7.gsm
|
||||
share/asterisk/sounds/digits/h-8.gsm
|
||||
share/asterisk/sounds/digits/h-9.gsm
|
||||
share/asterisk/sounds/digits/hundred.gsm
|
||||
share/asterisk/sounds/digits/million.gsm
|
||||
share/asterisk/sounds/digits/minus.gsm
|
||||
share/asterisk/sounds/digits/mon-0.gsm
|
||||
share/asterisk/sounds/digits/mon-1.gsm
|
||||
share/asterisk/sounds/digits/mon-10.gsm
|
||||
share/asterisk/sounds/digits/mon-11.gsm
|
||||
share/asterisk/sounds/digits/mon-2.gsm
|
||||
share/asterisk/sounds/digits/mon-3.gsm
|
||||
share/asterisk/sounds/digits/mon-4.gsm
|
||||
share/asterisk/sounds/digits/mon-5.gsm
|
||||
share/asterisk/sounds/digits/mon-6.gsm
|
||||
share/asterisk/sounds/digits/mon-7.gsm
|
||||
share/asterisk/sounds/digits/mon-8.gsm
|
||||
share/asterisk/sounds/digits/mon-9.gsm
|
||||
share/asterisk/sounds/digits/oclock.gsm
|
||||
share/asterisk/sounds/digits/oh.gsm
|
||||
share/asterisk/sounds/digits/p-m.gsm
|
||||
share/asterisk/sounds/digits/pound.gsm
|
||||
share/asterisk/sounds/digits/star.gsm
|
||||
share/asterisk/sounds/digits/thousand.gsm
|
||||
share/asterisk/sounds/digits/today.gsm
|
||||
share/asterisk/sounds/digits/tomorrow.gsm
|
||||
share/asterisk/sounds/digits/yesterday.gsm
|
||||
share/asterisk/sounds/dir-first.gsm
|
||||
share/asterisk/sounds/dir-firstlast.gsm
|
||||
share/asterisk/sounds/dir-instr.gsm
|
||||
share/asterisk/sounds/dir-intro-fn.gsm
|
||||
share/asterisk/sounds/dir-intro.gsm
|
||||
share/asterisk/sounds/dir-last.gsm
|
||||
share/asterisk/sounds/dir-multi1.gsm
|
||||
share/asterisk/sounds/dir-multi2.gsm
|
||||
share/asterisk/sounds/dir-multi3.gsm
|
||||
share/asterisk/sounds/dir-multi9.gsm
|
||||
share/asterisk/sounds/dir-nomatch.gsm
|
||||
share/asterisk/sounds/dir-nomore.gsm
|
||||
share/asterisk/sounds/dir-pls-enter.gsm
|
||||
share/asterisk/sounds/dir-usingkeypad.gsm
|
||||
share/asterisk/sounds/dir-welcome.gsm
|
||||
share/asterisk/sounds/followme/call-from.gsm
|
||||
share/asterisk/sounds/followme/no-recording.gsm
|
||||
share/asterisk/sounds/followme/options.gsm
|
||||
share/asterisk/sounds/followme/pls-hold-while-try.gsm
|
||||
share/asterisk/sounds/followme/sorry.gsm
|
||||
share/asterisk/sounds/followme/status.gsm
|
||||
share/asterisk/sounds/hello-world.gsm
|
||||
share/asterisk/sounds/hours.gsm
|
||||
share/asterisk/sounds/invalid.gsm
|
||||
share/asterisk/sounds/letters/a.gsm
|
||||
share/asterisk/sounds/letters/ascii123.gsm
|
||||
share/asterisk/sounds/letters/ascii124.gsm
|
||||
share/asterisk/sounds/letters/ascii125.gsm
|
||||
share/asterisk/sounds/letters/ascii126.gsm
|
||||
share/asterisk/sounds/letters/ascii34.gsm
|
||||
share/asterisk/sounds/letters/ascii36.gsm
|
||||
share/asterisk/sounds/letters/ascii37.gsm
|
||||
share/asterisk/sounds/letters/ascii38.gsm
|
||||
share/asterisk/sounds/letters/ascii39.gsm
|
||||
share/asterisk/sounds/letters/ascii40.gsm
|
||||
share/asterisk/sounds/letters/ascii41.gsm
|
||||
share/asterisk/sounds/letters/ascii42.gsm
|
||||
share/asterisk/sounds/letters/ascii44.gsm
|
||||
share/asterisk/sounds/letters/ascii58.gsm
|
||||
share/asterisk/sounds/letters/ascii59.gsm
|
||||
share/asterisk/sounds/letters/ascii60.gsm
|
||||
share/asterisk/sounds/letters/ascii62.gsm
|
||||
share/asterisk/sounds/letters/ascii63.gsm
|
||||
share/asterisk/sounds/letters/ascii91.gsm
|
||||
share/asterisk/sounds/letters/ascii92.gsm
|
||||
share/asterisk/sounds/letters/ascii93.gsm
|
||||
share/asterisk/sounds/letters/ascii94.gsm
|
||||
share/asterisk/sounds/letters/ascii95.gsm
|
||||
share/asterisk/sounds/letters/ascii96.gsm
|
||||
share/asterisk/sounds/letters/asterisk.gsm
|
||||
share/asterisk/sounds/letters/at.gsm
|
||||
share/asterisk/sounds/letters/b.gsm
|
||||
share/asterisk/sounds/letters/c.gsm
|
||||
share/asterisk/sounds/letters/d.gsm
|
||||
share/asterisk/sounds/letters/dash.gsm
|
||||
share/asterisk/sounds/letters/dollar.gsm
|
||||
share/asterisk/sounds/letters/dot.gsm
|
||||
share/asterisk/sounds/letters/e.gsm
|
||||
share/asterisk/sounds/letters/equals.gsm
|
||||
share/asterisk/sounds/letters/exclaimation-point.gsm
|
||||
share/asterisk/sounds/letters/f.gsm
|
||||
share/asterisk/sounds/letters/g.gsm
|
||||
share/asterisk/sounds/letters/h.gsm
|
||||
share/asterisk/sounds/letters/i.gsm
|
||||
share/asterisk/sounds/letters/j.gsm
|
||||
share/asterisk/sounds/letters/k.gsm
|
||||
share/asterisk/sounds/letters/l.gsm
|
||||
share/asterisk/sounds/letters/m.gsm
|
||||
share/asterisk/sounds/letters/n.gsm
|
||||
share/asterisk/sounds/letters/o.gsm
|
||||
share/asterisk/sounds/letters/p.gsm
|
||||
share/asterisk/sounds/letters/plus.gsm
|
||||
share/asterisk/sounds/letters/q.gsm
|
||||
share/asterisk/sounds/letters/r.gsm
|
||||
share/asterisk/sounds/letters/s.gsm
|
||||
share/asterisk/sounds/letters/slash.gsm
|
||||
share/asterisk/sounds/letters/space.gsm
|
||||
share/asterisk/sounds/letters/t.gsm
|
||||
share/asterisk/sounds/letters/u.gsm
|
||||
share/asterisk/sounds/letters/v.gsm
|
||||
share/asterisk/sounds/letters/w.gsm
|
||||
share/asterisk/sounds/letters/x.gsm
|
||||
share/asterisk/sounds/letters/y.gsm
|
||||
share/asterisk/sounds/letters/z.gsm
|
||||
share/asterisk/sounds/letters/zed.gsm
|
||||
share/asterisk/sounds/minutes.gsm
|
||||
share/asterisk/sounds/pbx-invalid.gsm
|
||||
share/asterisk/sounds/pbx-invalidpark.gsm
|
||||
share/asterisk/sounds/pbx-transfer.gsm
|
||||
share/asterisk/sounds/phonetic/9_p.gsm
|
||||
share/asterisk/sounds/phonetic/a_p.gsm
|
||||
share/asterisk/sounds/phonetic/b_p.gsm
|
||||
share/asterisk/sounds/phonetic/c_p.gsm
|
||||
share/asterisk/sounds/phonetic/d_p.gsm
|
||||
share/asterisk/sounds/phonetic/e_p.gsm
|
||||
share/asterisk/sounds/phonetic/f_p.gsm
|
||||
share/asterisk/sounds/phonetic/g_p.gsm
|
||||
share/asterisk/sounds/phonetic/h_p.gsm
|
||||
share/asterisk/sounds/phonetic/i_p.gsm
|
||||
share/asterisk/sounds/phonetic/j_p.gsm
|
||||
share/asterisk/sounds/phonetic/k_p.gsm
|
||||
share/asterisk/sounds/phonetic/l_p.gsm
|
||||
share/asterisk/sounds/phonetic/m_p.gsm
|
||||
share/asterisk/sounds/phonetic/n_p.gsm
|
||||
share/asterisk/sounds/phonetic/o_p.gsm
|
||||
share/asterisk/sounds/phonetic/p_p.gsm
|
||||
share/asterisk/sounds/phonetic/q_p.gsm
|
||||
share/asterisk/sounds/phonetic/r_p.gsm
|
||||
share/asterisk/sounds/phonetic/s_p.gsm
|
||||
share/asterisk/sounds/phonetic/t_p.gsm
|
||||
share/asterisk/sounds/phonetic/u_p.gsm
|
||||
share/asterisk/sounds/phonetic/v_p.gsm
|
||||
share/asterisk/sounds/phonetic/w_p.gsm
|
||||
share/asterisk/sounds/phonetic/x_p.gsm
|
||||
share/asterisk/sounds/phonetic/y_p.gsm
|
||||
share/asterisk/sounds/phonetic/z_p.gsm
|
||||
share/asterisk/sounds/priv-callee-options.gsm
|
||||
share/asterisk/sounds/priv-callpending.gsm
|
||||
share/asterisk/sounds/priv-introsaved.gsm
|
||||
share/asterisk/sounds/priv-recordintro.gsm
|
||||
share/asterisk/sounds/privacy-incorrect.gsm
|
||||
share/asterisk/sounds/privacy-prompt.gsm
|
||||
share/asterisk/sounds/privacy-thankyou.gsm
|
||||
share/asterisk/sounds/privacy-unident.gsm
|
||||
share/asterisk/sounds/queue-callswaiting.gsm
|
||||
share/asterisk/sounds/queue-holdtime.gsm
|
||||
share/asterisk/sounds/queue-less-than.gsm
|
||||
share/asterisk/sounds/queue-minutes.gsm
|
||||
share/asterisk/sounds/queue-periodic-announce.gsm
|
||||
share/asterisk/sounds/queue-quantity1.gsm
|
||||
share/asterisk/sounds/queue-quantity2.gsm
|
||||
share/asterisk/sounds/queue-reporthold.gsm
|
||||
share/asterisk/sounds/queue-seconds.gsm
|
||||
share/asterisk/sounds/queue-thankyou.gsm
|
||||
share/asterisk/sounds/queue-thereare.gsm
|
||||
share/asterisk/sounds/queue-youarenext.gsm
|
||||
share/asterisk/sounds/screen-callee-options.gsm
|
||||
share/asterisk/sounds/seconds.gsm
|
||||
share/asterisk/sounds/silence/1.gsm
|
||||
share/asterisk/sounds/silence/10.gsm
|
||||
share/asterisk/sounds/silence/2.gsm
|
||||
share/asterisk/sounds/silence/3.gsm
|
||||
share/asterisk/sounds/silence/4.gsm
|
||||
share/asterisk/sounds/silence/5.gsm
|
||||
share/asterisk/sounds/silence/6.gsm
|
||||
share/asterisk/sounds/silence/7.gsm
|
||||
share/asterisk/sounds/silence/8.gsm
|
||||
share/asterisk/sounds/silence/9.gsm
|
||||
share/asterisk/sounds/spy-agent.gsm
|
||||
share/asterisk/sounds/spy-console.gsm
|
||||
share/asterisk/sounds/spy-dahdi.gsm
|
||||
share/asterisk/sounds/spy-h323.gsm
|
||||
share/asterisk/sounds/spy-iax.gsm
|
||||
share/asterisk/sounds/spy-iax2.gsm
|
||||
share/asterisk/sounds/spy-jingle.gsm
|
||||
share/asterisk/sounds/spy-local.gsm
|
||||
share/asterisk/sounds/spy-mgcp.gsm
|
||||
share/asterisk/sounds/spy-misdn.gsm
|
||||
share/asterisk/sounds/spy-mobile.gsm
|
||||
share/asterisk/sounds/spy-nbs.gsm
|
||||
share/asterisk/sounds/spy-sip.gsm
|
||||
share/asterisk/sounds/spy-skinny.gsm
|
||||
share/asterisk/sounds/spy-unistim.gsm
|
||||
share/asterisk/sounds/spy-usbradio.gsm
|
||||
share/asterisk/sounds/spy-zap.gsm
|
||||
share/asterisk/sounds/ss-noservice.gsm
|
||||
share/asterisk/sounds/transfer.gsm
|
||||
share/asterisk/sounds/tt-allbusy.gsm
|
||||
share/asterisk/sounds/tt-monkeys.gsm
|
||||
share/asterisk/sounds/tt-monkeysintro.gsm
|
||||
share/asterisk/sounds/tt-somethingwrong.gsm
|
||||
share/asterisk/sounds/tt-weasels.gsm
|
||||
share/asterisk/sounds/vm-Cust1.gsm
|
||||
share/asterisk/sounds/vm-Cust2.gsm
|
||||
share/asterisk/sounds/vm-Cust3.gsm
|
||||
share/asterisk/sounds/vm-Cust4.gsm
|
||||
share/asterisk/sounds/vm-Cust5.gsm
|
||||
share/asterisk/sounds/vm-Family.gsm
|
||||
share/asterisk/sounds/vm-Friends.gsm
|
||||
share/asterisk/sounds/vm-INBOX.gsm
|
||||
share/asterisk/sounds/vm-Old.gsm
|
||||
share/asterisk/sounds/vm-Urgent.gsm
|
||||
share/asterisk/sounds/vm-Work.gsm
|
||||
share/asterisk/sounds/vm-advopts.gsm
|
||||
share/asterisk/sounds/vm-and.gsm
|
||||
share/asterisk/sounds/vm-calldiffnum.gsm
|
||||
share/asterisk/sounds/vm-changeto.gsm
|
||||
share/asterisk/sounds/vm-delete.gsm
|
||||
share/asterisk/sounds/vm-deleted.gsm
|
||||
share/asterisk/sounds/vm-dialout.gsm
|
||||
share/asterisk/sounds/vm-duration.gsm
|
||||
share/asterisk/sounds/vm-enter-num-to-call.gsm
|
||||
share/asterisk/sounds/vm-extension.gsm
|
||||
share/asterisk/sounds/vm-first.gsm
|
||||
share/asterisk/sounds/vm-for.gsm
|
||||
share/asterisk/sounds/vm-forward-multiple.gsm
|
||||
share/asterisk/sounds/vm-forward.gsm
|
||||
share/asterisk/sounds/vm-forwardoptions.gsm
|
||||
share/asterisk/sounds/vm-from-extension.gsm
|
||||
share/asterisk/sounds/vm-from-phonenumber.gsm
|
||||
share/asterisk/sounds/vm-from.gsm
|
||||
share/asterisk/sounds/vm-goodbye.gsm
|
||||
share/asterisk/sounds/vm-helpexit.gsm
|
||||
share/asterisk/sounds/vm-incorrect-mailbox.gsm
|
||||
share/asterisk/sounds/vm-incorrect.gsm
|
||||
share/asterisk/sounds/vm-instructions.gsm
|
||||
share/asterisk/sounds/vm-intro.gsm
|
||||
share/asterisk/sounds/vm-invalid-password.gsm
|
||||
share/asterisk/sounds/vm-invalidpassword.gsm
|
||||
share/asterisk/sounds/vm-isonphone.gsm
|
||||
share/asterisk/sounds/vm-isunavail.gsm
|
||||
share/asterisk/sounds/vm-last.gsm
|
||||
share/asterisk/sounds/vm-leavemsg.gsm
|
||||
share/asterisk/sounds/vm-login.gsm
|
||||
share/asterisk/sounds/vm-mailboxfull.gsm
|
||||
share/asterisk/sounds/vm-marked-nonurgent.gsm
|
||||
share/asterisk/sounds/vm-marked-urgent.gsm
|
||||
share/asterisk/sounds/vm-message.gsm
|
||||
share/asterisk/sounds/vm-messages.gsm
|
||||
share/asterisk/sounds/vm-minutes.gsm
|
||||
share/asterisk/sounds/vm-mismatch.gsm
|
||||
share/asterisk/sounds/vm-msginstruct.gsm
|
||||
share/asterisk/sounds/vm-msgsaved.gsm
|
||||
share/asterisk/sounds/vm-newpassword.gsm
|
||||
share/asterisk/sounds/vm-newuser.gsm
|
||||
share/asterisk/sounds/vm-next.gsm
|
||||
share/asterisk/sounds/vm-no.gsm
|
||||
share/asterisk/sounds/vm-nobodyavail.gsm
|
||||
share/asterisk/sounds/vm-nobox.gsm
|
||||
share/asterisk/sounds/vm-nomore.gsm
|
||||
share/asterisk/sounds/vm-nonumber.gsm
|
||||
share/asterisk/sounds/vm-num-i-have.gsm
|
||||
share/asterisk/sounds/vm-onefor-full.gsm
|
||||
share/asterisk/sounds/vm-onefor.gsm
|
||||
share/asterisk/sounds/vm-options.gsm
|
||||
share/asterisk/sounds/vm-opts-full.gsm
|
||||
share/asterisk/sounds/vm-opts.gsm
|
||||
share/asterisk/sounds/vm-passchanged.gsm
|
||||
share/asterisk/sounds/vm-password.gsm
|
||||
share/asterisk/sounds/vm-press.gsm
|
||||
share/asterisk/sounds/vm-prev.gsm
|
||||
share/asterisk/sounds/vm-reachoper.gsm
|
||||
share/asterisk/sounds/vm-rec-busy.gsm
|
||||
share/asterisk/sounds/vm-rec-name.gsm
|
||||
share/asterisk/sounds/vm-rec-temp.gsm
|
||||
share/asterisk/sounds/vm-rec-unv.gsm
|
||||
share/asterisk/sounds/vm-received.gsm
|
||||
share/asterisk/sounds/vm-record-prepend.gsm
|
||||
share/asterisk/sounds/vm-reenterpassword.gsm
|
||||
share/asterisk/sounds/vm-repeat.gsm
|
||||
share/asterisk/sounds/vm-review-nonurgent.gsm
|
||||
share/asterisk/sounds/vm-review-urgent.gsm
|
||||
share/asterisk/sounds/vm-review.gsm
|
||||
share/asterisk/sounds/vm-saved.gsm
|
||||
share/asterisk/sounds/vm-savedto.gsm
|
||||
share/asterisk/sounds/vm-savefolder.gsm
|
||||
share/asterisk/sounds/vm-savemessage.gsm
|
||||
share/asterisk/sounds/vm-saveoper.gsm
|
||||
share/asterisk/sounds/vm-sorry.gsm
|
||||
share/asterisk/sounds/vm-star-cancel.gsm
|
||||
share/asterisk/sounds/vm-starmain.gsm
|
||||
share/asterisk/sounds/vm-tempgreetactive.gsm
|
||||
share/asterisk/sounds/vm-tempgreeting.gsm
|
||||
share/asterisk/sounds/vm-tempgreeting2.gsm
|
||||
share/asterisk/sounds/vm-tempremoved.gsm
|
||||
share/asterisk/sounds/vm-then-pound.gsm
|
||||
share/asterisk/sounds/vm-theperson.gsm
|
||||
share/asterisk/sounds/vm-tmpexists.gsm
|
||||
share/asterisk/sounds/vm-tocallback.gsm
|
||||
share/asterisk/sounds/vm-tocallnum.gsm
|
||||
share/asterisk/sounds/vm-tocancel.gsm
|
||||
share/asterisk/sounds/vm-tocancelmsg.gsm
|
||||
share/asterisk/sounds/vm-toenternumber.gsm
|
||||
share/asterisk/sounds/vm-toforward.gsm
|
||||
share/asterisk/sounds/vm-tohearenv.gsm
|
||||
share/asterisk/sounds/vm-tomakecall.gsm
|
||||
share/asterisk/sounds/vm-tooshort.gsm
|
||||
share/asterisk/sounds/vm-toreply.gsm
|
||||
share/asterisk/sounds/vm-torerecord.gsm
|
||||
share/asterisk/sounds/vm-undelete.gsm
|
||||
share/asterisk/sounds/vm-undeleted.gsm
|
||||
share/asterisk/sounds/vm-unknown-caller.gsm
|
||||
share/asterisk/sounds/vm-whichbox.gsm
|
||||
share/asterisk/sounds/vm-youhave.gsm
|
||||
share/asterisk/static-http/ajamdemo.html
|
||||
share/asterisk/static-http/astman.css
|
||||
share/asterisk/static-http/astman.js
|
||||
share/asterisk/static-http/prototype.js
|
||||
@dirrm share/asterisk/static-http
|
||||
@dirrm share/asterisk/sounds/silence
|
||||
@dirrm share/asterisk/sounds/phonetic
|
||||
@dirrm share/asterisk/sounds/letters
|
||||
@dirrm share/asterisk/sounds/fr
|
||||
@dirrm share/asterisk/sounds/followme
|
||||
@dirrm share/asterisk/sounds/es
|
||||
@dirrm share/asterisk/sounds/digits
|
||||
@dirrm share/asterisk/sounds/dictate
|
||||
@dirrm share/asterisk/sounds
|
||||
@dirrm share/asterisk/moh
|
||||
@dirrm share/asterisk/keys
|
||||
@dirrm share/asterisk/images
|
||||
@dirrm share/asterisk/firmware/iax
|
||||
@dirrm share/asterisk/firmware
|
||||
@dirrm share/asterisk/agi-bin
|
||||
@dirrm share/asterisk
|
||||
@dirrm lib/asterisk/modules
|
||||
@dirrm lib/asterisk
|
||||
@dirrm include/asterisk
|
||||
@dirrmtry etc/asterisk
|
||||
@exec mkdir -p %D/share/asterisk/sounds/fr
|
||||
@exec mkdir -p %D/share/asterisk/sounds/es
|
||||
@cwd /var
|
||||
spool/asterisk/voicemail/default/1234/busy.gsm
|
||||
spool/asterisk/voicemail/default/1234/unavail.gsm
|
||||
@exec mkdir -p %D/log/asterisk/cdr-csv
|
||||
@exec mkdir -p %D/log/asterisk/cdr-custom
|
||||
@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX
|
||||
@exec mkdir -p %D/spool/asterisk/dictate
|
||||
@exec mkdir -p %D/spool/asterisk/meetme
|
||||
@exec mkdir -p %D/spool/asterisk/monitor
|
||||
@exec mkdir -p %D/spool/asterisk/system
|
||||
@exec mkdir -p %D/spool/asterisk/tmp
|
||||
@dirrm spool/asterisk/dictate
|
||||
@dirrm spool/asterisk/meetme
|
||||
@dirrm spool/asterisk/monitor
|
||||
@dirrm spool/asterisk/system
|
||||
@dirrm spool/asterisk/voicemail/default/1234/INBOX
|
||||
@dirrm spool/asterisk/voicemail/default/1234
|
||||
@dirrm spool/asterisk/voicemail/default
|
||||
@dirrm spool/asterisk/voicemail
|
||||
@dirrm spool/asterisk/tmp
|
||||
@dirrm spool/asterisk
|
||||
@dirrm log/asterisk/cdr-csv
|
||||
@dirrm log/asterisk/cdr-custom
|
||||
@dirrm log/asterisk
|
Loading…
Reference in a new issue