Am Mon, 12 Jul 2010 16:48:12 +0200
schrieb Harald Welte <laforge(a)gnumonks.org>rg>:
I have now tried the current version of libosmocore +
openbsc and
tested SMS with the following phones:
* Nokia 3310
* HTC TyTN II
* Google/Android G1
* Sony-Ericsson K800i
* Motorola C123
It was working from all of them without any problem. I really cannot
reproduce the problem you are experiencing at all. Can you please
1) make sure you do a full rebuild (make distclean; ./configure;
make; make install) of both libosmocore and openbsc
2) send your openbsc.cfg that was used
Hi, Harald!
Thanks for your E-Mail.
I just tried the last version from git of libosmocore and OpenBSC.
I did a full rebuild in a new directory (no previous version).
I tried to send an SMS with my Siemens S65v (today I have just that or
NE110. No other phones...). Again not possible.
Attached the pcap-file of the try and my config-file.
I'm not sure what this "<0011> handover_logic.c:163 unable to find HO
record" means (see below):
lucabert@Luca:~/workspace/bscmanage/Debug$ /usr/local/sbin/bsc_hack -c lucabertBSC.cfg
DB: Database initialized.
DB: Database prepared.
<000d> input/ipaccess.c:632 accept()ed new OML link from 192.168.1.107
<0005> bsc_init.c:737 bootstrapping OML for BTS 0
<000d> input/ipaccess.c:694 accept()ed new RSL link from 192.168.1.107
<0004> bsc_init.c:1010 bootstrapping RSL for BTS/TRX (0/0) on ARFCN 123 using MCC=1
MNC=1 LAC=1 CID=0 BSIC=63 TSC=7
<0011> handover_logic.c:163 unable to find HO record
<0004> abis_rsl.c:942 (bts=0,trx=0,ts=0,ss=0): MEAS RES for inactive channel
<0004> abis_rsl.c:1363 RF release on (bts=0,trx=0,ts=2,ss=0) but state ACTIVE
<0004> abis_rsl.c:1051 (bts=0,trx=0,ts=2,ss=0) CHAN REL ACK but state ACTIVE
<0004> abis_rsl.c:1363 RF release on (bts=0,trx=0,ts=2,ss=0) but state NONE
<0004> abis_rsl.c:1051 (bts=0,trx=0,ts=2,ss=0) CHAN REL ACK but state NONE
signal 2 received
<0005> bsc_init.c:753 shutting down OML for BTS 0
If I see in the DB after trying to send the SMS I found:
sqlite> select * from sms;
id|created|sent|sender_id|receiver_id|deliver_attempts|valid_until|reply_path_req|status_rep_req|protocol_id|data_coding_scheme|ud_hdr_ind|dest_addr|user_data|header|text
53|2010-07-01 14:31:42||15|1|0|134727356|0|32|0|0|0|1000|�4||Ok
66|2010-07-02 06:56:16|2010-07-02 07:47:26|11|14|0|134721918|0|0|34|0|0|12345|@�||Abb
67|2010-07-02 06:56:35|2010-07-02 12:56:33|11|1|0|134721918|0|0|34|0|0|1000|@�||Abb
�||Test-07-13 06:43:02||11|1|0|134727872|0|0|34|0|0|1000|�
�||Test-07-13 06:43:14||11|1|0|134727872|0|0|34|0|0|1000|�
�||Test-07-13 06:43:28||11|1|0|134727872|0|0|34|0|0|1000|�
(the first 3 SMS comes from a previous version of OpenBSC, that works).
I use a nanoBTS900 and on my PC runs a KUbuntu Hardy (8.04).
I tried the same on a Debian lenny (last version of libosmocore and OpenBSC,
same configuration). Unfortunately, same result.
Attached the pcap-file generated on the lenny-PC.
Here what I see in the console of lenny:
lucabert@debian503:/tmp$ /usr/local/sbin/bsc_hack -c /tmp/lucabertBSC.cfg
DB: Database initialized.
DB: Database prepared.
<000d> input/ipaccess.c:632 accept()ed new OML link from 192.168.1.107
<0005> bsc_init.c:737 bootstrapping OML for BTS 0
<000d> input/ipaccess.c:694 accept()ed new RSL link from 192.168.1.107
<0004> bsc_init.c:1010 bootstrapping RSL for BTS/TRX (0/0) on ARFCN 123 using MCC=1
MNC=1 LAC=1 CID=0 BSIC=63 TSC=7
<0011> handover_logic.c:163 unable to find HO record
<0004> abis_rsl.c:942 (bts=0,trx=0,ts=0,ss=0): MEAS RES for inactive channel
<0004> bsc_api.c:99 Got data in non active state. discarding.
<0004> abis_rsl.c:942 (bts=0,trx=0,ts=0,ss=0): MEAS RES for inactive channel
<0004> abis_rsl.c:1363 RF release on (bts=0,trx=0,ts=2,ss=0) but state ACTIVE
<0004> abis_rsl.c:1051 (bts=0,trx=0,ts=2,ss=0) CHAN REL ACK but state ACTIVE
<0004> abis_rsl.c:1363 RF release on (bts=0,trx=0,ts=2,ss=0) but state NONE
<0004> abis_rsl.c:1051 (bts=0,trx=0,ts=2,ss=0) CHAN REL ACK but state NONE
^Csignal 2 received
<0005> bsc_init.c:753 shutting down OML for BTS 0
Thanks a lot for your answer
Luca
--
_______________________________________________________________________
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
_______________________________________________________________________