[asterisk-commits] rmudgett: branch rmudgett/native_dahdi r394022 - /team/rmudgett/native_dahdi/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 10 16:50:13 CDT 2013
Author: rmudgett
Date: Wed Jul 10 16:50:11 2013
New Revision: 394022
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394022
Log:
Create native DAHDI bridge file stubs.
Added:
team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c (with props)
team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h (with props)
Modified:
team/rmudgett/native_dahdi/channels/Makefile
Modified: team/rmudgett/native_dahdi/channels/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/native_dahdi/channels/Makefile?view=diff&rev=394022&r1=394021&r2=394022
==============================================================================
--- team/rmudgett/native_dahdi/channels/Makefile (original)
+++ team/rmudgett/native_dahdi/channels/Makefile Wed Jul 10 16:50:11 2013
@@ -1,6 +1,6 @@
#
# Asterisk -- An open source telephony toolkit.
-#
+#
# Makefile for channel drivers
#
# Copyright (C) 1999-2006, Digium, Inc.
@@ -72,10 +72,19 @@
$(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): $(subst .c,.o,$(wildcard iax2/*.c))
$(subst .c,.o,$(wildcard iax2/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_iax2)
+
$(if $(filter chan_sip,$(EMBEDDED_MODS)),modules.link,chan_sip.so): $(subst .c,.o,$(wildcard sip/*.c))
$(subst .c,.o,$(wildcard sip/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_sip)
-$(if $(filter chan_dahdi,$(EMBEDDED_MODS)),modules.link,chan_dahdi.so): sig_analog.o sig_pri.o sig_ss7.o
-sig_analog.o sig_pri.o sig_ss7.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_dahdi)
+
+# Additional objects to combine with chan_dahdi.so
+CHAN_DAHDI_OBJS= \
+ bridge_native_dahdi.o \
+ sig_analog.o \
+ sig_pri.o \
+ sig_ss7.o \
+
+$(if $(filter chan_dahdi,$(EMBEDDED_MODS)),modules.link,chan_dahdi.so): $(CHAN_DAHDI_OBJS)
+$(CHAN_DAHDI_OBJS): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_dahdi)
ifneq ($(filter chan_h323,$(EMBEDDED_MODS)),)
modules.link: h323/libchanh323.a
Added: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c?view=auto&rev=394022
==============================================================================
--- team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c (added)
+++ team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c Wed Jul 10 16:50:11 2013
@@ -1,0 +1,38 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2013 Digium, Inc.
+ *
+ * Richard Mudgett <rmudgett at digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*!
+ * \file
+ * \brief Native DAHDI bridging support.
+ *
+ * \author Richard Mudgett <rmudgett at digium.com>
+ *
+ * See Also:
+ * \arg \ref AstCREDITS
+ */
+
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
+#include "bridge_native_dahdi.h"
+
+/* ------------------------------------------------------------------- */
+
+
Propchange: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.c
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h?view=auto&rev=394022
==============================================================================
--- team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h (added)
+++ team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h Wed Jul 10 16:50:11 2013
@@ -1,0 +1,46 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2013 Digium, Inc.
+ *
+ * Richard Mudgett <rmudgett at digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*!
+ * \file
+ * \brief Native DAHDI bridging support.
+ *
+ * \author Richard Mudgett <rmudgett at digium.com>
+ *
+ * See Also:
+ * \arg \ref AstCREDITS
+ */
+
+#ifndef _ASTERISK_BRIDGE_NATIVE_DAHDI_H
+#define _ASTERISK_BRIDGE_NATIVE_DAHDI_H
+
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
+
+/* ------------------------------------------------------------------- */
+
+
+
+/* ------------------------------------------------------------------- */
+
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
+
+#endif /* _ASTERISK_BRIDGE_NATIVE_DAHDI_H */
Propchange: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: team/rmudgett/native_dahdi/channels/bridge_native_dahdi.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list