This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
jason mercury jmercury313 at gmail.comHi, I am trying to install a OpenBSC+LCR+Asterisk system according to the how to send to the mail list by Konrad Meier on *Tue Oct 12 18:27:33 2010. *During installation of LCR I got following error: make[1]: Entering directory `/home/idb/openbsc/lcr' gcc -DWITH_GSM_BS -I./openbsc/include -I./libosmocore/include -I./openbsc -Wall -DCONFIG_DATA="\"/usr/local/lcr\"" -DSHARE_DATA="\"/usr/local/lcr\"" -DLOG_DIR="\"/usr/local/lcr\"" -DEXTENSION_DATA="\"/usr/local/lcr/extensions\"" -D_GNU_SOURCE -fPIC -c chan_lcr.c -o chan_lcr.po chan_lcr.c: In function ‘lcr_indicate’: chan_lcr.c:2274: warning: assignment from incompatible pointer type chan_lcr.c:2289: warning: assignment from incompatible pointer type chan_lcr.c:2316: warning: assignment from incompatible pointer type chan_lcr.c:2381: error: dereferencing pointer to incomplete type chan_lcr.c:2382: error: dereferencing pointer to incomplete type chan_lcr.c: In function ‘load_module’: chan_lcr.c:2818: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type /usr/include/asterisk/module.h:427: note: expected ‘int (*)(struct ast_channel *, void *)’ but argument is of type ‘int (*)(struct ast_channel *, void *)’ make[1]: *** [chan_lcr.po] Error 1 make[1]: Leaving directory `/home/idb/openbsc/lcr' make: *** [all] Error 2 Why is this occur? My ubuntu kernel is 2.6.32-24-generic and i exactly followed the steps. I am attaching that how to again. I also couldn't git check out OpenBSC, LCR , mISDN, mISDNuser and i download them from http://www.linux-call-router.de/download/lcr-1.7/. I want to ask that why i can't git clone. When i try to git clone i take following: git clone git://git.misdn.org/git/lcr.git/ Initialized empty Git repository in /home/idb/op/lcr/.git/ fatal: The remote end hung up unexpectedly If any you have idea please help. Thanks. Jason. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20101223/259f0d06/attachment.htm> -------------- next part -------------- sudo apt-get install linux-source build-essential autoconf automake libtool libgsm1-dev libdbi0-dev \ libdbd-sqlite3 git-core asterisk asterisk-dev ncurses-base libncurses5-dev libncursesw5-dev sqlite3 pkg-config cd /usr/src sudo tar xvfj linux-source-2.6.32.tar.bz2 cd linux-source-2.6.32 sudo make oldconfig cd /lib/modules/2.6.32-24-generic/ sudo ln -s /usr/src/linux-source-2.6.32 source cd mkdir openbsc cd openbsc git clone git://git.misdn.org/git/mISDN.git/ git clone git://git.misdn.org/git/mISDNuser.git/ git clone git://git.osmocom.org/libosmocore.git git clone git://bs11-abis.gnumonks.org/openbsc.git git clone git://git.misdn.org/git/lcr.git/ cd mISDN ./configure cp mISDN.cfg.default standalone/mISDN.cfg make modules sudo make modules-install cd ../mISDNuser ./configure make sudo make install cd ../libosmocore/ git checkout 43558316bc4e6ddac92dd198b07a4803c21dc77b autoreconf -i ./configure make sudo make install cd ../openbsc/openbsc/ git checkout 305e2906aae7dbf45204f043394719c9a06c1227 autoreconf --install --force ./configure make cd ../../lcr git checkout 69475c77e1b5eef4f101f0bf108a89d04ccd833b git checkout mit der Version vom 6 Aug ln -s ../libosmocore/ . ln -s ../openbsc/openbsc/ . sh autogen.sh wget http://openbsc.osmocom.org/trac/raw-attachment/wiki/OpenBSC_LCR/lcrOpenBSC.patch git apply --verbose lcrOpenBSC.patch ./configure --prefix=/opt/lcr --with-asterisk --with-gsm-bs vim gsm_bs.cpp: change on line 60 PACKAGE_VERSION to "1.7" make sudo make install sudo cp chan_lcr.so /usr/lib/asterisk/modules/ cd /usr/local/lcr sudo vim options.conf uncomment the following lines: debug 0xffff lock /var/tmp socketuser asterisk socketgroup asterisk gsm sudo vim interface.conf uncomment the first [GSM] section add: extern [GSM] gsm-bs nt layer1hold no layer2hold no tones yes earlyb no channel-in free channel-out any nodtmf sudo vim gsm.conf uncomment both interfaces debug DRLL:DCC:DMM:DRR:DRSL:DNM:DSMS:DMNCC:DMNSMS:DPAG:DMUX:DMEAS config /usr/local/lcr/openbsc.cfg hlr /usr/local/lcr/hlr.sqlite3 sudo vim routing.conf on the [extern] section add: interface=GSM remote=asterisk : remote application=asterisk context=btsctrl sudo vim /etc/asterisk/modules.conf add under [modules]: load => chan_lcr.so start lcr: (sudo modprobe mISDN_core) sudo modprobe mISDN_dsp sudo modprobe mISDN_l1loop pri=1 nchannel=8 i couldn't load the l1loop. the following error has appeared (after modprobe mISDN_core and _dsp): FATAL: Module mISDN_l1loop not found. Solution: sudo depmod -a After that, i could do sudo modprobe mISDN_l1loop pri=1 nchannel=8 Proof it: sudo misdn_info Found 2 ports Port 0 'mISDN_l1loop.1': TE/NT-mode PRI E1 (for phone lines & E1 devices) 8 B-channels: 1-8 B-protocols: RAW HDLC X75slp L2:DSP L2:DSPHDLC -------- Port 1 'mISDN_l1loop.2': TE/NT-mode PRI E1 (for phone lines & E1 devices) 8 B-channels: 1-8 B-protocols: RAW HDLC X75slp L2:DSP L2:DSPHDLC cd