Can't receive SMS

Can't receive SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 09, 2012 » Can't receive SMS « Previous || Next »
Author Message
Tom
New member
Username: Tbarnettsgf

Post Number: 1
Registered: 10-2011
Posted on Wednesday, October 26, 2011 - 01:38 pm:   

I'm using NowSMS full system. I have a Pantech UML290 modem that passes the modem tests. I can send an sms message from the web interface. However when I reply to or send a text to the associated phone number for the modem it doesn't show up in NowSMS. If I use the Verizon Manager software the texts are there. I'm apparently missing something here. Any ideas?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3563
Registered: 08-2008
Posted on Wednesday, October 26, 2011 - 04:50 pm:   

Hi Tom,

I don't have any experience with that particular modem.

I see it's an LTE modem. In the past, Verizon has always been a pain because they use CDMA, and few CDMA modems implement the SMS interface that was originally defined for GSM.

I'd be curious to see an SMSDEBUG.LOG from your system that shows modem initialisation. I am curious if the modem is supporting binary PDU mode, or only text mode.

On the NowSMS side, try the different "SMS Message Storage" options .. "SIM Card", "Device Memory" and "Direct to Modem" to see if any of these make a difference.

Also, one common problem with modems is that the PC software that accompanies the modem will often automatically remove messages from the modem as they are received, so that other software cannot see the messages. Check to see if there is some setting in the software that can stop it from retrieving SMS messages. If possible, try to stop the "manager" software from even running.

I'd be very curious to see the SMSDEBUG.LOG showing modem init, as this is a different type of modem, and we might get some other clues from how it responds to initialisation commands.

--
Des
NowSMS Support
Tom
New member
Username: Tbarnettsgf

Post Number: 2
Registered: 10-2011
Posted on Wednesday, October 26, 2011 - 06:19 pm:   

smsdebug.log is attached.

application/octet-streamsmsdebug.log
SMSDEBUG.LOG (7.1 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3564
Registered: 08-2008
Posted on Wednesday, October 26, 2011 - 07:31 pm:   

Try setting SMS Message Storage to "Device Memory".

By default, NowSMS tries to use the "SIM Card". It should find received messages even if they end up in "Device Memory", but modems can be quirky.

This particular modem will let NowSMS read SMS messages from the SIM, but it seems to indicate that it will only store received messages in device memory.

With this setting set to "Device Memory", I would be curious if the SMSDEBUG.LOG contains any +CMTI references when a message is sent to the modem. The modem responses seem to suggest that the modem should support this, so I am curious if this would appear in the SMSDEBUG.LOG.

I am also curious about setting "SMS Message Storage" to "Direct to Modem". The modem responses seem to indicate that this is supported. In this case, +CMT responses should appear in the SMSDEBUG.LOG when you send an SMS message to the modem.

Of course, it is also possible that the "manager" software is removing all received messages from the modem before they can be processed, in which case a way needs to be found to disable that software, or disable it from removing messages from the modem.

I can see from the modem responses in your SMSDEBUG.LOG that memory in the modem has no received messages in it. That is why I assume that the "manager" software must be removing them. (This also happens with other modems, and there is often a config option in the software to tell it not to remove SMS messages from the modem.)

--
Des
NowSMS Support
Tom
New member
Username: Tbarnettsgf

Post Number: 3
Registered: 10-2011
Posted on Wednesday, October 26, 2011 - 07:59 pm:   

The manager software is not running all the time. If I stop the nowsms services and run the manager I can see the texts I have sent to the device. I'll give these suggestions a try.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3566
Registered: 08-2008
Posted on Wednesday, October 26, 2011 - 08:12 pm:   

There is a hidden configuration setting that might also be helpful for troubleshooting.

Under the [SMSGW] header of SMSGW.INI, add:

DebugModemPoll=Yes

This causes NowSMS to log additional details about when it polls the modem for new messages.

You'll see info like this:

AT+CPMS?
+CPMS: "SM",0,15,"ME",0,23,"ME",0,23

The sequence is location name ("SM" for SIM or "ME" for memory), # of messages in storage in that location, followed by the max # of messages that can fit in that storage location.

So in this case, extracted from your log, the modem has no received messages to be retrieved.

This is what NowSMS is looking for when it is configured to poll. (Unsolicited +CMTI responses should also be present to tell that a new message has been received, but not all modems support this, so it is not required.)

When "Direct to Memory" is selected, the modem is supposed to push +CMT responses to NowSMS.

It is possible that the manager software uses a different protocol to talk to the modem, and that the modem does not support delivering received SMS via the AT command interface.

I do have one other thought, if you are comfortable trying to send your own AT commands to the modem. (WinPuTTY is a good tool for this.)

Try sending the command AT+CPMS="MT" ... followed by AT+CPMS?

It's a small chance, but I am wondering if this might return a non-zero message count.

(Normally, "MT" is either logically equivalent to "ME", or it is a combination of "ME" and "SM". So I would expect it to also report zero for the message count, but since LTE modems are new, maybe the implementation is different.)

--
Des
NowSMS Support
Tom
New member
Username: Tbarnettsgf

Post Number: 4
Registered: 10-2011
Posted on Wednesday, October 26, 2011 - 08:35 pm:   

Directly from Modem

at+cpms
ERROR
at+cpms?
+CPMS: "ME",0,23,"ME",0,23,"ME",0,23

OK
at+cpms="mt"
+CPMS: 0,23,0,23,0,23

OK
at+cpms?
+CPMS: "MT",0,23,"ME",0,23,"ME",0,23

OK


Also I sent a message to the device while watching in hyperterminal. I did not get anything from the modem.
Tom
New member
Username: Tbarnettsgf

Post Number: 5
Registered: 10-2011
Posted on Thursday, October 27, 2011 - 01:02 pm:   

Here is, I believe, what it takes to make this modem(Pantech UML290) work with NowSMS. I have no idea whether you are receptive to adding functionality for this modem. I hope so. I'm trying to get to the point I can receive MMS messages but have to get past this problem first.

As you can see the CMGL command with "REC UNREAD" retrieves the unread message. Then the cmgr with the correct message number retrieves the message.

Here is a sequence directly from the modem I hope it helps.

Please let me know if you are willing to make changes. Thanks Tom

at+cmgl="all"
+CMGL: 10,"REC UNREAD","4178303185","11/10/26,16:30:27+00"
Reply to test 408
+CMGL: 9,"REC UNREAD","4178303185","11/10/26,16:13:46+00"
Reply to test 408
+CMGL: 1,"REC READ","4178303185","11/10/26,16:08:45+00"
Test 406
+CMGL: 8,"STO SENT","4178303185","11/10/26,14:10:37+00"
test 907
+CMGL: 7,"STO SENT","4178303185","11/10/25,17:18:28+00"
test
+CMGL: 6,"STO SENT","4178303185","11/10/25,17:07:34+00"
tom
+CMGL: 5,"STO SENT","4178303185","11/10/26,17:11:04+00"
Test 1208
+CMGL: 4,"STO SENT","4178303185","11/10/26,21:10:14+00"
test from sms 408
+CMGL: 3,"STO SENT","4178303185","11/10/25,16:47:17+00"
NowSMS Test Message
+CMGL: 2,"STO SENT","4178303185","11/10/25,16:46:30+00"
NowSMS Test Message
+CMGL: 0,"STO SENT","4178303185","11/10/25,16:40:54+00"
NowSMS Test Message

OK
at+cmgl="rec unread"
+CMGL: 10,"REC UNREAD","4178303185","11/10/26,16:30:27+00"
Reply to test 408
+CMGL: 9,"REC UNREAD","4178303185","11/10/26,16:13:46+00"
Reply to test 408

OK
at+cmgr=9
+CMGR: "REC UNREAD","4178303185","11/10/26,16:13:46+00"
Reply to test 408

OK
at+cmgl="rec unread"
+CMGL: 10,"REC UNREAD","4178303185","11/10/26,16:30:27+00"
Reply to test 408

OK
at+cmgl="all"
+CMGL: 10,"REC UNREAD","4178303185","11/10/26,16:30:27+00"
Reply to test 408
+CMGL: 9,"REC READ","4178303185","11/10/26,16:13:46+00"
Reply to test 408
+CMGL: 1,"REC READ","4178303185","11/10/26,16:08:45+00"
Test 406
+CMGL: 8,"STO SENT","4178303185","11/10/26,14:10:37+00"
test 907
+CMGL: 7,"STO SENT","4178303185","11/10/25,17:18:28+00"
test
+CMGL: 6,"STO SENT","4178303185","11/10/25,17:07:34+00"
tom
+CMGL: 5,"STO SENT","4178303185","11/10/26,17:11:04+00"
Test 1208
+CMGL: 4,"STO SENT","4178303185","11/10/26,21:10:14+00"
test from sms 408
+CMGL: 3,"STO SENT","4178303185","11/10/25,16:47:17+00"
NowSMS Test Message
+CMGL: 2,"STO SENT","4178303185","11/10/25,16:46:30+00"
NowSMS Test Message
+CMGL: 0,"STO SENT","4178303185","11/10/25,16:40:54+00"
NowSMS Test Message

OK
Tom
New member
Username: Tbarnettsgf

Post Number: 6
Registered: 10-2011
Posted on Thursday, October 27, 2011 - 01:23 pm:   

Oops
Before all that stuff above you must put the modem into text mode.

at+cmgf=1
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3567
Registered: 08-2008
Posted on Thursday, October 27, 2011 - 01:32 pm:   

Hi Tom,

That is very good investigation work!

Does it also work in PDU mode? (AT+CMGF=0)

Does AT+CMGL=0 return a list of unread, and AT+CMGL=1 return a list of read messages?

If it does, try editing SMSGW.INI, and under the [SMSGW] header, add

OldPollingLogic=Yes

There may be other side effects of this change (I am investigating), but logic in older versions of NowSMS was more "brute force" when polling the modem for received messages.

We changed to querying the response to the AT+CPMS command because it was deemed to be less resource intensive on the modem. However, in this case, it appears that the response to that command is inaccurate.

Let me know how you get on with OldPollingLogic=Yes, and I will investigate what, if any, side effects it presents.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3568
Registered: 08-2008
Posted on Thursday, October 27, 2011 - 01:35 pm:   

CORRECTION: OldPollingLogic=Yes belongs in the [Modem - driver name] section, not the [SMSGW] section.


Also, there is also a setting to force NowSMS to use text mode with the modem. In the same [Modem - driver name] section, add ModemTextMode=Yes

However, if you have to use text mode, you definitely won't be able to receive MMS notifications.
Tom
New member
Username: Tbarnettsgf

Post Number: 7
Registered: 10-2011
Posted on Thursday, October 27, 2011 - 01:43 pm:   

Looks like the PDU mode doesn't work. Bummer

Are you sure I won't be able to do MMS in text mode.

If that's the case I guess I need to move to another cell modem vendor.

Do you know that ATT works?

Thanks
Tom


at+cmgf=0
OK
at+cmgl=0


OK
at+cmgl=1
+CMS ERROR: 321


at+cmgf=1
OK
at+cmgl="all"
+CMGL: 10,"REC UNREAD","4178303185","11/10/26,16:30:27+00"
Reply to test 408

OK
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3569
Registered: 08-2008
Posted on Thursday, October 27, 2011 - 02:00 pm:   

Try AT+CMGL=4 (PDU mode equivalent to "ALL")

I'm fairly confident that MMS notifications will not work be retrieved in text mode. Other modems skip over or report as blank any binary SMS messages when the modem is in PDU mode.

I'm not aware of any issues on AT&T network, except that I seem to recall that if you purchase activate a modem with a SIM, they don't provision it for MMS support. (And it is next to impossible to explain to customer service that you need this even though they think your device can't handle it.) Moving a SIM from a working phone into a modem avoids this type of confusion.

--
Des
NowSMS Support
Tom
New member
Username: Tbarnettsgf

Post Number: 8
Registered: 10-2011
Posted on Thursday, October 27, 2011 - 02:08 pm:   

Here is what I get when I send an MMS to the modem.

Is this the issue? NowSMS has no way to logon to this website to retrieve the picture?

Tom


at+cmgl
+CMGL: 16,"REC UNREAD","4173106884","11/10/27,10:05:03+00"
You've got a PIX or FLIX message! To see it, visit www.vzw.com/newpix-flix-mess
age from an internet accessible computer & follow directions.
+CMGL: 14,"REC UNREAD","4173106884","11/10/27,10:03:09+00"
You've got a PIX or FLIX message! To see it, visit www.vzw.com/newpix-flix-mess
age from an internet accessible computer & follow directions.
+CMGL: 10,"REC UNREAD","4178303185","11/10/26,16:30:27+00"
Reply to test 408

OK
Tom
New member
Username: Tbarnettsgf

Post Number: 9
Registered: 10-2011
Posted on Thursday, October 27, 2011 - 02:11 pm:   

Try AT+CMGL=4 (PDU mode equivalent to "ALL")

Returns OK but no information. Bummer
Tom
New member
Username: Tbarnettsgf

Post Number: 10
Registered: 10-2011
Posted on Thursday, October 27, 2011 - 02:33 pm:   

Will NowSMS lite retrieve MMS messages and email the picture or will I nee the full copy?

When I had the lite version installed I couldn't see how to do the email piece.

Thanks
Tom
Tom
New member
Username: Tbarnettsgf

Post Number: 11
Registered: 10-2011
Posted on Thursday, November 03, 2011 - 08:39 pm:   

I have switched to a Sierra Wireless USBConnect Momentum 4g device and ATT for service. When I detect the modem it says Modem does not properly support command for sending SMS (At+CMGS). Does that mean that this modem will not work with NowSMS?

Thanks,
Tom
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3581
Registered: 08-2008
Posted on Friday, November 04, 2011 - 02:18 pm:   

Hi Tom,

It depends. The COM port you are using will definitely not support SMS.

However, Sierra Wireless modems tend to be a little goofy. A few years ago, we noticed that they started to hide a virtual COM port that actually supports SMS.

Finding the hidden COM port is described in the following article: http://www.nowsms.com/sierra-wireless-881-usb-modem-881u-and-nowsms

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics