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,