Problem in 2-way messaging

Problem in 2-way messaging SearchSearch
Author Message
Zuhair E.
New member
Username: Zuhair

Post Number: 1
Registered: 04-2006
Posted on Tuesday, April 04, 2006 - 11:55 am:   

Hi,

I have connected a Nokia 32 GSM Modem to pc using normal com port wire.

And configured the Now SMS to forward the incoming messages to a url.

But the problem is that , in the begining 5-6 hours everything is working fine , but after that some messages are not forwarded and some are forwarded !

I have checked with 2 different pcs and 2 different wires. Changed the storage memory to Device,Sim,Direct,Default but the problem is still exist.

Can anyone tell me what is the problem?!

Thanks
Zuhair
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5779
Registered: 10-2002
Posted on Tuesday, April 04, 2006 - 09:58 pm:   

Hi Zuhair,

I would need to have more details.

When you say that some messages are not forwarded, what do you mean?

Do you mean that they are in the "SMS-IN" directory of NowSMS, but they are not forwarded to your URL?

Or do you mean that they do not seem to be received by NowSMS at all?

I would suggest enabling the SMSDEBUG.LOG and looking at that to see if you can see any clues about these messages.

-bn
Zuhair E.
New member
Username: Zuhair

Post Number: 2
Registered: 04-2006
Posted on Wednesday, April 05, 2006 - 02:37 pm:   

Hi BN,

Thanks for your reply.

Let me explain for you in details.

Im forwarding the incoming messages to this url:
http://www.[myweb].com/action.aspx?text=@@FULLSMS@@

And in my website Im storing them in database.

Now when I send for example 10 different messages from my mobile device to that sim in gsm modem all are coming to DB , then I leave the pc for some hours and again do the same test , but this time some of my messages are added in database and some not!

I checked the SMS-IN folder, there is only one file there: 442FC749.BAD

I have enabled debug logs as you said , but couldnt find the log file smsdebug.log which stores the log. Where is it located?

- I have tested with ozeki sms server and faced similar problem.
In this software , I receive 'connection time out' error after some hours.
Zuhair E.
New member
Username: Zuhair

Post Number: 3
Registered: 04-2006
Posted on Thursday, April 06, 2006 - 11:07 pm:   

Hi Again,

I have enabled smsdebug and found that , after about 6 hours this error message is repeating in log , can anybody tell me what is this related to and how I can solve it?

00:56:24:281 [2] ThreadProcessModem: OUT: 0001040B817933661760F6000005F3303BDC06
00:56:28:625 [2] ThreadProcessModem: ERROR - Modem Response (2): +CMS ERROR: 500
00:56:28:625 [2] ThreadProcessModem: Error: ERROR - Modem Response (2): +CMS ERROR: 500
00:58:31:281 [2] ThreadProcessModem: Processing 4416B042.req...
00:58:31:281 [2] ThreadProcessModem: OUT: AT+CMGS=18

00:58:31:359 [2] ThreadProcessModem: IN:
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5819
Registered: 10-2002
Posted on Thursday, April 20, 2006 - 05:39 pm:   

Hi Zuhair,

The "CMS ERROR: 500" messages are the result of NowSMS trying to send a message, and the modem returning an error response.

So, NowSMS retries ... by default, about 20 times.

Unfortunately, the "500" error from the modem indicates "unknown error".

Often, you'll see this error if the modem loses its network signal. Since the problem seems to occur after some time, that's a strong possibility. Maybe relocating the modem to an area with a stronger network signal would resolve the issue.

Regarding the received messages, that could also explain missing messages.

You can see what messages NowSMS has received in the SMSIN-yyyymmdd.LOG. Both this log and the SMSDEBUG.LOG are in the NowSMS program directory. (SMSDEBUG.LOG is only created if it is enabled on the "Serial #" page of the configuration dialog.)

-bn