10 Replies Latest reply on Jul 15, 2008 5:27 AM by mubeen_sheraz

    Multitech GSM Modem

      Hi

      Having a bit of trouble getting the alerts working for my GSM modem. Here is the log:

      Alert Error: The outbound alert message did not reach its destination. The test failed.
      Call Log, started: Wednesday, February 20th, 2008 at 09:16:25
      0.151 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      0.633 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      1.101 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      1.568 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      2.039 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      2.509 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      2.978 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      3.446 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      3.913 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      4.383 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      4.853 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      5.320 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      5.788 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      6.259 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      6.727 secsSent..ATE0Q0.AT..1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D
      6.738 secsRecv..OK....OK..0D 0A 4F 4B 0D 0A 0D 0A 4F 4B 0D 0A
      6.963 secsConnectBaud Rate: 11520
      0
      42 61 75 64 20 52 61 74 65 3A 20 31 31 35 32 30 30
      6.963 secsSentATE0Q0.41 54 45 30 51 30 0D
      6.971 secsRecv..OK..0D 0A 4F 4B 0D 0A
      7.213 secsSentAT+GCAP.41 54 2B 47 43 41 50 0D
      7.223 secsRecv..+GCAP: +CGSM, 
      +FCLASS....OK..
      0D 0A 2B 47 43 41 50 3A 20 2B 43 47 53 4D 2C 20 2B 46 43 4C 41 53 53 0D 0A 0D 0A 4F 4B 0D 0A
      7.745 secsSentAT+CPIN?.41 54 2B 43 50 49 4E 3F 0D
      7.753 secsRecv..+CPIN: READY..0D 0A 2B 43 50 49 4E 3A 20 52 45 41 44 59 0D 0A
      8.276 secsSentAT+CREG?.41 54 2B 43 52 45 47 3F 0D
      8.284 secsRecv..+CREG: 0,1....
      OK..
      0D 0A 2B 43 52 45 47 3A 20 30 2C 31 0D 0A 0D 0A 4F 4B 0D 0A
      8.526 secsSentAT+CMEE=1.41 54 2B 43 4D 45 45 3D 31 0D
      8.533 secsRecv..OK..0D 0A 4F 4B 0D 0A
      8.776 secsSentAT+CSCS="GSM".41 54 2B 43 53 43 53 3D 22 47 53 4D 22 0D
      8.783 secsRecv..OK..0D 0A 4F 4B 0D 0A
      9.026 secsSentAT+CMGF=0.41 54 2B 43 4D 47 46 3D 30 0D
      9.032 secsRecv..OK..0D 0A 4F 4B 0D 0A
      9.276 secsSentAT+CMGS=56.41 54 2B 43 4D 47 53 3D 35 36 0D
      9.282 secsRecv..> 0D 0A 3E 20
      9.526 secsSent0011000B91700956
      6507F90000AA3042
      67cb496d4de36cd0
      b42cb797e5a066b9
      fd96e74145b9fc2d
      9f83caf6b29bce7e
      9f41a0f41c447edf
      dd.
      30 30 31 31 30 30 30 42 39 31 37 30 30 39 35 36 36 35 30 37 46 39 30 30 30 30 41 41 33 30 34 32 36 37 63 62 34 39 36 64 34 64 65 33 36 63 64 30 62 34 32 63 62 37 39 37 65 35 61 30 36 36 62 39 66 64 39 36 65 37 34 31 34 35 62 39 66 63 32 64 39 66 38 33 63 61 66 36 62 32 39 62 63 65 37 65 39 66 34 31 61 30 66 34 31 63 34 34 37 65 64 66 64 64 1A
      12.446 secsRecv..+CMS ERROR: 38
      ..
      0D 0A 2B 43 4D 53 20 45 52 52 4F 52 3A 20 33 38 0D 0A
      12.446 secsLog EndModem rejected t
      he message send 
      command
      4D 6F 64 65 6D 20 72 65 6A 65 63 74 65 64 20 74 68 65 20 6D

      Any ideas? Thanks in advance

      Tony

        • Re: Multitech GSM Modem
          Peter.Cooper

           

          +CMS ERROR: 38


          A +CMS ERROR 38 is officially defined as "Network out of order". However, that's probably not the actual case. It may also be the modem rejecting the phone number you're sending. Can you try the phone numbers in a couple ways (11 and 10 digits) and get back to me?

          • 15125551212
          • 5125551212

           

          Baud Rate: 115200



          Just a quick FYI - The testing and actual paging will work a little faster if you configure the baud rate for 15200. The paging stuff is trying to figure out the right combination and it's going to use up the modem for a six extra seconds.

            • Re: Multitech GSM Modem

              that seemed to do the trick. Thanks for the quick response.


              regards


              Tony

                • Re: Multitech GSM Modem
                  simonpt

                  We've just taken delivery of a MultiTech GSM modem and I can't get it to work properly with ipMonitor 9.0.1.  I can connect to it with HyperTerminal at 115200 baud, 8, N, 1 and issue AT commands successfully, but when I force a test from the SMS text pager action I get this most of the time:


                  0.003 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  0.446 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  0.899 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  1.352 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  1.805 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  2.258 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  2.711 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  3.165 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  3.618 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  4.071 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  4.524 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  4.977 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  5.430 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  5.883 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  6.336 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  6.789 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  7.243 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  7.696 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 


                  About one in every ten attempts I get this:


                  0.002 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  0.452 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  0.905 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  1.358 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  1.811 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  2.264 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  2.717 secs Sent ..ATE0Q0.AT.. 1B 0D 41 54 45 30 51 30 0D 41 54 0D 0D 
                  2.842 secs Recv A 41 
                  2.944 secs Recv 5.OK.. 35 0A 4F 4B 0D 0A 
                  2.967 secs Connect Baud Rate: 1200 42 61 75 64 20 52 61 74 65 3A 20 31 32 30 30 
                  2.967 secs Sent ATE0Q0. 41 54 45 30 51 30 0D 
                  3.018 secs Recv A 41 
                  3.125 secs Recv TE0Q0... 54 45 30 51 30 0D 0D 0A 
                  3.194 secs Recv OK.. 4F 4B 0D 0A 
                  3.217 secs Sent AT+GCAP. 41 54 2B 47 43 41 50 0D 
                  3.386 secs Recv ..+GCAP: 0D 0A 2B 47 43 41 50 3A 
                  3.452 secs Recv  +CGSM,  20 2B 43 47 53 4D 2C 20 
                  3.519 secs Recv +FCLASS. 2B 46 43 4C 41 53 53 0D 
                  3.613 secs Recv ...OK.. 0A 0D 0A 4F 4B 0D 0A 
                  4.295 secs Sent AT+CPIN?. 41 54 2B 43 50 49 4E 3F 0D 
                  4.472 secs Recv ..+CPIN: 0D 0A 2B 43 50 49 4E 3A 
                  4.540 secs Recv  READY.. 20 52 45 41 44 59 0D 0A 
                  4.827 secs Sent AT+CREG?. 41 54 2B 43 52 45 47 3F 0D 
                  5.003 secs Recv ..+CREG: 0D 0A 2B 43 52 45 47 3A 
                  5.070 secs Recv  0,1.... 20 30 2C 31 0D 0A 0D 0A 
                  5.136 secs Recv OK.. 4F 4B 0D 0A 
                  5.405 secs Log End Modem failed to respond after up loading message text


                  I've tried different baud rates and even tried the 'alerting.gsm.textmode.enable' global behaviour modifier but nothing helps.


                  Can anyone please help with this?


                  Thanks - Simon

                    • Re: Multitech GSM Modem
                      Peter.Cooper

                      Hello Simon,

                      While you're specifying to connect at 115200, the modem is actually connecting at 1200 within ipMonitor, as per the log you've included (1200 is last on the list of baud rates and parity bits to try).

                      • What is the model of your modem?
                      • Are there any other utilities (or drivers!) on the box that use the modem?
                      • In HyperTerminal, can you please tell me what the result of the following commands are?
                        AT+IPR?
                        AT+ICF?
                        AT+IFC?
                      • Then can you recycle the power on the modem, and again in HyperTerminal, can you please tell me what the result of the following command is?
                        AT+IPR?
                        AT+ICF?
                        AT+IFC?

                      Thanks!

                      [Edit: Asking for the DCE defaults]

                        • Re: Multitech GSM Modem
                          simonpt

                          Hi Peter

                          Thanks for your reply.

                           

                          What is the model of your modem?


                          MTCBA-G-F1

                           

                          Are there any other utilities (or drivers!) on the box that use the modem?


                          No modem drivers are installed.  The modem is attached to COM1.  Device Manager shows 'Intel(R) Active Management Technology - SOL' on COM3.  There's a swag of business-related software installed on the system but nothing that would appear to touch serial comms or modems.

                           

                          In HyperTerminal, can you please tell me what the result of the following commands are?
                          AT+IPR?
                          AT+ICF?
                          AT+IFC?


                          +IPR: 0
                          +ICF: 3,4
                          +IFC: 2,2

                           

                          Then can you recycle the power on the modem, and again in HyperTerminal, can you please tell me what the result of the following command is?
                          AT+IPR?
                          AT+ICF?
                          AT+IFC?


                          +IPR: 0
                          +ICF: 3,4
                          +IFC: 2,2

                          Rgds, Simon

                            • Re: Multitech GSM Modem
                              Peter.Cooper

                              Hi Simon,

                              Your modem is set to use hardware flow control and "autobaud" at 8N1. This is good, but Multi-tech points out that their autobaud can be a little bit finicky. ipMonitor has a flavor of auto-detection, and I think that's confusing the modem.

                               
                              What I want you to try is to set the baud rate on the modem to 38400 on startup.

                              1. Recycle the power on the modem
                              2. In HyperTerminal, enter the following commands:
                                AT+IPR=38400
                                AT&W
                              3. Configure ipMonitor to use 38400 Baud with 8N1
                              4. The phone number you're supplying needs to be between 10 and 15 digits long. After reviewing your log, I believe that this isn't the case. For myself in North America, I would use 10 digits in the following pattern:
                                2223334444
                              5. Can you give the above a try and get back to me here on this thread? (the log you previously sent was very handy) Thanks.