Why SMSIN/SMSOUT log files sometimes show BINARY ?

Why SMSIN/SMSOUT log files sometimes show BINARY ? SearchSearch
Author Message
steven hui
New member
Username: Stvhui

Post Number: 5
Registered: 03-2010
Posted on Thursday, February 10, 2011 - 02:25 am:   

Hello to you,

I'm using NowSMS version 2008.06.03

I've log for SMS-OUT & SMS-IN in text file.

My questions is Why sometimes the log files likes as TEXT and BINARY :

2011-02-09 12:39:03,+6285275532989,Text,Kak hotelnya uda pasti adakan?,
2011-02-09 12:58:40,+628126023548,Text,Lina, utk yg dari batam jam 16 pesawat mana yg ada?,
2011-02-09 13:41:02,+628126410768,Binary,0500037D0201A66576B81DA683E6E9B0FB0C4A8BEB2076DA1D 06D5C3EE33889E5E97E9EE7C181476BB407374595E06B1EBF374D81D06CDD36137BD2E4F8350ED79 0A34AF93C368D03C9C0F83E8F2B07B6E2ECB4174F619444E9BC37890B80E5A9741B4DA4C16BBC140 617AB80EA2D56632DA0D060AD3E96E50D8354F87DDF4BA3C0D4ABBED2E1031EC0685E7,
2011-02-09 13:41:06,+628126410768,Binary,0500037D0202D869773E0C9A87F36150B82D4EB341E8B03C0D 9A87C5F43A28EC9AA7C36E7A5D9E7E89E569,
2011-02-09 13:47:45,+6281362220062,Text,Kak tiket tuk berangkat bsk jam 10,20 jam brp bisa dambil?,
2011-02-09 13:54:14,+6283197906600,Binary,0500033902015420A8FCDD7E83A0E175990E12A6DDF4B0BBA 198819061791A240335C3EC70BBA10080A47097ED96938B1B0A1548580FD341D0F01CFE9683D0617 73EDC50004052B88B6683C9C50D850A34A587E543793D3D2F83CA7810B4E86C28DA7576380D9A1E8 9AE19ACA140D6C5201D081986C3F320E49B9D2687F3F386A2592687DD2014CC164B8100,
2011-02-09 13:54:17,+6283197906600,Binary,05000339020268359B8D56C33514D4F29C9E769F1B0A,

FYI, SMSGW.INI setting :
[SMSGW]
Modem1=MTK GPRS USB Modem
ConfigurationUpdateTriggerRestart=20110122171409
WebAuth=No
WebMenu=Yes
WebPort=8800
ReceiveSMS=Yes
ReceiveMMS=No
ReceiveSMSCharset=utf-8


I prefer to log files recorded in TEXT (readable text), not BINARY.

Please guide me for some setting.

Thanks & Best Regards,
Steven
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2900
Registered: 08-2008
Posted on Thursday, February 10, 2011 - 09:48 pm:   

Hi Steven,

Historically, NowSMS wrote binary data to the log whenever sending any messages that required Unicode encoding.

This was changed beginning with 2009 releases, so that UTF-8 encoding is used for detailing message text in the log files.

--
Des
NowSMS Support
steven hui
New member
Username: Stvhui

Post Number: 6
Registered: 03-2010
Posted on Saturday, February 12, 2011 - 04:27 am:   

Hi Des,

I'm not sure what you means.

I'm not clear, I just want to know, why from my sample of log files, some rows contains in TEXT and some rows contains in BINARY ?

Is it bugs in 2008.06.03 ?

or you means this problem is resolved in version 2009?

Is it possibly to solve it?

please give me a clear answer.

Thanks & Best Regards,
Steven
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2904
Registered: 08-2008
Posted on Monday, February 14, 2011 - 08:52 pm:   

Hi Steven,

No, it is not a bug.

This is the way that NowSMS wrote the log files for several years.

If an SMS message was sent out using Unicode format, the logging function recorded the binary data of the Unicode message.

Similarly, if the message contained User Data Header (long text messages), it was also considered to be a binary message, and was logged as such.

This behaviour was changed beginning with 2009 versions because customers did not like this, and wanted to see the messages recorded in the logs in text format.

--
Des
NowSMS Support