Unable to receive SMS to Short code SMPP application

Unable to receive SMS to Short code SMPP application SearchSearch
Author Message
Muhammad Adnan farooq
Frequent Contributor
Username: Adnan

Post Number: 57
Registered: 10-2009
Posted on Thursday, March 03, 2011 - 08:35 pm:   

Hi

Our SMPP application is unbale to recieve any SMS from a device while it is sending SMS to the devices without any issues.

I can see SMS hitting SMSIN & SMSOUT but not in SMSC logs. There are no SMSreceive in SMSC logs while we can see them in SMSIN & SMSOUT.

Please advise if we are missing something. We have verified that the customer is connected as a transceiver.

Regards
Adnan
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2967
Registered: 08-2008
Posted on Thursday, March 03, 2011 - 09:02 pm:   

Hi Adnan,

I don't have enough information to even guess.

I need to understand the message flow through your system.

I've read some of your previous posts in an attempt to get some background information. I don't know if the problem you describe is similar to the one described last year at http://support.nowsms.com/discus/messages/1/50777.html.

From your brief description here, I don't think so.

So let me tell you what I think you are saying.

You have an SMPP application that is connecting to a NowSMS server.

That NowSMS server is connected to one or more upstream SMPP providers for external connectivity.

The SMPP application is able to send out to a device, but it cannot receive messages from that device.

(I believe your particular scenario is further complicated by having two NowSMS servers that are interconnected with each other. This requires inspecting the logs on both servers to figure out what is happening.)

The "SMSIN" log record indicates that a message is coming in from the device via your SMSC connection.

Am I correct to this point? (Q#1)

You say there is no "SMSReceive" in the SMSC logs. What log are you referring to? Are you referring to the SMS-yyyymmdd.LOG in the Users\accountname directory? (Q#2)

If this is the log you mean, then this indicates that there is not a path back to this user account for the recipient address (address associated with the SMPP application).

What does the "Recip=" value indicate in the SMSIN record? This is the address to receive the message. (Q#3)

Does the "SMS Users" account for the application have this value listed in its receive address(es)? What value do you have listed here? (Q#4)

Hopefully the above will be sufficient to track down the configuration issue. If it is not, please answer the questions ... I've added Q# after them to make them stand out.

--
Des
NowSMS Support
Muhammad Adnan farooq
Frequent Contributor
Username: Adnan

Post Number: 58
Registered: 10-2009
Posted on Thursday, March 03, 2011 - 09:48 pm:   

(Q#1)

Yes, you are right.

(Q#2)

Yes I am refering to SMS-yyyymmdd.LOG in the Users\accountname directory

I am not getting any "Recip=" value indicate in the SMSIN record. Are you referring to SMSIN log file? I can see SMS record in this file but not this specific value.

Any other suggestions?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2968
Registered: 08-2008
Posted on Thursday, March 03, 2011 - 10:12 pm:   

What do you see for this inbound message in the SMSIN log file?

Do any of the other records in this log file show a Recip= value? (I am wondering if you might be running an older version of NowSMS that does not log this value. What version of NowSMS are you running?)

Assuming no records in the SMSIN log show a Recip= value, continue by making sure that the "SMS Users" account for the application has a correct value listed for its "recipient address(es)".

I'm assuming you have other accounts that are receiving ok? Compare the format for "recipient address(es)" on those working accounts with the one that is not working.

I seem to recall that we had a similar problem issue in the past and the problem was difficult to get resolved because we were looking at log files on one server and user accounts on a different server.

I may not be remembering this correctly. But if I am, be sure to check the logs on both servers.

Follow the path of the message.

If the "SMSIN" log record is on one server, but the user account is connecting to a second server, you need to determine if the message is ever making it to the second server.
Muhammad Adnan farooq
Frequent Contributor
Username: Adnan

Post Number: 59
Registered: 10-2009
Posted on Thursday, March 03, 2011 - 10:22 pm:   

SMSIN & SMS user account is on the same server.
Unable to see any recip value.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2969
Registered: 08-2008
Posted on Thursday, March 03, 2011 - 10:37 pm:   

Any response regarding this part of my questions?


quote:

(I am wondering if you might be running an older version of NowSMS that does not log this value. What version of NowSMS are you running?)

Assuming no records in the SMSIN log show a Recip= value, continue by making sure that the "SMS Users" account for the application has a correct value listed for its "recipient address(es)".

I'm assuming you have other accounts that are receiving ok? Compare the format for "recipient address(es)" on those working accounts with the one that is not working.




To clarify the last part of the above, I want you to closely compare the user account configuration of an account that is working with the one that is not. Look for any differences.

What does the working account have listed for "Recipient address(es) to route to this user"?

What does the non-working account have listed for "Recipient address(es) to route to this user"?

I am assuming that the working account does show an "SMSReceive" record in the user account's SMS-yyyymmdd.LOG. Correct?

I'm further assuming that the version of NowSMS you are running does not log the Recip= value.

Can I see one of these SMSIN log records so that I can see the format?

Is the message file going to the SMS-IN directory? (This is where it goes if there is no user path.)
Muhammad Adnan farooq
Frequent Contributor
Username: Adnan

Post Number: 60
Registered: 10-2009
Posted on Thursday, March 03, 2011 - 11:57 pm:   

"Recipient address(es) to route to this user" shows the right Short code that we are sending to. Interesting thing is that customer is able to send SMS using the same SC to the devices but unable to receive.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2970
Registered: 08-2008
Posted on Friday, March 04, 2011 - 01:08 am:   

I need to emphasize to you that in order to solve your problem, I need you to answer the questions that I ask.

I will go back to numbering the questions, as that seemed to work somewhat.

1.) What version of NowSMS are you running?

2.) Show me a record from the SMSIN log of a working transaction and a non-working transaction. (Put xxxxx over the last digits of the phone numbers.)

If you are using an older version of NowSMS, instead of seeing "Recip=", you would see an entry like this:

2010-01-26 11:15:37,11111111,Text,M 7 Test from Messenger,22222222

The first number (11111111 above) is the sender, and the second (22222222 above) is the recipient.

Show me a working and non-working SMSIN log transaction, and let's pay close attention to this recipient number.

3.) Tell me what exactly you have configured in the "Recipient address(es) to route to this user" for a working account, and for a non-working account.

4.) The SMSGW.INI file will have an [Inbound SMS Routing] section that contains information about all of your user routes. I would like to see this section of your SMSGW.INI in its entirety so that I can verify there are no typos or conflicts.

It is possible there is a conflict and the code you are using is already assigned to another account. (The easiest way to verify this is looking at the list in SMSGW.INI.)

If you do not wish to post the content of this file here, send it to nowsms@nowsms.com with "Attention: Des" in the subject line.

5.) Do you have any 2-way commands defined on the NowSMS server?

6.) If the answer to #5 is No, Look in the SMS-IN directory to see if the missing messages are being routed to that directory. They would have either a .IN or a .SMS file extension. I would like to see the content of the message file if you find it.

---

This sounds like a configuration issue.

I'm guessing that either:

a.) There is a mismatch between the recipient value recorded in SMSIN (an unexpected value) and the value configured under "Recipient Address(es) to route to this user".

b.) There is a conflict that multiple user accounts have the same short code defined for "Recipient Address(es) to route to this user".

If going through these steps does not solve your problem, please provide a response to each of the numbered points, and send the following files to nowsms@nowsms.com with "Attention: Des" in the subject line: SMSIN-yyyymmdd.LOG, SMSOUT-yyyymmdd.LOG, SMSGW.INI. If sending these log files, please also advise which short code is not working.

--
Des
NowSMS Support