Fail to work with NowSMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 13, 2018 ⬆ |
◄ ► |
Author | Message | ||||
pazit shefet New member Username: Pshefet Post Number: 1 Registered: 10-2016 |
Hi! I would like to connect to NowSMS as my SMS gateway. in the WEB tab I activate "enable SMPP server" and I specified the port. in the SMS Users tab I defined anew user (with the correct password). my application fails to connect to yoyr SMPP server. it connects to another SMPP simulator tool.. 1. do I have to define an SMSC? Can I start the SMS gateway without SMSC? just as SMPP server? 2. I downloaded your app to my mobile (samsung5) & activated it, but I do not see it in the list of Android phones under SMSC tab (add new SMSC connection) thanks, Pazit
| ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5732 Registered: 08-2008 |
Hi Pazit, I'd suggest enabling the "menu driven web interface"...see if you can access the web interface from a web browser on that other machine. This will tell us whether it is a tcp/ip connectivity issue, or if you are having an SMPP specific issue. The fact that you also can't see the Android modem suggests to me TCP/IP connectivity issues. What is the IP address of the NowSMS server? Is it on WiFi or ethernet? What is the IP address of the Android phone on WiFi (the app should display this)? What is the IP of the SMPP client? If you connect to http://ip.address:8901/init from a web browser on the NowSMS server, do you see a simple OK response? If you do not, it suggests fundamental IP connectivity issues....devices not on same network....or a firewall. One common issue is that many wireless access points have a "client isolation" mode, which blocks WiFi devices from being able to talk to each other...that mode cannot be enabled. If the web tests are ok, on the SMPP side, make sure the "SMS Users" account you created has SMPP access enabled. -- Des NowSMS Support | ||||
pazit shefet New member Username: Pshefet Post Number: 2 Registered: 10-2016 |
I fail to connect from a web browser. This cannot be a connectivity problem since NowSMS is installed on my own computer & the SMPP client is also running from my computer. Also, had no problem to connect to another SMPP simulator on a remote machine in our network. my guess is that the SMS gateway is NOT up !!! when I open the NowSMS GUI, it opens on the SMSC tab. When I move from the SMSC tab to any other tab I receive a message "no SMSC connections. the SMS gateway will be inactive. Continue?" But I also cannot define SMSC connections :-( do I have to define SMSC connections so the SMPP gateway will run?!?!?! the IP of my gateway is 10.135.50.174 & the ip on my mobile is 10.0.0.23. it does not appear in the list and when I enter the ip:port it say "unable to connect to modem" | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5737 Registered: 08-2008 |
Enable the SMSDEBUG.LOG on the Serial # page. Stop and start the service. Anything in the SMSDEBUG.LOG? (Despite the warning error, the service should still start.)
Is your network mask 255.0.0.0? That is a large range of IP addresses (16 million +), and discovery typically does not work in that environment. But, manually entering the device IP should work, unless there is a firewall or the access point has "client isolation". Can you ping the device IP from the gateway? Can you connect to http://10.0.0.23:8901/init from a web browser on the NowSMS server, do you see a simple OK response? With such a large network, I suspect your network admin has client isolation enabled. -- Des NowSMS Support | ||||
pazit shefet New member Username: Pshefet Post Number: 3 Registered: 10-2016 |
ok. now the gateway works :-) I can connect from my code to 2775 & send SMSs and I can connect from web to port 8901. I still fail to connect to my mobile 1. Any idea why? which port is blocked? 2. How can I see the text of the SMS messages? in the log file it just say "text" 2016-10-20 11:43:36,10.135.50.174,nowSmsClient,580883B8,Text,Recip=336025000400586;Sender=1 234 3. in my SMS message I asked for delivery receipt. I didn't get any. I received automatic acknowledge but NOT delivery receipt | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5743 Registered: 08-2008 |
HI Pazit, When you say that you can connect to port 8901, is that on the device IP? NowSMS needs to be able to connect to port 8901 on the device. Can you ping the device IP from the gateway? Can you connect to http://10.0.0.23:8901/init from a web browser on the NowSMS server, do you see a simple OK response? (Check the device as IP address may have changed.) If that works, try entering the IP manually in NowSMS. I'm guessing that NowSMS and the device are not connected to the same WiFi network. NowSMS sends broadcast messages to try to discover the client. These broadcast messages only transmit over the local network. As I mentioned above, those IP addresses suggest a very wide network mask. Or more likely, they are separate routed networks, and the broadcast discovery does not cross routers. In that case, you can manually enter the IP, but then you need to configure a static IP (DHCP reservation) for the device. 2. Which log file are you looking at? There is a INI file setting to not log the text of the message, but it must be set manually, so there is no way to do it by accident. My guess is that for some reason the message is blank. 3. The message hasn't been delivered. The message has not yet failed as it is queued waiting for a route. As you have no routes defined yet, that is an odd case, and it will remain in queue. -- Des NowSMS Support |