Unable to receive Test SMS

Unable to receive Test SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Unable to receive Test SMS « Previous || Next »
Author Message
Pointer Telocation
New member
Username: Moshetal

Post Number: 2
Registered: 10-2020
Posted on Tuesday, October 27, 2020 - 02:18 pm:   

Hi,
I'm not Unable to receive Test SMS via NowSMS Application. I can receive the test only using the web interface.
Via the App it says that the SMS was sent but i'm not receiving anything.
Please assist.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6188
Registered: 08-2008
Posted on Wednesday, October 28, 2020 - 08:11 pm:   

Hi,

Let me make sure that I understand correctly, when you refer to "Test SMS via NowSMS Application", do you mean the form below?



And you see "Status: OK - Message Sent" like above?

And you do not receive this message? But if you send from the web interface, you do receive the message?

Assuming your answer is "Yes" to all of these questions, I can't say that I've ever seen this situation before. To determine what is happening, let's look at the SMSOUT-yyyymmdd.LOG file. I'm expecting to see something like this:

2020-10-28 16:56:08:758,TEST2C48,,9999999999,OK -- SMPP - 192.168.0.41:9001,SMSCRouteName=smpploop;SMSCMsgId=5632F0B6;Text="NowSMS Test Message"
2020-10-28 17:06:22:113,5632F0B7,127.0.0.1,99999999999,OK -- SMPP - 192.168.0.41:9001,SubmitUser=brett;SMSCRouteName=smpploop;SMSCMsgId=5632F0B8;Text="test message via web"

Do you see any differences between the working message and the message that doesn't work?

Regards,

Des
NowSMS Support
Pointer Telocation
New member
Username: Moshetal

Post Number: 3
Registered: 10-2020
Posted on Thursday, October 29, 2020 - 05:47 am:   

Hi Des - thanks for your reply.
You are correct with your description of the situation.
Please find attached 2 log files.
application/octet-streamSMSOUT And SMS WEB Log files
SMSOUT-20201029.LOG (0.3 k)
application/octet-streamSMSOUT And SMS WEB Log files#2
SMSWEB-20201029.LOG (0.1 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6189
Registered: 08-2008
Posted on Thursday, October 29, 2020 - 01:00 pm:   

Thanks for the log details.

The issue is that the test SMS sent via the application is missing the leading + to indicate the number is in international format. Both messages get routed to the same SMPP server, but this server only properly handles the one with the leading +.

Aside from remembering to use the leading +, there are a few ways to handle this so that either format is accepted.

1.) The easiest option (but not necessarily the best option) is in the SMPP connection settings, under "Advanced Settings", set "Destination TON" to 1. This value indicates that the destination/recipient number is always in international format ... otherwise NowSMS auto-determines based on whether there is a leading +.

2.) (BEST option) Exit the SMSGW.INI file, and under the [SMSGW] header, add the following line of text:

GlobalRecipPrefixConvert=972:+972

or

GlobalRecipPrefixConvert=972:+972,0:+972

These settings will automatically convert message recipients/destinations that start with 972 to international format starting with +972. The second format converts the local number format to international format.

3.) There are also prefix convert options that can be applied to specific SMSC connections. So, for example, in SMSGW.INI, under the [SMPP - 37.19.114.223:2775] header (SMSC specific settings), you could add:

OutRecipPrefixConvert=972:+972

This will apply the conversions to recipients/destinations that are processed thru this connection.


#2 is the option that is likely the best option, but I mention the others in case you have multiple SMSCs handling different countries. There is also a GlobalSenderPrefixConvert setting that impacts sender/source addresses. And in the SMSC specific settings, there is an OutSenderPrefixConversion, and also InRecipPrefixConvert/InSenderPrefixConvert settings that impact inbound messages from the connection.

Regards,

Des
NowSMS Support
Pointer Telocation
New member
Username: Moshetal

Post Number: 4
Registered: 10-2020
Posted on Thursday, October 29, 2020 - 02:43 pm:   

Hi Des and thanks again for your answers.

Tried all options suggested but no luck.
Even tried test with +972 but again failed to receive SMS
Attaching Log and Config files.
application/octet-streamSMS Config file
SMSGW.INI (0.8 k)
application/octet-streamSMSOUT
SMSOUT-20201029.LOG (1.8 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6190
Registered: 08-2008
Posted on Monday, November 02, 2020 - 02:39 pm:   

Apologies for not seeing your response earlier.

Looking at the SMSOUT-yyyymmdd.LOG, I also notice another difference. The messages being submitted via the web interface all have a sender address specified, which I assume is being manually entered.

The "test message" does not ask for a sender, it just uses the "Sender Address" that is defined in the SMPP connection properties.

The solution would be to edit the properties of this SMSC connection, and define a "Sender Address". This will be used as a default if a sender is not specified. If you want to continue to have the ability to use different values for the sender address, make sure that "Allow Sender Address Override" is enabled. (Or uncheck this setting if only this sender address should be used.)

--
Des
NowSMS Support
Pointer Telocation
New member
Username: Moshetal

Post Number: 5
Registered: 10-2020
Posted on Tuesday, November 03, 2020 - 06:08 am:   

Hi Des - Thanks for your answer.
That indeed solved the problem :-)
Thank you!

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