From f1033cc752cfeb5f86e6f2357ce62637646f773f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 8 Nov 2012 16:14:37 +0100 Subject: Initial support of SMPP interface for MT-SMS --- openbsc/src/osmo-nitb/Makefile.am | 4 ++-- openbsc/src/osmo-nitb/bsc_hack.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'openbsc/src/osmo-nitb') diff --git a/openbsc/src/osmo-nitb/Makefile.am b/openbsc/src/osmo-nitb/Makefile.am index bfea9f89f..dc692323d 100644 --- a/openbsc/src/osmo-nitb/Makefile.am +++ b/openbsc/src/osmo-nitb/Makefile.am @@ -1,7 +1,7 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) AM_CFLAGS=-Wall $(COVERAGE_CFLAGS) \ $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) \ - $(LIBOSMOABIS_CFLAGS) + $(LIBOSMOABIS_CFLAGS) $(LIBSMPP34_CFLAGS) AM_LDFLAGS = $(COVERAGE_LDFLAGS) @@ -17,4 +17,4 @@ osmo_nitb_LDADD = \ $(top_builddir)/src/libcommon/libcommon.a \ -ldbi -ldl $(LIBCRYPT) \ $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOCORE_LIBS) \ - $(LIBOSMOABIS_LIBS) + $(LIBOSMOABIS_LIBS) $(LIBSMPP34_LIBS) diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c index 7427ead96..fa38f1f3f 100644 --- a/openbsc/src/osmo-nitb/bsc_hack.c +++ b/openbsc/src/osmo-nitb/bsc_hack.c @@ -313,6 +313,9 @@ int main(int argc, char **argv) if (sms_queue_start(bsc_gsmnet, 20) != 0) return -1; + if (smpp_openbsc_init(bsc_gsmnet, 6040) < 0) + return -1; + if (daemonize) { rc = osmo_daemonize(); if (rc < 0) { -- cgit v1.2.3