Hi,
I've rewritten the GSM 7 bit default encoding as the current
implementation results in wrong encoding for certain
characters, e.g. '@'. The septet packing lacked the lookup
and this only worked for characters that had a 1-1 mapping
between their ascii value and the default alphabet table. I
introduced a lookup table and now do the character
translation before packing the data. Patch is attached.
I guess the decoding needs to be rewritten as well and I may
provide a patch for that in the future as well. For now the
encoding produced enough headaches for me :)
I adjusted the copyright stanza in these files but I'm not
completely sure if this is appropriate or not, so feel free
to remove, I won't be offended :)
Cheers
Nico
Hi,
Is there a version of Scapy with the GSM protocol layers that I can use with
the ipaccess-proxy, as discussed in Harold Welte's presentation?
Many thanks,
Steve
Hi guys,
Today I git-cloned the latest version opnbsc/libosmocore and built it
successfully.
But when running the nanoBTS900, no BCCH is sent, just the carrier signal.
I can confirm this, because I've two nanoBTSs, one 900 and the other
1800, the 1800 version works well.
With a special gsm module (Telit), I can perform a scan for the
available BCCHs in the environment.
Anyone recognize this?
Hi, List!
I'm trying to get OpenBSC working with Asterisk.
I have a working configuration of Asterisk, and a working configuration
of OpenBSC.
I use a nanoBTS DSC1800.
The O.S. is Debian lenny and I have a Cologne Chip Designs GmbH ISDN
network Controller [HFC-E1] ISDN card.
In my interface.conf I just have:
[GSM]
gsm-bs
nt
layer1hold no
layer2hold no
tones yes
earlyb no
channel-in free
channel-out any
nodtmf
My gsm.conf:
interface-bsc mISDN_l1loop.1
interface-lcr mISDN_l1loop.2
debug DRLL:DCC:DMM:DRR:DRSL:DNM:DSMS:DMNCC:DMNSMS:DPAG:DMUX:DMEAS
config /home/lucabert/bscAsterisk/lucabertBSC.cfg
hlr /home/lucabert/bscAsterisk/hlr.sqlite3
In my options.conf I have a line:
gsm
and in my routing.conf I have this line by [main]:
interface=GSM : remote application=asterisk context=btsctrl
Now I start LCR (as root):
/usr/local/sbin/lcr start
It starts and wait until the nanoBTS log in.
Then, when I try to use the net with my mobile, LCR crashes.
I generated a core file. With gdb I see:
Program terminated with signal 11, Segmentation fault.
[New process 4026]
[New process 4029]
#0 0x0805b009 in gsm0408_rcvmsg (msg=0x864ffb8, link_id=0 '\0') at openbsc/src/bsc_api.c:111
111 rc = api->compl_l3(lchan->conn, msg, 0);
The problem seems to be the variable api, which is NULL.
(gdb) print api
$1 = (struct bsc_api *) 0x0
Can someone help me? I use OpenBSC 0.9.0.967-02d3 and LCR 1.7
(both downloaded yesterday with git clone).
Thanks a lot for your help
--
_______________________________________________________________________
Luca Bertoncello
Entwicklung Mail: bertoncello(a)netzing.de
NETZING Solutions AG Tel.: 0351/41381 - 0
Kesselsdorfer Str. 216, 01169 Dresden Fax: 0351/41381 - 12
HRB 18926 / Ust.ID DE211326547 Mail: netzing.ag(a)netzing.de
_______________________________________________________________________
> As I don't have access to a nanoBTS I never tried it, but you could take a
> look at Sylvain's chan_openbsc for Asterisk
> (http://github.com/smunaut/ast_chan_openbsc).
Yeah, that probably doesn't work anymore.
Yet another thing I must finish. But that's pretty low on my list ...
Sylvain
Hello guys,
I want to change a nanoBTS's id, so I can control two BTSs each as a
seperate BTS (not as a seperate TRX).
But this is what I get:
$ ./ipaccess-config -u 1801/1/0 10.100.2.27
ipaccess-config (C) 2009-2010 by Harald Welte and others
This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY
Trying to connect to ip.access BTS ...
<0005> abis_nm.c:518 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07)
<0005> abis_nm.c:518 OC=BTS(01) INST=(00,ff,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) STATE
CHG: OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
OML link established using TRX 0
setting Unit ID to '1801/1/0'
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,00) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,01) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,02) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,03) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,04) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,05) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,06) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=CHANNEL(03) INST=(00,00,07) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=GPRS-NSE(f0) INST=(00,ff,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=GPRS-CELL(f1) INST=(00,00,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=GPRS-NSVC(f2) INST=(00,00,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=GPRS-NSVC(f2) INST=(00,01,ff) STATE CHG:
OP_STATE=Disabled AVAIL=Not installed(07) ADM=Locked
<0005> abis_nm.c:518 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff)
IPACCESS(0xf1): <0005> abis_nm.c:2757 SET NVATTR NACK CAUSE=Parameter
value outside permitted range
Failure to set attribute. This seems fatal
Is this familiar to you?
Thank you.