Problem in 2-way SMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2006 ⬆ |
◄ ► |
Author | Message | |||||
Juntao Deng New member Username: Deng_deng_deng Post Number: 1 Registered: 07-2006 |
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 |
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 |
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 |
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 |
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
| |||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6289 Registered: 10-2002 |
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 |
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 |