Project

General

Profile

I have problem with sms response

Added by omoridi over 8 years ago

I have problem with sms response see my log
return delivery with no content, no number, no index and in one word return nothing.
GSM Model: HSPA

2011.09.12-12.40.29: [Cell 1] Firing Async MessageSending event.
2011.09.12-12.40.29: Sending message to +989122008396
2011.09.12-12.40.29: [Iran Cell 1] Ending Async MessageEventHandler call
2011.09.12-12.40.29: Sending: AT+CMMS=1
2011.09.12-12.40.30: Response: <cr><lf>OK<cr><lf>
2011.09.12-12.40.30: [Cell 1] Sending message to +989122008396
2011.09.12-12.40.30: [Cell 1] Content: test
2011.09.12-12.40.30: Sending: AT+CSCA?
2011.09.12-12.40.30: Response: <cr><lf>+CSCA: "+989350001400",145<cr><lf><cr><lf>OK<cr><lf>
2011.09.12-12.40.30: Sending: AT+CMGS=18
2011.09.12-12.40.30: Response: <cr><lf>>
2011.09.12-12.40.30: Sending: 079189390500410031080C9189192200386900002304F4F29C0E
2011.09.12-12.40.32: Sending: AT+CMGL=4
2011.09.12-12.40.33: Response: <cr><lf>+CMGL: 1,1,,25<cr><lf>0006830C91891922003869119021002242811190210022428163<cr><lf>+CMGL: 2,1,,25<cr><lf>0006870C91891922003869119021205303811190212053038163<cr><lf>+CMGL: 3,1,,25<cr><lf>0006880C91893987949194119021205344811190212053448163<cr><lf>+CMGL: 4,1,,25<cr><lf>00068A0C91893987949194119021202420811190212024208163<cr><lf><cr><lf>OK<cr><lf>
2011.09.12-12.40.33: Response: <cr><lf><cr><lf>+CMGS: 144<cr><lf><cr><lf>OK<cr><lf>
2011.09.12-12.40.33: [Cell 1] Firing Async MessageSent event.
2011.09.12-12.40.33: Sending: AT+CMGL=4
2011.09.12-12.40.38: [Cell 1] Unsolicited message: +CDSI: "SR",0
2011.09.12-12.40.38: [Cell 1] New SMS-STATUS-REPORT received (indicated by memory location)
2011.09.12-12.40.38: Response: <cr><lf>+CMGL: 0,0,,139<cr><lf>07918939050041004410D0CDF73C2C2E9FD16500081180624132148176050003FC03030627062706310633062706440020067E06CC0627064506A90020062E0627064406CC00200628064700200634064506270631064700200631062706CC06AF062706460020003800340038003800380020064806270631062F002006450633062706280642064700200634064806CC062F<cr><lf>OK<cr><lf>
2011.09.12-12.40.40: Message is sent to +989122008396 using gateway Iran Cell 1
2011.09.12-12.40.40: [Cell 1] Ending Async MessageEventHandler call
2011.09.12-12.40.40: Sending: AT+CPMS="SR","SR","SR"
2011.09.12-12.40.41: Response: <cr><lf>+CPMS: 15,15,15,15,15,15<cr><lf><cr><lf>OK<cr><lf>
2011.09.12-12.40.41: Sending: AT+CMGR=0
2011.09.12-12.40.41: CMS ERROR: 321 Invalid memory index
2011.09.12-12.40.41: [Cell 1] Ending Async RawMessageReceivedEventHandler call
2011.09.12-12.40.46: Sending: AT+CMGL=4
2011.09.12-12.41.17: Response: <cr><lf>+CMGL: 1,1,,25<cr><lf>0006830C91891922003869119021002242811190210022428163<cr><lf>+CMGL: 2,1,,25<cr><lf>0006870C91891922003869119021205303811190212053038163<cr><lf>+CMGL: 3,1,,25<cr><lf>0006880C91893987949194119021205344811190212053448163<cr><lf>+CMGL: 4,1,,25<cr><lf>00068A0C91893987949194119021202420811190212024208163<cr><lf><cr><lf>OK<cr><lf>
2011.09.12-12.41.17: Sending: AT+CMGL=4
2011.09.12-12.41.19: CMS ERROR: 500 Unknown error
2011.09.12-12.41.19: Received message from . Content:
2011.09.12-12.41.19: [Cell 1] Ending Async MessageReceivedEventHandler call
2011.09.12-12.41.19: [Cell 1] Polling new messages: Unsupported feature: GetMessageFeature: Retrieve messages from the gateway (CMS ERROR: 500 Unknown error)


Replies (14)

RE: I have problem with sms response - Added by admin over 8 years ago

Hi,

Could you attach the complete log file here? I am not sure what you mean by HPSA? Is it HSDPA?

If you are using a phone, e.g. a SmartPhone, receiving may be a problem.

You could try switching the memory location and test again.

Thanks
Regards
admin

RE: I have problem with sms response - Added by admin over 8 years ago

Hi,

From the log file, we suspect that the incoming status report causes the memory to be set to "SR", which in term cause the message reading to fail.

Can you try with the attached DLLs (1 is for .NET 3.5, another for .NET 4.0)

Please do let us know if you still face problem with the patch.

Thanks
Regards
admin

RE: I have problem with sms response - Added by omoridi over 8 years ago

Hi,
Now with HSDPA don't responce any report status.
But with wavecom responce.
i send the log.

RE: I have problem with sms response - Added by admin over 8 years ago

Hi,

From the log file, I don't see that message indication is enabled for HSDPA modem.

E.g. for the WaveCom, i can see CNMI command being issued

2011.09.14-01.44.17: Response: <cr><lf> WAVECOM MODEM<cr><lf><cr><lf>OK<cr><lf>
2011.09.14-01.44.17: Sending: AT+CGSN
2011.09.14-01.44.17: Received message from 757614. Content: [Trial] 50% ??? ?? ????? ???? ?????:
1 - ? ??? (?? ???) 2211454
2 - ??? (??? ???) 3312861
3 - ?
?. ??? (?????? ? ??) 661105
4 - ?? ?? (???? ???) 3312862
5 - ?
?. ?? ? ? (?????? ? ??) 661101
??? ??757614. ??2500??
2011.09.14-01.44.17: [Wavecom] Ending Async MessageReceivedEventHandler call
2011.09.14-01.44.18: Response: <cr><lf>359650001202273<cr><lf><cr><lf>OK<cr><lf>
2011.09.14-01.44.18: Sending: AT+CIMI
2011.09.14-01.44.18: Response: <cr><lf>+CPMS: 1,255,1,255,1,255<cr><lf><cr><lf>OK<cr><lf>
2011.09.14-01.44.18: Sending: AT+CNMI=?
2011.09.14-01.44.18: Response: <cr><lf><cr><lf>432350223176233<cr><lf><cr><lf>OK<cr><lf>
2011.09.14-01.44.18: Sending: AT+CGMR
2011.09.14-01.44.18: Response: <cr><lf>+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)<cr><lf><cr><lf>OK<cr><lf>
2011.09.14-01.44.18: Sending: AT+CNMI=2,1,0,2,0
2011.09.14-01.44.18: Response: <cr><lf>OK<cr><lf>

But I don't see it for HSDPA modem. Can you check?

Thanks
Regards
admin

RE: I have problem with sms response - Added by omoridi over 8 years ago

can modem don't support the report status?
it's GPRS/GPS modem

support network: HSDPA ,GSM,GPRS EDGE

RE: I have problem with sms response - Added by admin over 8 years ago

Hi,

There is a diagnostic program bundled with MessagingToolkit, can you use it to test out, and show us the output here?

Thanks
Regards
admin

RE: I have problem with sms response - Added by omoridi over 8 years ago

Start diagnosing...
Service Center Address (CSCA).............. [YES]
Message notification (CMTI,CDSI)........... [YES]
Message routing (CMT,CDS).................. [NO]
Call notification (CLIP)................... [YES]
Message PDU mode (AT+CMGF=0)............... [YES]
Message Text mode (AT+CMGF=1).............. [NO]
Supported phone book storage (CPBS) [SM, DC, FD, LD, MC, ME, RC, EN, ]
Subscriber information (CNUM).............. [NO]
Sending command AT+CMGS=?
Response:
OK

Sending message (CMGS)..................... [YES]
Sending command AT+CMGL=?
Response:
+CMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL")

OK

List message (CMGL)........................ [YES]
Sending command AT+CMGR=?
Response:
OK

Read message (CMGR)........................ [YES]

FINISHED

2011.09.15-10.01.24: Sending: AT+CSCA?
2011.09.15-10.01.25: Response: <cr><lf>+CSCA: "+989350001400",145<cr><lf><cr><lf>OK<cr><lf>
2011.09.15-10.01.25: Sending: AT+CNMI=?
2011.09.15-10.01.25: Response: <cr><lf>+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)<cr><lf><cr><lf>OK<cr><lf>
2011.09.15-10.01.25: Sending: AT+CNMI=2,1,0,2,0
2011.09.15-10.01.25: Response: <cr><lf>OK<cr><lf>
2011.09.15-10.01.25: Sending: AT+CNMI=2,2,0,1,0
2011.09.15-10.01.26: CMS ERROR: 303 Operation not supported
2011.09.15-10.01.26: Sending: AT+CLIP=1
2011.09.15-10.01.26: Response: <cr><lf>OK<cr><lf>
2011.09.15-10.01.26: Sending: AT+CMGF=0
2011.09.15-10.01.26: Response: <cr><lf>OK<cr><lf>
2011.09.15-10.01.26: Sending: AT+CMGF=1
2011.09.15-10.01.27: Response: <cr><lf>OK<cr><lf>
2011.09.15-10.01.27: Sending: AT+CSCS="HEX"
2011.09.15-10.01.27: Error in command AT+CSCS="HEX" : ERROR
2011.09.15-10.01.27: Sending: AT+CPBS=?
2011.09.15-10.01.27: Response: <cr><lf>+CPBS: ("SM","DC","FD","LD","MC","ME","RC","EN")<cr><lf><cr><lf>OK<cr><lf>
2011.09.15-10.01.27: Sending: AT+CNUM
2011.09.15-10.01.28: Response: <cr><lf>OK<cr><lf>
2011.09.15-10.01.28: Sending: AT+CMGS=?
2011.09.15-10.01.28: Response: <cr><lf>OK<cr><lf>
2011.09.15-10.01.28: Sending: AT+CMGL=?
2011.09.15-10.01.28: Response: <cr><lf>+CMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL")<cr><lf><cr><lf>OK<cr><lf>
2011.09.15-10.01.28: Sending: AT+CMGR=?
2011.09.15-10.01.29: Response: <cr><lf>OK<cr><lf>

RE: I have problem with sms response - Added by admin over 8 years ago

Hi,

From the log file, I can see that message indication is supported.

Can you try
1. Connect to the HSDPA modem.
2. Enable message indication
3. Verify in the log file you can see something like this

2011.09.15-10.01.25: Sending: AT+CNMI=2,1,0,2,0
2011.09.15-10.01.25: Response: <cr><lf>OK<cr><lf>

4. Test again.

Thanks
Regards
admin

RE: I have problem with sms response - Added by omoridi over 8 years ago

hi,
How can do that?

RE: I have problem with sms response - Added by admin over 8 years ago

Hi,

Please try with the Core Utilities sample program to see if you can receive the message.

Thanks
Regards
admin

RE: I have problem with sms response - Added by omoridi over 8 years ago

omoridi on yahoo messenger

RE: I have problem with sms response - Added by omoridi over 8 years ago

hi,
i try with motorola v3x mobile and i have problem with report status.

RE: I have problem with sms response - Added by admin over 8 years ago

Hi,

The phone does not seem to support this feature. You can see it from the AT command

2011.09.21-11.28.21: Response: <cr><lf>+CNMI: (0,3),(0-2),(0),(0),(0)<cr><lf><cr><lf>OK<cr><lf>
2011.09.21-11.28.21: [COM43] Attention: The phone does not support notification about new status reports. As a fallback it will be disabled.

Thanks
Regards
admin

    (1-14/14)