View previous topic :: View next topic |
Author |
Message |
SJ1402
Joined: 28 Mar 2011 Posts: 4 Location: UK
|
Posted: Mon Mar 28, 2011 10:56 am Post subject: CMS Error: 500 |
|
|
Hi All,
Has anyone had any sucess or can offer any suggestions with the following issue;
We are using a Huawei E220 USB Modem (on vodafone UK network) and setting up Pagegate to use GSM-AT
The Modem appears to initialize but when sending a test message using the GUI client we receive the following error in the logs
Received:<CR><LF>999<CR><LF>+CMS ERROR: 500<CR><LF>
an extract from the log can be seen below (we have removed the SMS recipient number);
28/03/2011 16:31:46 Start connection to carrier: VodafoneUK
28/03/2011 16:31:46 Connect using GSM protocol
28/03/2011 16:31:48 Setting communication parameters (1200,n,8,1)
28/03/2011 16:31:48 Attempting to reset modem
28/03/2011 16:32:03 Sent:AT<CR>
28/03/2011 16:32:04 Received:<CR><LF>OK<CR><LF>
28/03/2011 16:32:06 Modem reset
28/03/2011 16:32:06 Attempting to send dialer init string
28/03/2011 16:32:09 Sent:AT&FQ0V1X4&D2<CR>
28/03/2011 16:32:09 Received:<CR><LF>OK<CR><LF>
28/03/2011 16:32:12 Dialer init string sent
28/03/2011 16:32:12 Attempting to send carrier init string
28/03/2011 16:32:14 Sent:AT&FQ0V1X4&D2<CR>
28/03/2011 16:32:15 Received:<CR><LF>OK<CR><LF>
28/03/2011 16:32:18 Carrier init string sent
28/03/2011 16:32:18 Sent:AT+CMGF=1<CR>
28/03/2011 16:32:21 Received:<CR><LF>OK<CR><LF>
28/03/2011 16:32:21 Text delivery mode entered
28/03/2011 16:32:23 ----------------------------------------
28/03/2011 16:32:23 Working on message to: 4478xxxxxxxx from: xxxx
28/03/2011 16:32:25 Formatting message
28/03/2011 16:32:25 Message contained in a single packet
28/03/2011 16:32:28 Sending packet
28/03/2011 16:32:28 Sent:AT+CMGS=""<CR>
28/03/2011 16:32:31 Received:<CR><LF>>
28/03/2011 16:32:31 Sent:999<SUB>
28/03/2011 16:33:03 Received:<CR><LF>999<CR><LF>+CMS ERROR: 500<CR><LF>
28/03/2011 16:33:03 Error sending packet
Any thoughts, help or directions would be greatly appreciated.
many thanks
SJ
|
|
Back to top |
|
OzCom
Joined: 22 Oct 2003 Posts: 1122 Location: US
|
Posted: Mon Mar 28, 2011 11:41 am Post subject: |
|
|
Try leaving the initialization string blank_________________ Aaron D. Osgood
Streamline Communications, LLC
* Authorized Notepage, Inc. Development Partner and Re-seller
TEL: 207-518-8455
AOsgood@streamline-solutions.net
Creators of AutoPage Spillman CAD interface for PageGate |
|
Back to top |
|
SJ1402
Joined: 28 Mar 2011 Posts: 4 Location: UK
|
Posted: Mon Mar 28, 2011 4:06 pm Post subject: |
|
|
Hi Aaron,
Thanks for the suggestion - gave it a try however still receiving the CMS ERROR: 500.
========================================
28/03/2011 22:06:16 Start connection to carrier: VodafoneUK
28/03/2011 22:06:16 Connect using GSM protocol
28/03/2011 22:06:18 Setting communication parameters (9600,n,8,1)
28/03/2011 22:06:19 Attempting to reset modem
28/03/2011 22:06:33 Sent:AT<CR>
28/03/2011 22:06:34 Received:<CR><LF>OK<CR><LF>
28/03/2011 22:06:37 Modem reset
28/03/2011 22:06:37 Sent:AT+CMGF=1<CR>
28/03/2011 22:06:39 Received:<CR><LF>OK<CR><LF>
28/03/2011 22:06:39 Text delivery mode entered
28/03/2011 22:06:42 ----------------------------------------
28/03/2011 22:06:42 Working on message to: 078xxxxxxxx from: xxx
28/03/2011 22:06:44 Formatting message
28/03/2011 22:06:44 Message contained in a single packet
28/03/2011 22:06:46 Sending packet
28/03/2011 22:06:46 Sent:AT+CMGS=""<CR>
28/03/2011 22:06:49 Received:<CR><LF>>
28/03/2011 22:06:49 Sent:nasstar:This is a test message<SUB>
28/03/2011 22:07:22 Received:<CR><LF>nasstar:This is a test message<CR><LF>+CMS ERROR: 500<CR><LF>
28/03/2011 22:07:22 Error sending packet
28/03/2011 22:07:24 Attempting to hang up modem
28/03/2011 22:07:31 Sent:AT<CR>
28/03/2011 22:07:34 Received:<CR><LF>OK<CR><LF>
28/03/2011 22:07:34 Modem hung up
28/03/2011 22:07:37 Carrier retry limit reached. Marking pending messages as bad
28/03/2011 22:07:39 FAILED Stn:10 To:078xxxxxxxx Frm: xxx Msg:This is a test message
|
|
Back to top |
|
SJ1402
Joined: 28 Mar 2011 Posts: 4 Location: UK
|
Posted: Mon Mar 28, 2011 4:45 pm Post subject: |
|
|
Okay so it looks like I've found where the problem lies;
28/03/2011 22:06:46 Sent:AT+CMGS=""<CR>
28/03/2011 22:06:49 Received:<CR><LF>>
28/03/2011 22:06:49 Sent:nasstar:This is a test message<SUB>
During the AT+CMGS+"" line this should contain the recipient SMS number but it appers to be missing.
I can replicate this manually on terminal connection to the modem - when the command is entered as AT+CMGS="<recipient#" it sends the SMS
Any ideas why pagegate is not injecting the number in the correct location?
|
|
Back to top |
|
SJ1402
Joined: 28 Mar 2011 Posts: 4 Location: UK
|
Posted: Mon Mar 28, 2011 5:16 pm Post subject: |
|
|
Found the issue - RTFM!
ID/SIM was not added correctly to recipient set-up
|
|
Back to top |
|
|