SMS receive problem

SMS receive problem SearchSearch
Author Message
Cyril Au
New member
Username: Cyrilau

Post Number: 2
Registered: 05-2010
Posted on Friday, June 04, 2010 - 04:37 am:   

Dear Sir,

WHen using nowsms to receive SMS message, found that some of the sender number cannot shown correctly.

Is there any wrong setting for me ?

the following are copy from SMSdebuglog :
09:08:22:393 [2] ModemReceiveMessages: Decoding received message index 1 from message storage SM
09:08:22:393 [2] ModemReceiveMessages: 07915892945897F5240BF15892783922F60008016040908081
09:08:22:393 [2] ModemReceiveMessages: SMSC address len = 7
09:08:22:393 [2] ModemReceiveMessages: SMSC Address = +85294985795
09:08:22:393 [2] ModemReceiveMessages: SMS Message Type = SMS-DELIVER
09:08:22:393 [2] ModemReceiveMessages: Sender address len = 11
09:08:22:393 [2] ModemReceiveMessages: 5892783922F6
09:08:22:393 [2] ModemReceiveMessages: X刃K#D
09:08:22:393 [2] ModemReceiveMessages: Sender Address = X刃K#D
09:08:22:393 [2] ModemReceiveMessages: PID = 00
09:08:22:393 [2] ModemReceiveMessages: DCS = 08
09:08:22:393 [2] ModemReceiveMessages: Anticipated user data length = 100
09:08:22:393 [2] ModemReceiveMessages: Binary Message = 0031002959D3540D003A7C2166C99D3B000A003200298EAB4EFD8B49003A0039003600300035000A 00330029653664DA65E5671F003A00300034002F00300036002F0032003000310030000A00340029 653664DA865F78BC003A00320036003000330034
09:08:22:393 [2] ModemReceiveMessages: AT+CMGD=1

09:08:22:955 [2] ModemReceiveMessages:
OK
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2212
Registered: 08-2008
Posted on Friday, June 04, 2010 - 02:45 pm:   

Hi Cyril,

What modem is this?

The modem appears to be setting an invalid flag that is causing the sender number to be interpreted wrong.

Can you post more examples of wrong sender addresses being received?

Is the sender address ever decoded correctly for messages received on this modem? If yes, I'd like to see debug logs that show this too.

We can probably develop a work-around to detect when this flag is set incorrectly. But we need to see more examples.

Unfortunately that will take time to investigate further. Alternatively you may want to try a different modem brand that does not have this encoding bug.

--
Des
NowSMS Support
Cyril Au
New member
Username: Cyrilau

Post Number: 3
Registered: 05-2010
Posted on Friday, June 04, 2010 - 05:38 pm:   

Hi Des,

I've used 3 brand of modems, all have this problem. Nokia, Erisson, Huiwa.

These 3 modems in other SMS programs have no such problem.

The message using NowSMS after decode is correctly, only the sender number incorrect. However, as you'll see in the debug log, no all the sender address incorrect, some of them are OK.

Attached the debug log for your reference.

Thanks a lot for your help !
application/octet-streamdebug log
SMSDEBUG.zip (30.4 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2213
Registered: 08-2008
Posted on Friday, June 04, 2010 - 08:45 pm:   

Hi Cyril,

Ok. The message must be coming in from the network that way.

The problem is that the type of number field indicates that the sender address type is reserved/undefined. NowSMS is mistakenly interpreting this reserved type as alphanumeric.

I'm posting an update to http://www.nowsms.com/download/nowsms20100604.zip that treats the reserved type as a numeric sender which should resolve this problem.

--
Des
NowSMS Support
Cyril Au
New member
Username: Cyrilau

Post Number: 4
Registered: 05-2010
Posted on Monday, June 14, 2010 - 03:06 am:   

It's OK now.

Thanks a lot !!