User Account Statistics | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 03, 2004 ⬆ |
◄ ► |
Author | Message | |||
Dhiraj Mirchandaney New member Username: Dhirajm Post Number: 10 Registered: 05-2004 |
Hi Bryce, This is a mission critical issue for which we require your immediate help. We have a created an application that sends SMS msgs via NowSMS v5.5. According to the logs of our application, and the SMSIN<Date>.Log file generated by NowSMS, the no. of messages tally. Same is the case with the SMS<Date>.Log file that is created for each SMS User under the Users directory in NowSMS. However, when we view the Stats for the users under the tab SMSUsers > <Username> > Stats, there's a considerable mismatch. What could be the reason for this? How do we reconcile this? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3033 Registered: 10-2002 |
Dhiraj, I'm going to have to do some investigation on this. Basically, trace through how the "Stats" are calculated. I've never seen anything like this. Have you noticed any patterns? Are messages being submitted from remote users via HTTP or SMPP? -bn | |||
Dhiraj Mirchandaney New member Username: Dhirajm Post Number: 11 Registered: 05-2004 |
No patterns of any kind. The messages are being submitted from remote users via SMPP. I have a hunch. Maybe the system deducts a credit each time a "retry" happens? So in the end, the no. of retries = no. of credits deducted? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3045 Registered: 10-2002 |
Retries shouldn't have any effect. Both actions happen when the message is How much are the counts off by ... as a % of overall messages? Can you give me examples of the counts that you calculate from the number of entries in the log vs. the stats counter? Overall, I would expect the logs to be more accurate than the stats counter. But I don't see any reason that the stats counter would be off. I asked one of my colleagues to go through the code, and he indicated that the stats counter was always adjusted immediately after we logged a message. He didn't see anywhere that the stats counter was adjusted separately. Maybe you could forward me one of the SMS-yyyymmdd.LOG files from a user directory, along with the SMS.CTR file in that directory. I'm just curious to see if that gives any ideas. E-mail them to nowsms@now.co.uk. | |||
Dhiraj Mirchandaney New member Username: Dhirajm Post Number: 13 Registered: 05-2004 |
This happened only on 2 specific days during June 2004. So I'd suspect that this was an exception. Nevertheless, the mismatch is large enough to cause concern. %age wise, on one day the usage stats showed 30% higher no. of messages. The following day it got worse. The usage stats showed 84% higher no. of messages. The following days until now, the usage stats seem to show the correct stats as they tally with our records. I have forwarded the log and ctr files to the email id you mentioned. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3086 Registered: 10-2002 |
Hi Dhiraj, A follow-up after studying the info that you've sent me. It appears that there is a problem with the "stats" counter when a user exceeds their allotted message credits. Subsequent attempts to submit a message result in the stats counter being incremented, but the messages are definitely not accepted. We are working to produce a fix for this problem. -bn |