Android Modem - No Inbound SMS

Android Modem - No Inbound SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Lite (Product Support Only) » Android Modem - No Inbound SMS « Previous || Next »
Author Message
Andrew
New member
Username: Norcis

Post Number: 5
Registered: 06-2014
Posted on Tuesday, December 23, 2014 - 02:59 pm:   

Hi,

NowSMS server is in separate network within NAT.
Android is connected to WiFI with port 8990 forwarded to it.

NowSMS connects to Android and is able to send SMS.
Android is counting received SMS, but NowSMS is not processing them and they do not appear nor in logs or in SMSC stats.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5155
Registered: 08-2008
Posted on Tuesday, December 23, 2014 - 03:46 pm:   

Hi Andrew,

If I understand correctly that the NowSMS server is behind one NAT, and the Android device is on a separate NAT, then you essentially need to forward TCP port 8990 on both NATs.

When the Android device receives an SMS, it gets posted back to the NowSMS server on port 8990. So there needs to be forwarding on each side.

If you want to use a port other than 8990, add NowsmsModemPort=#### under the [SMSGW] section of SMSGW.INI. (And restart the SMS service.)

--
Des
NowSMS Support
Andrew
New member
Username: Norcis

Post Number: 6
Registered: 06-2014
Posted on Wednesday, December 24, 2014 - 11:46 pm:   

You're correct.

Is it safe to open this port to the public WAN?
Android app uses the NowSMS IP which it received with first call? Can it be set manually (e.g. server reaches internet through other IP than it's accessible, so Android app is calling bad IP)?
It would be much better if Android app could reuse established connection from the NowSMS, so there would be no need to open port in server.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5158
Registered: 08-2008
Posted on Friday, December 26, 2014 - 01:08 pm:   

We believe it is safe. Requests are essentially ignored unless they meet very specific criteria. Only inbound messages from a configured modem will be accepted.

The Android app uses the NowSMS IP from which it received its most recent request (with "Receive SMS" enabled in the configuration on the NowSMS side). Unfortunately, there is no way to set this IP manually. We do agree that would be useful, but our engineering team cannot look into that until after the holidays.

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

Post Number: 5375
Registered: 08-2008
Posted on Wednesday, July 22, 2015 - 01:02 pm:   

A similar problem can occur due to Windows firewall configuration issues, especially in environments with a Windows domain controller.

Further explanation and resolution of this problem with similar symptoms can be found here:

http://www.nowsms.com/android-modem-problems-receiving-sms-with-2-way-commands

--
Des
NowSMS Support

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

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