Reply to email is not working even when the SMS starts with a valid...

Reply to email is not working even when the SMS starts with a valid... SearchSearch
Author Message
lee vitez
New member
Username: Leevitez

Post Number: 8
Registered: 03-2011
Posted on Monday, May 09, 2011 - 04:39 am:   

Hi,

I can send email to sms but reply to email is not working even when the SMS starts with a valid email address following my message. I enabled the SMSDEBUG.LOG and MMSCDEBUG.LOG and here what it says:

17:45:47:146 [0] UseRouteCache: No
17:45:49:190 [0] main: Now SMS/MMS Gateway v2011.03.21 Web server started on port number 8800
17:45:49:206 [3] ThreadProcessModem: HUAWEI Mobile Connect - 3G Modem
17:45:49:206 [3] ThreadProcessModem: Before ModemAllocate - HUAWEI Mobile Connect - 3G Modem
17:45:49:206 [3] ThreadProcessModem: After ModemAllocate - HUAWEI Mobile Connect - 3G Modem - OK
17:45:49:206 [3] ThreadProcessModem: Re-initializing modem: HUAWEI Mobile Connect - 3G Modem ...
17:45:49:408 [3] ThreadProcessModem: ATI0
17:45:49:408 [3] ThreadProcessModem:
Manufacturer: huawei
Model: E220
Revision: 11.117.10.03.99
IMEI: 354137020891075
+GCAP: +CGSM,+FCLASS,+DS

OK

17:45:49:455 [3] ModemTest: HUAWEI Mobile Connect - 3G Modem
17:45:49:533 [3] ModemTest: OK
17:45:49:533 [3] ThreadProcessModem: AT+CPMS?
17:45:49:549 [3] ThreadProcessModem:
+CPMS: "ME",0,255,"SM",0,30,"SM",0,30

OK

17:45:49:549 [3] ThreadProcessModem: AT+CNMI=2,2,2,1,0
17:45:49:564 [3] ThreadProcessModem:
+CMS ERROR: 303

17:45:49:564 [3] ThreadProcessModem: AT+CNMI=2,2
17:45:49:580 [3] ThreadProcessModem:
+CMS ERROR: 303

17:45:49:580 [3] ThreadProcessModem: AT+CNMI=2
17:45:49:596 [3] ThreadProcessModem:
+CMS ERROR: 303

17:45:49:596 [3] ThreadProcessModem: AT+CNMI?
17:45:49:611 [3] ThreadProcessModem:
+CNMI: 2,0,0,2,0

OK

17:45:49:611 [3] ThreadProcessModem: AT+CNMI=2,1
17:45:49:627 [3] ThreadProcessModem:
OK

17:45:49:627 [3] ThreadProcessModem: AT+CNMI?
17:45:49:642 [3] ThreadProcessModem:
+CNMI: 2,1,0,2,0

OK

17:45:49:642 [3] ThreadProcessModem: AT+CNMI=2,1,0,1
17:45:49:658 [3] ThreadProcessModem:
+CMS ERROR: 303

17:45:49:658 [3] ThreadProcessModem: AT+CNMI=2,1,0,2
17:45:49:674 [3] ThreadProcessModem:
OK

17:45:49:674 [3] ThreadProcessModem: AT+CPMS=?
17:45:49:689 [3] ThreadProcessModem:
+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")

OK

17:45:49:689 [3] ThreadProcessModem: AT+CPMS="SM","SM","SM"
17:45:49:705 [3] ThreadProcessModem:
+CPMS: 0,30,0,30,0,30

OK

17:45:49:705 [3] ThreadProcessModem: AT+CPMS?
17:45:49:720 [3] ThreadProcessModem:
+CPMS: "SM",0,30,"SM",0,30,"SM",0,30

OK

17:45:49:736 [3] ThreadProcessModem: AT+CNMI?
17:45:49:752 [3] ThreadProcessModem:
+CNMI: 2,1,0,2,0

OK

17:45:49:752 [3] ThreadProcessModem: AT+CNMI=?
17:45:49:767 [3] ThreadProcessModem:
+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)

OK

17:45:49:767 [3] ThreadProcessModem: AT+COPS?
17:45:49:783 [3] ThreadProcessModem:
+COPS: 0,2,"51505",0

OK

17:45:49:783 [3] ThreadProcessModem: AT+CSQ
17:45:49:798 [3] ThreadProcessModem:
+CSQ: 24,99

OK

17:45:49:798 [3] ThreadProcessModem: AT+CNUM
17:45:49:814 [3] ThreadProcessModem:
OK

17:45:49:814 [3] ThreadProcessModem: Modem initialization complete: HUAWEI Mobile Connect - 3G

Modem
17:47:33:164 [3] ModemReceiveMessages: AT+CPMS?
17:47:33:164 [3] ModemReceiveMessages:
+CPMS: "ME",0,255,"SM",1,30,"SM",1,30

OK

17:47:33:289 [3] ModemReceiveMessages:
+CMGL: 0,0,,44
0791362902005110040C913629525936390000115060717423231C6C78999D1E87DD65C0B91D4EB3

5DE3771B242FC3D979

50BB0C

OK

17:47:33:289 [3] ModemReceiveMessages: Decoding received message index 0 from message storage SM
17:47:33:289 [3] ModemReceiveMessages:

0791362902005110040C913629525936390000115060717423231C6C78999D1E87DD65C0B91D4EB3

5DE3771B242FC3D979

50BB0C
17:47:33:289 [3] ModemReceiveMessages: SMSC address len = 7
17:47:33:289 [3] ModemReceiveMessages: SMSC Address = +639220001501
17:47:33:289 [3] ModemReceiveMessages: SMS Message Type = SMS-DELIVER
17:47:33:289 [3] ModemReceiveMessages: Sender address len = 12
17:47:33:289 [3] ModemReceiveMessages: Sender Address = +639225956393
17:47:33:289 [3] ModemReceiveMessages: PID = 00
17:47:33:289 [3] ModemReceiveMessages: DCS = 00
17:47:33:289 [3] ModemReceiveMessages: Anticipated user data length = 28
17:47:33:289 [3] ModemReceiveMessages: Message = XXXXX@gmail.com reply me
17:47:33:305 [3] ModemReceiveMessages: AT+CMGD=0

17:47:33:320 [5] ThreadProcessInboundSMS: Processing 4DAFBEDF.in...
17:47:33:320 [5] GetProgramToExecute: mailto:@@SMSPREFIX@@
17:47:33:320 [5] GetProgramToExecute: mailto:XXXXX@gmail.com
17:47:33:320 [5] ThreadProcessInboundSMS: Executing mailto:XXXXX@gmail.com
17:47:33:320 [5] ThreadProcessInboundSMS: Processing complete 4DAFBEDF.in...
17:47:33:601 [3] ModemReceiveMessages:
OK

17:48:51:164 [3] ModemTest: HUAWEI Mobile Connect - 3G Modem
17:48:51:242 [3] ModemTest: OK
17:50:40:223 [1] ThreadListenForConnections: Before accept
17:50:40:223 [1] ThreadListenForConnections: After accept
17:50:40:410 [3] ThreadProcessModem: AT+CNMI=2,0
17:50:40:442 [3] ThreadProcessModem: Before ModemRelease - HUAWEI Mobile Connect - 3G Modem
17:50:40:442 [3] ThreadProcessModem: After ModemRelease - HUAWEI Mobile Connect - 3G Modem
17:50:50:357 [0] main: Shutdown: Closing log files


can someone pls explain why this is so? the strange thing i discovered, instead of recieving the reply from the email inbox, the sms reply is sent back to the mobile. i can only see a message that says "SMS ERROR:..." but i cannot proceed to download the remaining contents of the error message.

Pls help???
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3161
Registered: 08-2008
Posted on Monday, May 09, 2011 - 02:52 pm:   

Please see my reply in our existing conversation at http://support.nowsms.com/discus/messages/1/70158.html