Problem with initializing modem

Problem with initializing modem SearchSearch
Author Message
john
New member
Username: Syirrus

Post Number: 2
Registered: 04-2006
Posted on Thursday, November 01, 2007 - 01:52 am:   

Specs
NowSMS version 06/27/2007
Omni Instrument GSM modem
http://store.omniinstruments.net/omnirf_gsm_modem.htm

I installed the modem and NowSMS detected it without a problem. When I go to send an SMS message, I receive an error:

2007-11-01 00:00:32,System,,COM1:,Modem Failure -- Error waiting for initialization response from modem
2007-11-01 00:04:49,47297767.req,192.168.0.101,1xxxxxxxxxx,Retry Pending - ERROR -- COM1:

The weird thing is, is that the message actually gets sent to my cell phone in spite of this error. In fact the message gets sent repeatedly until I clear the que. Does anyone know what is causing this? I have tested the modem in windows through "control panel" and everything checks out okay. Below is the SMSDEBUG log file:


00:27:58:436 [0] main: Now SMS/MMS Gateway v2007.06.27 Web server started on port number 8080
00:28:00:437 [3] ThreadProcessModem: COM1:
00:28:00:437 [2] ThreadProcessModem: SDKLINK - VirtualSMSC
00:28:00:437 [2] SenderAddressOverride: Yes
00:28:00:439 [3] ThreadProcessModem: Before ModemAllocate - COM1:
00:28:00:440 [3] ThreadProcessModem: After ModemAllocate - COM1: - OK
00:28:00:440 [3] ThreadProcessModem: Re-initializing modem: COM1: ...
00:28:02:442 [3] ReceiveModemCommand: Error - 3E4 -
00:28:02:442 [3] ReceiveModemCommand: CancelIo
00:28:09:442 [3] ReceiveModemCommand: Error - 3E4 -
00:28:09:442 [3] ReceiveModemCommand: CancelIo
00:28:10:442 [3] ReceiveModemCommand: Error - 3E4 -
00:28:10:442 [3] ReceiveModemCommand: CancelIo
00:28:16:862 [3] TestModemSpeed: Initialised modem at 38400 bps
00:28:17:138 [3] ThreadProcessModem: ATI0
00:28:17:138 [3] ThreadProcessModem:
<manufacturer1>

OK

00:28:17:336 [3] ThreadProcessModem: AT+CPMS?
00:28:17:412 [3] ThreadProcessModem:
+CPMS: "SM",0,30,"SM",0,30,"SM",0,30

OK

00:28:17:412 [3] ThreadProcessModem: AT+CNMI=,,,1
00:28:17:477 [3] ThreadProcessModem:
OK

00:28:17:477 [3] ThreadProcessModem: AT+CNMI?
00:28:17:546 [3] ThreadProcessModem:
+CNMI: 0,0,0,1,0

OK

00:28:17:546 [3] ThreadProcessModem: AT+CPMS=?
00:28:17:623 [3] ThreadProcessModem:
+CPMS: ("ME","SM"),("ME","SM"),("ME","SM")

OK

00:28:17:687 [3] ThreadProcessModem: Modem initialization complete: COM1:
00:28:17:906 [3] ModemReceiveMessages:
+CMS ERROR: 320