osmocom+c118+openbts send sms :
https://youtu.be/r_U7DKFYuqo
blog:http://gsmsuperben.blogspot.my/2016/07/ ... d-sms.html
First you need to successfully install osmocom:
http://gsmsuperben.blogspot.my/2016/07/ ... iffer.html
Assuming you have installed the gnu-arm-build.3.sh
1:Download and compile osmocomBB and libosmo-dsp
$ git clone git://git.osmocom.org/libosmocore.git
$ git clone git://git.osmocom.org/libosmo-dsp.git
$ git clone git://git.osmocom.org/osmocom-bb.git
$ sudo apt-get install libfftw3-dev libfftw3-doc
When installing libosmocore execute ./configure many people will encounter No package 'talloc' found such a mistake , because they can not talloc, Here is the solution
$ wget https://www.samba.org/ftp/talloc/talloc-2.1.7.tar.gz
$ tar -zxvf talloc-2.1.7.tar.gz
$ cd talloc-2.1.7/
$ ./configure
$ make
$ sudo make install
install libosmocore
$ cd libosmocore/
$ autoreconf -i
$ ./configure
$ make
$ sudo make install
$ cd ..
install libosmo-dsp
$ cd libosmo-dsp/
$ autoreconf -i
$ ./configure
$ make
$ sudo make install
Compile osmocombb
$ cd osmocom-bb
$ git checkout sylvain/testing
$ cd src
$ make HOST_layer23_CONFARGS=--enable-transceiver
2:Download openbts and install dependencies(The best use of root privileges)
$ su
$ apt-get install subversion
$ svn co http://wush.net/svn/range/software/public
$ sudo apt-get install autoconf libtool libosip2-dev libortp-dev libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang libreadline6-dev libncurses5-dev
3:install openbts
$ cd pubilc
$ cd a53/trunk
$ make install
$ cd openbts/trunk
$ autoreconf -i
$ ./configure
$ make
$ cd apps
$ ln -s ../TransceiverRAD1/transceiver .
$ cd ..
$ sudo mkdir /etc/OpenBTS
$ sudo sqlite3 -init ./apps/OpenBTS.example.sql /etc/OpenBTS/OpenBTS.db ".quit"
$ sqlite3 /etc/OpenBTS/OpenBTS.db .dump
$ sudo mkdir -p /var/lib/asterisk/sqlite3dir
4:install sipauthserve
in pubilc
$ cd subscriberRegistry/trunk
$ make
$ sudo sqlite3 -init subscriberRegistry.example.sql /etc/OpenBTS/sipauthserve.db ".quit"
5:install smqueue
in public
$ cd smqueue/trunk
$ autoreconf -i
$ ./configure
$ make
$ sudo sqlite3 -init smqueue/smqueue.example.sql /etc/OpenBTS/smqueue.db ".quit"
6:open all
osmocom:
$ osmocom-bb/src/host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/compal_e88/trx.compalram.bin
transceiver:
$ osmocom-bb/src/host/layer23/src/transceiver/transceiver ARFCN
smqueue:
$ public/smqueue/trunk/smqueue/smqueue
sipauthserve:
$ public/subscriberRegistry/trunk/sipauthserve
OpenBTS:
$ public/openbts/trunk/apps/OpenBTS
$ public/openbts/trunk/apps/OpenBTSCLI
7:Configuration openbts
OpenBTSCLI
$ config
$ config Control.LUR.OpenRegistration .*
$ config GSM.Radio.Band 900
$ config GSM.Radio.C0 YOU transceiver ARFCN
$ config GSM.Identity.MCC 001
$ config GSM.Identity.MNC 01
(001 01 test)
Configuration is complete, reboot your openbts
8:Mobile search and access OpenBTS
9:View tmsis
OpenBTSCLI
$ tmsis
10:try send sms
OpenBTSCLI
$ sendsms YOUTMSIS number messege