Decode USSD request | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through June 24, 2009 ⬆ |
◄ ► |
Author | Message | ||||||
KKW New member Username: Kkw Post Number: 15 Registered: 01-2009 |
we connected mobile operator via SMPP to receive USSD request from our user and pass to our application by 2-way sms, however the message received by the application become ????, any idea how to decode the USSD request ? smppdebug log and network capture attached. thx kk
| ||||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 883 Registered: 08-2008 |
Hi kk, I think NowSMS is getting confused by the data_coding value in the message. The value that you're receiving (0x0F) is actually a reserved value. However, when NowSMS parses it, it is ignoring the reserved bit, and decides that the Unicode bit is set. That's what is causing the message to be interpreted incorrectly. Technically, any message with a reserved value should be interpreted as text. So NowSMS is wrong to be trying to decode it as Unicode. I'm going to have to refer this back to engineering to get a fix. -- Des NowSMS Support | ||||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 888 Registered: 08-2008 |
Hi kk, I wanted to give you a follow-up. Engineering agrees with my diagnosis, we've just got to make and test a change to treat messages with the reserved bits set as text messages instead of binary or Unicode. We should have a patch for you in about 24-36 hours. I'll post a reply here when it is ready. -- Des NowSMS Support | ||||||
Darius New member Username: Darius Post Number: 7 Registered: 05-2009 |
Hi Des, I am looking for solution, how to emulate USSD Gateway, as I am running demo USSD short codes - based application. Please let me know what is a way to have your NowSMS app to act as USSD Gateway , to let me integrate USSD Gateway with SMS Gateway and MySQL Database Sedrver. | ||||||
Darius New member Username: Darius Post Number: 8 Registered: 05-2009 |
Hi Kkw, in the meantime I read more about SMPP Protocol from Wikipedia http://en.wikipedia.org/wiki/Short_message_peer-to-peer_protocol Could you kindly let me know how to start tests of USSD based application (one sending short codes and receiving reponses) ? Ok. I wrote basic Linux shell script to send short codes for balance check and more, and I can receive USSD Gateway menu responses. The issue is I want to set up USSD Gateway for tests, on my own and have it connected to MySQL Database running server. What I see, your approach is to have USSD reponse replaced by 2-way SMS service. I plan to test mobile banking application with USSD menu interface. | ||||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 889 Registered: 08-2008 |
Hi kk, It took a little longer than I thought it would. But I've posted an update at http://www.nowsms.com/download/nowsms20090604.zip. This update treats data_coding value 0x0F (or any other value that has the reserved bits set) as a text encoded message. -- Des NowSMS Support | ||||||
KKW New member Username: Kkw Post Number: 16 Registered: 01-2009 |
Hi Des, just download the update, will test and let u know. thx a lot for yr help | ||||||
KKW New member Username: Kkw Post Number: 17 Registered: 01-2009 |
Hi Darius, if u need to setup ussd gatway first u need to connect to mobile operator and get a dedicate ussd prefix assigned to u kk | ||||||
KKW New member Username: Kkw Post Number: 18 Registered: 01-2009 |
Hi Des, seems still problem, attached pls found the log for yr ref. thx kk
| ||||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 902 Registered: 08-2008 |
Hi kk, Oops ... sorry ... I forgot to update one of the DLLs when building the install. An updated SMSSMPP.DLL was supposed to be included in the install, but it looks like the install I uploaded only includes a 2009.03.20 version. I've updated the previous link (http://www.nowsms.com/download/nowsms20090604.zip) with the proper version. You might need to clear your browser cache to re-download the correct version. (When you download the ZIP, the installer EXE should now have a 2009-06-05 date on it, but all of the version info in the software says 2009.06.04.) -- Des NowSMS Support | ||||||
KKW New member Username: Kkw Post Number: 19 Registered: 01-2009 |
Hi Des, tested still problem, already double confirm the installer is dated 5-Jun-2009 size 7,943,974 bytes kk
| ||||||
Darius New member Username: Darius Post Number: 10 Registered: 05-2009 |
Hi kk, I just need to test USSD menus. What prefix do you mean and how to get connected for USSD Gateway as add-on service provider ? Are you aware of any USSD emulation application, generating and opening interactive USSD menus on LCD of cell phone ? I am afraid, we live in last days of old USSD system, as more and more USIM and RAM applications come to market, which replace USSD on-line interaction. Mobile banking, balance check employs real applications. --- Hi Darius, if u need to setup ussd gatway first u need to connect to mobile operator and get a dedicate ussd prefix assigned to u kk | ||||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 915 Registered: 08-2008 |
Sorry kk ... This time I tested with a real message having those attributes, so I could see the problem for myself. There are multiple places that we test this value, and one of these tests was still treating that value as a Unicode DCS. Here's another update. This one worked with my test message, whereas the earlier update did not: http://www.nowsms.com/download/nowsms20090608.zip -- Des NowSMS Support | ||||||
KKW New member Username: Kkw Post Number: 20 Registered: 01-2009 |
hi des, tested ok, thx a lot for yr help. kk |