Hi list, 

I`m trying to discover where is the problem. So far, I`m putting some debug messages when the user makes a USSD call.

I put a debug message in the function abis_rsl.c:rsl_data_request(struct msgb *, uint8_t). I notice that OpenBSC always restarts in the "return abis_rsl_sendmsg(msg)" function call (always). Also,  the debug message I pyt in the abis_rsl_sendmsg function is never printed on screen.

Right after the debug message I put in the abis_rsl.c:rsl_data_request(struct msgb *, uint8_t), this message is shown on screen: <0004> abis_rsl.c:634 (bts=0,trx=0,ts=0,ss=0) DEACTivate SACCH CMD. Curiously, right after this debug message, the abis_rsl_sendmsg function is also called.

I don't know how the OpenBSC works, but what it seems to me is that two separate threads are calling this fuction, maybe this is the problem ? Do you guys know what I can try to do next?


Best Regards,




On Sat, Aug 31, 2013 at 11:25 AM, Maicon Kist <maicon.kist@inf.ufrgs.br> wrote:
Hi List, (sorry for the flood).

Any news about this error ? I'm planning to debug this error this weekend. But, I'm not familiar with the code and would appreciate any suggestion of where to start.


Best Regards,


On Mon, Aug 26, 2013 at 2:16 PM, Maicon Kist <maicon.kist@inf.ufrgs.br> wrote:
Hi  Alexander,

attached is the capture realized. I started the capture and realized two USSD calls.
If you need something, just ask.


Beset Regards,


On Mon, Aug 26, 2013 at 7:51 AM, Maicon Kist <maicon.kist@inf.ufrgs.br> wrote:
Hi Alexander,

I didn't even notice that the BTS restarts (it wasn't me).

I will send the capture as soon as possible.

Thank for all help.

Best Regards,



On Sun, Aug 25, 2013 at 4:50 AM, Alexander Chemeris <alexander.chemeris@gmail.com> wrote:
Maicon,

On Sun, Aug 25, 2013 at 12:53 AM, Maicon Kist <maicon.kist@inf.ufrgs.br> wrote:
> I think that line 10 is a log of the USSD call I made.

And after that your BTS restarts for some reason. Is that because you
manually restart it?

> Hope it helps. If you need more information, just ask. If you need, I can
> use other configurations or command options.

Could you enable GSMTAP in OsmoBTS by adding "-i 127.0.0.1" parameter
to osmobts-trx, capture traffic on the 4729 UDP port with
Wireshark/tshark and send the capture here?

It would be also helpful if you capture A-bis interface at the same
capture (TCP port 3002/3003).

PS List of the various TCP/UDP ports, used by Osmocom is available here:
http://openbsc.osmocom.org/trac/wiki/PortNumbers

--
Regards,
Alexander Chemeris.
CEO, Fairwaves LLC / ООО УмРадио
http://fairwaves.ru