Strange convertion of incomming SMS UCS2(16)bit

Strange convertion of incomming SMS UCS2(16)bit SearchSearch
Author Message
Morten Jensen
Posted on Tuesday, September 29, 2009 - 09:11 am:   

Hi,

I have a problem with incomming SMS in the UCS2(16)bit alphabet.
NOWSMS does not seem to be able to convert it correctly. The incomming SMS is set to be forwarded to an URL, but the GET command does not contain all the parameters defined. It works wihtout a problem when dealing with other incoming SMS in others formats.

When receiving an SMS encoded in USC2(16)bit, the only paramter forwarded in the URL is @@FULLSMS@@ the others are not there.

This is the URL set to handle the incomming SMS:
http://xxx.xxx.xxx.xxx/path/file.php?afsender=@@sender@@&besked=@@fullsms@@&kode =@@smsprefix@@&tekst=@@sms@@&msgid=@@RECEIPTMESSAGEID@@

This is the result from the smsdebug.log:
23:20:13:505 [5] ThreadProcessInboundSMS: Processing 4AA5CA15.in...
23:20:13:505 [5] GetProgramToExecute: http://xxx.xxx.xxx.xxx/file.php?afsender=@@sender@@&besked=@@fullsms@@&kode=@@sm sprefix@@&tekst=@@sms@@&msgid=@@RECEIPTMESSAGEID@@&MsgDate=@@MSGDATE@@&MsgTime=@ @MSGTIME@@&mgid=@@MESSAGEID@@
23:20:13:521 [5] GetProgramToExecute: http://xxx.xxx.xxx.xxx/file.php?afsender=%2B412345678&besked=%E0%B8%82%E0%B8%AD% E0%B9%82%E0%B8%97%E0%B8%A9%E0%B8%97%E0%B8%B5%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%84 %E0%B8%A1%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%A A%E0%B8%B2%E0%B8%A2%E0%B8%99%E0%B8%B0%20%E0%B8%AB%E0%B8%A5%E0%B8%B1%E0%B8%9A%E0% B8%A1%E0%B8%B2%E0%B8%97%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%99%E0 %B8%97%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%84%E0%B8%B7%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%B8%97%E0%B9%89%E0%B8%B2%E0%B8%A2%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8% B8%E0%B8%A2%E0%B8%81%E0%B8%B1%E0%B8%99%20%E0%B9%80%E0%B8%84%E0%B9%89%E0%B8%B2%E0 %
23:20:13:521 [5] ThreadProcessInboundSMS: Executing http://xxx.xxx.xxx.xxx/file.php?afsender=%2B4512345678&besked=%E0%B8%82%E0%B8%AD %E0%B9%82%E0%B8%97%E0%B8%A9%E0%B8%97%E0%B8%B5%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%8 4%E0%B8%A1%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8% AA%E0%B8%B2%E0%B8%A2%E0%B8%99%E0%B8%B0%20%E0%B8%AB%E0%B8%A5%E0%B8%B1%E0%B8%9A%E0 %B8%A1%E0%B8%B2%E0%B8%97%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%99%E 0%B8%97%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%84%E0%B8%B7%E0%B8%99%E0%B9%80%E0%B8%A5% E0%B8%A2%E0%B8%A7%E0%B9%88%E0%B8%B0%21%20%E0%B8%94%E0%B8%B1%E0%B8%99%E0%B8%A1%E0 %B8%B2%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B8%AA%E0%B8%9A%E0%B8%B2%E0%B8%A2%E0%B8%A1%E 0%B8%B2%E0%B8%81%E0%B9%80%E0%B8%9B%E0%B9%8A%E0%B8%99%E0%B8%AB%E0%B8%A5%E0%B8%AD% E0%B8%94%E0%B8%A5%E0%B8%A1%E0%B8%AD%E0%B8%B1%E0%B8%81%E0%B9%80%E0%B8%AA%E0%B8%9A %20%E0%B8%81%E0%B8%B4%E0%B8%99%E0%B8%A2%E0%B8%B2%E0%B9%81%E0%B8%81%E0%B9%89%E0%B 8%AD%E0%B8%B1%E0%B8%81%E0%B9%80%E0%B8%AA%E0%B8%9A%E0%B9%81%E0%B8%A5%E0%B9%89%E0% B8%A7%E0%B9%81%E0%B8%95%E
23:20:13:521 [5] RetrieveURL: Retrieving http://xxx.xxx.xxx.xxx/file.php?afsender=%2B4512345678&besked=%E0%B8%82%E0%B8%AD %E0%B9%82%E0%B8%97%E0%B8%A9%E0%B8%97%E0%B8%B5%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%8 4%E0%B8%A1%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8% AA%E0%B8%B2%E0%B8%A2%E0%B8%99%E0%B8%B0%20%E0%B8%AB%E0%B8%A5%E0%B8%B1%E0%B8%9A%E0 %B8%A1%E0%B8%B2%E0%B8%97%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%99%E 0%B8%97%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%84%E0%B8%B7%E0%B8%99%E0%B9%80%E0%B8%A5% E0%B8%A2%E0%B8%A7%E0%B9%88%E0%B8%B0%21%20%E0%B8%94%E0%B8%B1%E0%B8%99%E0%B8%A1%E0 %B8%B2%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B8%AA%E0%B8%9A%E0%B8%B2%E0%B8%A2%E0%B8%A1%E 0%B8%B2%E0%B8%81%E0%B9%80%E0%B8%9B%E0%B9%8A%E0%B8%99%E0%B8%AB%E0%B8%A5%E0%B8%AD% E0%B8%94%E0%B8%A5%E0%B8%A1%E0%B8%AD%E0%B8%B1%E0%B8%81%E0%B9%80%E0%B8%AA%E0%B8%9A %20%E0%B8%81%E0%B8%B4%E0%B8%99%E0%B8%A2%E0%B8%B2%E0%B9%81%E0%B8%81%E0%B9%89%E0%B 8%AD%E0%B8%B1%E0%B8%81%E0%B9%80%E0%B8%AA%E0%B8%9A%E0%B9%81%E0%B8%A5%E0%B9%89%E0% B8%A7%E0%B9%81%E0%B8%95%
23:20:13:521 [5] RetrieveURL: Retrieving file.php?afsender=%2B4512345678&besked=%E0%B8%82%E0%B8%AD%E0%B9%82%E0%B8%97%E0%B 8%A9%E0%B8%97%E0%B8%B5%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%A1%E0%B9%88%E0% B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%AA%E0%B8%B2%E0%B8%A2%E0 %B8%99%E0%B8%B0%20%E0%B8%AB%E0%B8%A5%E0%B8%B1%E0%B8%9A%E0%B8%A1%E0%B8%B2%E0%B8%9 7%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%97%E0%B8%B1%E0%B9% 89%E0%B8%87%E0%B8%84%E0%B8%B7%E0%B8%99%E0%B9%80%E0%B8%A5%E0%B8%A2%E0%B8%A7%E0%B9 %88%E0%B8%B0%21%20%E0%B8%94%E0%B8%B1%E0%B8%99%E0%B8%A1%E0%B8%B2%E0%B9%84%E0%B8%A 1%E0%B9%88%E0%B8%AA%E0%B8%9A%E0%B8%B2%E0%B8%A2%E0%B8%A1%E0%B8%B2%E0%B8%81%E0%B9% 80%E0%B8%9B%E0%B9%8A%E0%B8%99%E0%B8%AB%E0%B8%A5%E0%B8%AD%E0%B8%94%E0%B8%A5%E0%B8 %A1%E0%B8%AD%E0%B8%B1%E0%B8%81%E0%B9%80%E0%B8%AA%E0%B8%9A%20%E0%B8%81%E0%B8%B4%E 0%B8%99%E0%B8%A2%E0%B8%B2%E0%B9%81%E0%B8%81%E0%B9%89%E0%B8%AD%E0%B8%B1%E0%B8%81% E0%B9%80%E0%B8%AA%E0%B8%9A%E0%B9%81%E0%B8%A5%E0%B9%89%E0%B8%A7%E0%B9%81%E0%B8%95 %E0%B9%88%E0%B8%A2%E0%
23:20:13:521 [5] RetrieveURL: GET /file.php?afsender=%2B4512345678&besked=%E0%B8%82%E0%B8%AD%E0%B9%82%E0%B8%97%E0% B8%A9%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%B8%A1%E0%B8%B2%E0%B8%82%E0%B8%AD%E0%B8%84%E0%B 8%B7%E0%B8%99%E0%B8%94%E0%B8%B5%E0%B8%99%E0%B8%B0%20%E0%B8%84%E0%B8%A3%E0%B8%B1% E0%B9%89%E0%B8%87%E0%B8%AA%E0%B8%B8%E0%B8%94%E0%B8%97%E0%B9%89%E0%B8%B2%E0%B8%A2 %E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%84%E0%B8%B8%E0%B8%A2%E0%B8%81%E0%B8%B1%E0%B8%9 9%20%E0%B9%80%E0%B8%84%E0%B9%89%E0%B8%B2%E0%B8%9E%E0%B8%B9%E0%B8%94%E0%B8%A7%E0% B9%88%E0%B8%B2%20I%20am%20your%2C%20always%20your%20only.%20%E0%B8%A1%E0%B8%B1%E 0%B8%99%E0%B8%A5%E0%B8%B7%E0%B8%A1%E0%B8%A2%E0%B8%B2%E0%B8%81%E0%B8%A7%E0%B9%88% E0%B8%B0%E0%B9%81%E0%B8%A5%E0%B9%89%E0%B8%A7%E0%B8%8A%E0%B8%B1%E0%B9%89%E0%B8%99 %E0%B8%81%E0%B9%87%E0%B8%A2%E0%B8%B1%E0%B8%87%E0%B8%A3%E0%B8%B1%E0%B8%81%E0%B9%8 0%E0%B8%84%E0%B9%89%E0%B8%B2%E0%B8%AD%E0%B8% HTTP/1.1
User-Agent: Now SMS/MMS Gateway v5.51k (b20051013)


I have all of the SMSdebug.log and SMSin.log for you to look at, but I'd rather not post it on this public forum as the incoming SMS might contain personal info. Can I send it in a PM or mail or something?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1315
Registered: 08-2008
Posted on Tuesday, September 29, 2009 - 01:49 pm:   

Hi Morten,

How long was that original message? I assume it must have been many parts that were re-assembled.

The 2-way processor does truncate URLs at around 8192 bytes.

I'd suggest making @@FULLSMS@@ the last parameter, so that only it gets truncated.

We could look into increasing that length, as the URL escaping requires 3 bytes for each actual byte of text.

But since you're running an older version, I think moving besked=@@fullsms@@ to be the last parameter would be the easiest solution for you.

--
Des
NowSMS Support
Morten Jensen
New member
Username: Hansherlighed

Post Number: 2
Registered: 06-2006
Posted on Wednesday, September 30, 2009 - 06:32 am:   

Hi Des,

Thanks for the quick reply.

The original SMS was a 9 part SMS, so you might be correct in assuming the URL was truncated.

Will the URL/path always be truncated also if I write a path to a VBS or CMD file to deliver the SMS to instead of an http:// url?
Morten Jensen
New member
Username: Hansherlighed

Post Number: 3
Registered: 06-2006
Posted on Wednesday, September 30, 2009 - 06:37 am:   

Hi again,

Is there any flag or anything set somewhere to tell if the url has been truncated so that my receiving script kan see that it has been truncated?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1323
Registered: 08-2008
Posted on Friday, October 02, 2009 - 05:24 pm:   

Hi Morten,

The truncation occurs as a buffer overflow protection. We only allocate 8KB for the URL, so if it goes over, it gets truncated.

Unfortunately, there is no indicator flag to indicate this has happened.

We could investigate increasing the size of this buffer (or sizing it dynamically) in a future update, as 8KB is a rather arbitrary limit.

--
Des
NowSMS Support
Morten Jensen
New member
Username: Hansherlighed

Post Number: 4
Registered: 06-2006
Posted on Tuesday, October 06, 2009 - 06:31 am:   

Hi Des,

Would the truncation also occour if I set the 2-way setting to set use a CMD file instead of sending the info to an URL?


I have another problem as well. Attached is a message received via NOWSMS that NOWSMS does not seem to reconize/convert correctly.
I do not know the full content of the message but NOWSMS does not provide any text to the receiving script.
I have tryed to decode the message on http://twit88.com/home/utility/sms-pdu-encode-decode but the text is just strange symbols. Is this a problem with the SMS or what is happening?
text/plainSMSdebug
12345678.txt (4.6 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1341
Registered: 08-2008
Posted on Tuesday, October 06, 2009 - 02:34 pm:   

Hi Morten,

The same 8KB buffer is used for command line routing, but it would not be URL escaped, so it could fit more characters.

I'm not sure if there are Windows command line length limits, however.

The Windows APIs claim a limit of 32KB.

However, you may run into lower limits if you use command line argument parsing from a run time library. If you try this, I'd suggest using the GetCommandLine Windows API to retrieve the command line.

The message in question is an EMS message with a large animation.

Pre-NowSMS 2006, the 2-way commands in NowSMS could not parse the text from EMS messages.

I tried it with the current version, and the following text was extracted:


quote:

E Kocham Cie Ewa you are my love





--
Des
NowSMS Support