Android Modem - No Inbound SMS | Search |
NowSMS Support Forums ⬆ NowSMS Lite Support ⬆ |
◄ ► |
Author | Message | |||
Andrew New member Username: Norcis Post Number: 5 Registered: 06-2014 |
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 |
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 |
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 |
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 |
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 |