Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

вот исходный у меня собралась но: #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ASN/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4916,7 +4916,7 @@ check: ${TARGET}
@echo ================

distclean: clean
rm -f $(ASN_MODULE_SOURCES)
rm -f $(ASN_MODULE_HEADERS)
rm -f $(ASN_CONVERTER_SOURCES) $(ASN_CONVERTER_HEADERS)
#rm -f $(ASN_MODULE_SOURCES)
#rm -f $(ASN_MODULE_HEADERS)
#rm -f $(ASN_CONVERTER_SOURCES) $(ASN_CONVERTER_HEADERS)
rm -f Makefile.am.sample
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ Welcome to the OpenBTS-UMTS source code

For information on supported hardware, and build, install, setup and run instructions see [the wiki page](http://openbts.org/w/index.php/OpenBTS-UMTS).

Notes for this fork:
Run ./install_dependences.sh before installation


./autogen.sh
./configure
make
sudo make install
4 changes: 2 additions & 2 deletions SGSNGGSN/Sgsn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void SgsnInfo::sirm()
{
std::ostringstream ss;
sgsnInfoDump(this,ss);
SGSNLOG("Removing SgsnInfo:"<<ss);
SGSNLOG(string("Removing SgsnInfo: ") + ss.str());
sSgsnInfoList.remove(this);
delete this;
}
Expand Down Expand Up @@ -221,7 +221,7 @@ static void GmmRemove(GmmInfo *gmm)
{
std::ostringstream ss;
gmmInfoDump(gmm,ss,0);
SGSNLOG("Removing gmm:"<<ss);
SGSNLOG(string("Removing gmm: ") + ss.str());
SgsnInfo *si;
RN_FOR_ALL(SgsnInfoList_t,sSgsnInfoList,si) {
// The second test here should be redundant.
Expand Down
2 changes: 1 addition & 1 deletion SIP/SIPInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ const char* extractIMSI(const osip_message_t *msg)
unsigned namelen = strlen(IMSI);
if ((namelen>19)||(namelen<18)) {
LOG(WARNING) << "INVITE with malformed username \"" << IMSI << "\"";
return false;
return nullptr;
}
// Skip first 4 char "IMSI".
return IMSI+4;
Expand Down
2 changes: 1 addition & 1 deletion SMS/SMSMessages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RPData *SMS::hex2rpdata(const char *hexstring)

BitVector RPDUbits(strlen(hexstring)*4);
if (!RPDUbits.unhex(hexstring)) {
return false;
return nullptr;
}
LOG(DEBUG) << "SMS RPDU bits: " << RPDUbits;

Expand Down
2 changes: 1 addition & 1 deletion UMTS/UMTSRadioModem.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class RadioModem
friend void *RACHLoopAdapter(RadioModem*);
friend void *DCHLoopAdapter(DCHLoopInfo*);

static const float mRACHThreshold = 10.0;
static constexpr float mRACHThreshold = 10.0;


private:
Expand Down
11 changes: 11 additions & 0 deletions install_dependences.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
sudo apt-get install git autoconf libtool libtool-bin gpp g++ libzmq3-dev pkg-config libosip2-dev libortp-dev libusb-dev libusb-1.0-0-dev libreadline-dev libsqlite3-dev libuhd-dev -y

git submodule init
git submodule update

tar -xvzf asn1c-0.9.23.tar.gz
cd ./vlm-asn1c-0959ffb/
./configure
make
sudo make install
cd ../