Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. SMS error

SMS error

Scheduled Pinned Locked Moved Support
6 Posts 3 Posters 25.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    P
    praim
    wrote on last edited by
    #1

    Hello i have netxms 2.0.1 on debian 8.2 jessie x64. I have problem with config USB modem. I have huawei K3765 on /dev/ttyUSB2
    But i cannot send SMS. In log (debiglevel = 5) only see

    SMS: send to {+420xxxxxxxxx}: {test}
    [25-Jan-2016 20:33:31.663] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [25-Jan-2016 20:33:33.766] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [25-Jan-2016 20:33:33.766] [DEBUG] Failed to send SMS (will retry)
    [25-Jan-2016 20:33:33.766] [DEBUG] SMS: send to {+420xxxxxxxxx}: {test}
    [25-Jan-2016 20:33:36.388] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [25-Jan-2016 20:33:38.491] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [25-Jan-2016 20:33:38.491] [DEBUG] Failed to send SMS (will not retry)
    [25-Jan-2016 20:33:38.491] [DEBUG] Failed to send SMS (complete failure)
    [25-Jan-2016 20:33:38.491] [DEBUG] EVENT SYS_SMS_FAILURE [30] (ID:30 F:0x0001 S:1 TAG:"") FROM : Unable to send SMS to phone +420xxxxxxxxx
    

    SMSDriver = /usr/lib/x86_64-linux-gnu/libnxsms_generic.so
    SMSDrvConf = /dev/ttyUSB2,9600,8,N,1,T

    In the previous version (i think it was 1.2.x) i didnt have problem with this configuration. Thanks for your help

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      do you remember what exact version you were using before? From the log it seems that driver cannot receive anything from serial port, and there were no changes in driver code since 1.2.12.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • P
        P
        praim
        wrote on last edited by
        #3

        It was version 1.2.17.

        1 Reply Last reply
        0
        • P
          P
          praim
          wrote on last edited by
          #4

          UP

          1 Reply Last reply
          0
          • A
            A
            Alex Kirhenshtein
            wrote on last edited by
            #5

            Verify it with screen (or minicom, etc.):

            screen /dev/ttyUSB2 9600
            

            Type "AT" and press Enter – you should get "OK".

            (close screen – press Ctrl-A, then "K")

            1 Reply Last reply
            0
            • P
              P
              praim
              wrote on last edited by
              #6

              i try minicom and it wrote me OK

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups