[svn-commits] rmudgett: branch rmudgett/sig_ss7 r260438 - /team/rmudgett/sig_ss7/channels/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Apr 30 17:42:54 CDT 2010


Author: rmudgett
Date: Fri Apr 30 17:42:50 2010
New Revision: 260438

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=260438
Log:
Initial creation of the sig_ss7 module component.

Added:
    team/rmudgett/sig_ss7/channels/sig_ss7.c   (with props)
    team/rmudgett/sig_ss7/channels/sig_ss7.h   (with props)
Modified:
    team/rmudgett/sig_ss7/channels/Makefile
    team/rmudgett/sig_ss7/channels/chan_dahdi.c

Modified: team/rmudgett/sig_ss7/channels/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/sig_ss7/channels/Makefile?view=diff&rev=260438&r1=260437&r2=260438
==============================================================================
--- team/rmudgett/sig_ss7/channels/Makefile (original)
+++ team/rmudgett/sig_ss7/channels/Makefile Fri Apr 30 17:42:50 2010
@@ -73,8 +73,8 @@
 iax2-parser.o iax2-provision.o: _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_analog.o sig_pri.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_dahdi)
+$(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)
 
 ifneq ($(filter chan_h323,$(EMBEDDED_MODS)),)
 modules.link: h323/libchanh323.a

Modified: team/rmudgett/sig_ss7/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/sig_ss7/channels/chan_dahdi.c?view=diff&rev=260438&r1=260437&r2=260438
==============================================================================
--- team/rmudgett/sig_ss7/channels/chan_dahdi.c (original)
+++ team/rmudgett/sig_ss7/channels/chan_dahdi.c Fri Apr 30 17:42:50 2010
@@ -74,10 +74,7 @@
 #endif
 
 #ifdef HAVE_SS7
-/* put this here until sig_ss7 comes along */
-#define SIG_SS7_NUM_DCHANS		4		/*!< No more than 4 d-channels */
-#define SIG_SS7_MAX_CHANNELS	672		/*!< No more than a DS3 per trunk group */
-#include <libss7.h>
+#include "sig_ss7.h"
 #endif
 
 #ifdef HAVE_OPENR2

Added: team/rmudgett/sig_ss7/channels/sig_ss7.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/sig_ss7/channels/sig_ss7.c?view=auto&rev=260438
==============================================================================
--- team/rmudgett/sig_ss7/channels/sig_ss7.c (added)
+++ team/rmudgett/sig_ss7/channels/sig_ss7.c Fri Apr 30 17:42:50 2010
@@ -1,0 +1,41 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2010 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 SS7 signaling module.
+ *
+ * \author Richard Mudgett <rmudgett at digium.com>
+ *
+ * See Also:
+ * \arg \ref AstCREDITS
+ */
+
+
+#include "asterisk.h"
+
+#if defined(HAVE_SS7)
+
+#include "sig_ss7.h"
+
+/* ------------------------------------------------------------------- */
+
+/* ------------------------------------------------------------------- */
+
+#endif	/* defined(HAVE_SS7) */
+/* end sig_ss7.c */

Propchange: team/rmudgett/sig_ss7/channels/sig_ss7.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/rmudgett/sig_ss7/channels/sig_ss7.c
------------------------------------------------------------------------------
    svn:keywords = 'Author Date Id Revision'

Propchange: team/rmudgett/sig_ss7/channels/sig_ss7.c
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/rmudgett/sig_ss7/channels/sig_ss7.h
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/sig_ss7/channels/sig_ss7.h?view=auto&rev=260438
==============================================================================
--- team/rmudgett/sig_ss7/channels/sig_ss7.h (added)
+++ team/rmudgett/sig_ss7/channels/sig_ss7.h Fri Apr 30 17:42:50 2010
@@ -1,0 +1,53 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2010 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 Interface header for SS7 signaling module.
+ *
+ * \author Richard Mudgett <rmudgett at digium.com>
+ *
+ * See Also:
+ * \arg \ref AstCREDITS
+ */
+
+#ifndef _ASTERISK_SIG_SS7_H
+#define _ASTERISK_SIG_SS7_H
+
+#include <libss7.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* ------------------------------------------------------------------- */
+
+
+#define SIG_SS7_NUM_DCHANS		4		/*!< No more than 4 d-channels */
+#define SIG_SS7_MAX_CHANNELS	672		/*!< No more than a DS3 per trunk group */
+
+
+/* ------------------------------------------------------------------- */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif	/* _ASTERISK_SIG_SS7_H */
+/* ------------------------------------------------------------------- */
+/* end sig_ss7.h */

Propchange: team/rmudgett/sig_ss7/channels/sig_ss7.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/rmudgett/sig_ss7/channels/sig_ss7.h
------------------------------------------------------------------------------
    svn:keywords = 'Author Date Id Revision'

Propchange: team/rmudgett/sig_ss7/channels/sig_ss7.h
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the svn-commits mailing list