aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 17:45:12 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 17:45:12 +0800
commit47765719898539bd9c1be02825283ae1fc1a6108 (patch)
tree80906b5be7c6f253c13a2f9d01ffca1528b3be57
parent35948551fd07441af1fa3a9d4985b08fdbdc7a33 (diff)
bsc_ussd: Add a dummy USSD module...used for welcome SMS
-rw-r--r--include/Makefile.am2
-rw-r--r--include/bsc_ussd.h25
-rw-r--r--src/Makefile.am2
-rw-r--r--src/bsc_ussd.c23
4 files changed, 50 insertions, 2 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 4b33dcd..a0a54b9 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,5 +1,5 @@
noinst_HEADERS = mtp_level3.h mtp_data.h ipaccess.h thread.h mtp_pcap.h \
mgcp_ss7.h bss_patch.h bssap_sccp.h bsc_data.h udp_input.h \
- snmp_mtp.h cellmgr_debug.h bsc_sccp.h
+ snmp_mtp.h cellmgr_debug.h bsc_sccp.h bsc_ussd.h
SUBDIRS = mgcp
diff --git a/include/bsc_ussd.h b/include/bsc_ussd.h
new file mode 100644
index 0000000..57eb4d4
--- /dev/null
+++ b/include/bsc_ussd.h
@@ -0,0 +1,25 @@
+/*
+ * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org>
+ * (C) 2010 by On-Waves
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+#ifndef bsc_ussd_h
+#define bsc_ussd_h
+
+#endif
diff --git a/src/Makefile.am b/src/Makefile.am
index 186c97e..e420387 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,7 +10,7 @@ mgcp_mgw_LDADD = $(LAFORGE_LIBS) $(NEXUSWARE_C7_LIBS) $(NEXUSWARE_UNIPORTE_LIBS)
$(LIBOSMOVTY_LIBS) $(LIBOSMOCORE_LIBS) -lpthread
cellmgr_ng_SOURCES = main.c mtp_layer3.c thread.c input/ipaccess.c pcap.c \
- bss_patch.c bssap_sccp.c bsc_sccp.c \
+ bss_patch.c bssap_sccp.c bsc_sccp.c bsc_ussd.c \
msc_conn.c link_udp.c snmp_mtp.c debug.c vty_interface.c
cellmgr_ng_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOSCCP_LIBS) $(LIBOSMOVTY_LIBS) $(NEXUSWARE_C7_LIBS) \
-lpthread -lnetsnmp -lcrypto
diff --git a/src/bsc_ussd.c b/src/bsc_ussd.c
new file mode 100644
index 0000000..42d41c4
--- /dev/null
+++ b/src/bsc_ussd.c
@@ -0,0 +1,23 @@
+/* A USSD Module */
+/*
+ * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org>
+ * (C) 2010 by On-Waves
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+#include <bsc_data.h>