Problem in 2-way SMS

Problem in 2-way SMS SearchSearch
Author Message
Juntao Deng
New member
Username: Deng_deng_deng

Post Number: 1
Registered: 07-2006
Posted on Monday, July 17, 2006 - 04:40 am:   

Hello,
Using NowSMS 2-way SMS, I can receive SMS messages. Because there are files created in the SMS-IN subdirectory with a .SMS file extension. However, with the setting in NowSMS documentation, I cannot implement the "ECHO" example. The gateway didn't launch a command processor (CMD).

By the way, i also wonder how to choose the "character set" in "2-way" page? It seems the default set is 'utf-8', but in this set, no message is received in SMS-IN subdirectory. However, when the set is 'default', the SMS can be received. but still no reponse in the "ECHO" example.

Thanks so much for your help!!

Regards,
Juntao
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6242
Registered: 10-2002
Posted on Wednesday, July 26, 2006 - 08:20 pm:   

Hi Juntao,

I would need to see an SMSDEBUG.LOG to understand.

You can enable the SMSDEBUG.LOG via a checkbox option on the "Serial #" page of the configuration dialog.

The character set setting has no bearing on whether or not a message is received. So I think the best solution is for you to send an SMSDEBUG.LOG which allows me to see what the activity is that is occurring on your system.

-bn
Juntao Deng
New member
Username: Deng_deng_deng

Post Number: 2
Registered: 07-2006
Posted on Thursday, July 27, 2006 - 12:58 pm:   

Thanks 4 ur concern!

I have found where is the problem. In the 2-way tab, when I leave the "Receive Phone Number(s)" blank, the whole system works perfectly. However, when i put my phone number associated with my modern in it. There wont be any response except a .SMS file created in SMS-IN subdirectory.

Could you please explain why this happen? and in what kind of situation, the "Receive Phone Number(s)" can be filled in?

Thank you so much!

Juntao
Juntao Deng
New member
Username: Deng_deng_deng

Post Number: 3
Registered: 07-2006
Posted on Thursday, July 27, 2006 - 01:04 pm:   

Here is my SMSDEBUG.LOG:
-------------------------------------------

11:51:12:296 [0] main: Now SMS/MMS Gateway Web server started on port number 8800
11:51:14:359 [0] main: 49 Days remaining in trial version
11:51:14:359 [2] ThreadProcessModem: Before ModemAllocate - WCM Modem [GSM]
11:51:14:359 [2] ThreadProcessModem: After ModemAllocate - WCM Modem [GSM] - OK
11:51:14:359 [2] ThreadProcessModem: Re-initializing modem: WCM Modem [GSM] ...
11:51:17:500 [2] ThreadProcessModem: AT+CPMS?
11:51:17:671 [2] ThreadProcessModem:
+CPMS: "SM",1,20,"SM",1,20,"SM",1,20

OK

11:51:17:687 [2] ThreadProcessModem: AT+CNMI=,,,1
11:51:17:875 [2] ThreadProcessModem:
OK

11:51:17:875 [2] ThreadProcessModem: AT+CNMI?
11:51:18:078 [2] ThreadProcessModem:
+CNMI: 2,1,0,1,0

OK

11:51:18:078 [2] ThreadProcessModem: AT+CPMS=?
11:51:18:281 [2] ThreadProcessModem:
+CPMS: ("SM"),("SM"),("SM")

OK

11:51:18:484 [2] ThreadProcessModem: Modem initialization complete: WCM Modem [GSM]
--------------------------------------------
Mosharraf Hossain
New member
Username: Mhossain

Post Number: 1
Registered: 07-2006
Posted on Monday, July 31, 2006 - 11:59 am:   

Hello,
Using NowSMS 2-way SMS (Trial version), I can receive SMS messages. Because in SMSIN-yyyymmdd.log file, there are list of received SMS. However, with the setting in NowSMS documentation, I cannot implement the "ECHO" example. The gateway didn't launch a command processor (CMD).

I have attached the debug log file.


Thanks & Best Regards

Mosharraf
application/octet-streamSMSIN log file
SMSIN-20060731.LOG (0.1 k)
application/octet-streamSMS debug Log file
SMSDEBUG.LOG (4.5 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6289
Registered: 10-2002
Posted on Tuesday, August 01, 2006 - 04:46 pm:   


quote:

I have found where is the problem. In the 2-way tab, when I leave the "Receive Phone Number(s)" blank, the whole system works perfectly. However, when i put my phone number associated with my modern in it. There wont be any response except a .SMS file created in SMS-IN subdirectory.

Could you please explain why this happen? and in what kind of situation, the "Receive Phone Number(s)" can be filled in?




The "Receive Phone Number" field indicates that the 2-way command you have defined should ONLY be executed for a received message where the recipient phone number matches the "Receive Phone Number" field. (The "Receive Phone Number" field can contain a comma delimited list of phone numbers to apply to multiple numbers.)

When messages are received via a GSM modem, the receive number will be blank, unless you configure a "Phone Number" for the modem under "Properties" in the "SMSC" list.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6290
Registered: 10-2002
Posted on Tuesday, August 01, 2006 - 04:49 pm:   


quote:

Using NowSMS 2-way SMS (Trial version), I can receive SMS messages. Because in SMSIN-yyyymmdd.log file, there are list of received SMS. However, with the setting in NowSMS documentation, I cannot implement the "ECHO" example. The gateway didn't launch a command processor (CMD).




Keep in mind that the command processor window will not pop-up on the screen. It runs in the background as a service process.

Did you check "Command returns response text" when defining this 2-way command?

-bn