Tobias Engel wrote:
Strangely, that happens with most "modern"
HTC phones i have tried
right after logging into the network, rendering them completely useless
for use with OpenBSC
Confirm. Many HTC phones had problems both at camp and congress.
+++ b/openbsc/src/libmsc/ussd.c
@@ -54,7 +54,7 @@ int handle_rcv_ussd(struct gsm_subscriber_connection
*conn, struct msgb *msg)
if (req.text[0] == 0xFF) /* Release-Complete */
return 0;
- if (strstr(USSD_TEXT_OWN_NUMBER, req.text) != NULL) {
+ if (strcmp(USSD_TEXT_OWN_NUMBER, (const char *) req.text) == 0) {
Yay! I hope it gets included soon!
//Peter