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 problem

SMS problem

Scheduled Pinned Locked Moved Support
1 Posts 1 Posters 29.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

    I have problem with sendin sms using Huawei USB dongle. Sometimes netxms send sms, sometimes not. I dont know why. My server config is:
    SMSDrvConfig: /dev/ttyUSB2,9600,8,N,1,T
    SMSDriver: /usr/lib/i386-linux-gnu/libnxsms_generic.so

    Debug level is 5.
    In log i can see:

    [15-Apr-2017 19:31:55.282] [DEBUG] *actions* Sending SMS to NUMBER1;NUMBER2: "MESSAGE"
    [15-Apr-2017 19:31:55.282] [DEBUG] SMS sender: rcpt="NUMBER1" text="MESSAGE"
    [15-Apr-2017 19:31:55.282] [DEBUG] SMS: send to {"NUMBER1"}: {"MESSAGE"}
    [15-Apr-2017 19:31:57.887] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [15-Apr-2017 19:31:58.002] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:31:58.002] [DEBUG] SMS: ATZ sent, got OK
    [15-Apr-2017 19:31:58.105] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
    [15-Apr-2017 19:31:58.106] [DEBUG] SMS: ATE0 sent, got OK
    [15-Apr-2017 19:31:58.308] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:31:58.309] [DEBUG] SMS: AT+CMGF=1 sent, got OK
    [15-Apr-2017 19:32:02.845] [DEBUG] SMS: ReadToOK buffer content: '    +CMGS: 236    OK  '
    [15-Apr-2017 19:32:02.845] [DEBUG] SMS: AT+CMGS + message body sent, got OK
    [15-Apr-2017 19:32:02.846] [DEBUG] SMS: serial port closed
    
    [15-Apr-2017 19:32:02.846] [DEBUG] SMS sender: rcpt="NUMBER2" text="MESSAGE"
    [15-Apr-2017 19:32:02.846] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
    [15-Apr-2017 19:32:05.451] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [15-Apr-2017 19:32:05.567] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:32:05.568] [DEBUG] SMS: ATZ sent, got OK
    [15-Apr-2017 19:32:05.670] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
    [15-Apr-2017 19:32:05.670] [DEBUG] SMS: ATE0 sent, got OK
    [15-Apr-2017 19:32:05.874] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:32:05.874] [DEBUG] SMS: AT+CMGF=1 sent, got OK
    [15-Apr-2017 19:32:08.576] [DEBUG] SMS: serial port closed
    [15-Apr-2017 19:32:08.576] [DEBUG] Failed to send SMS (will retry)
    [15-Apr-2017 19:32:08.577] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
    [15-Apr-2017 19:32:11.179] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [15-Apr-2017 19:32:11.294] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:32:11.294] [DEBUG] SMS: ATZ sent, got OK
    [15-Apr-2017 19:32:11.397] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
    [15-Apr-2017 19:32:11.397] [DEBUG] SMS: ATE0 sent, got OK
    [15-Apr-2017 19:32:11.600] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:32:11.600] [DEBUG] SMS: AT+CMGF=1 sent, got OK
    [15-Apr-2017 19:32:14.286] [DEBUG] SMS: serial port closed
    [15-Apr-2017 19:32:14.286] [DEBUG] Failed to send SMS (will retry)
    [15-Apr-2017 19:32:14.287] [DEBUG] SMS: send to {"NUMBER2"}: {"MESSAGE"}
    [15-Apr-2017 19:32:16.891] [DEBUG] SMS: ReadToOK: readToMark returned -1
    [15-Apr-2017 19:32:17.005] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:32:17.005] [DEBUG] SMS: ATZ sent, got OK
    [15-Apr-2017 19:32:17.107] [DEBUG] SMS: ReadToOK buffer content: 'ATE0   OK  '
    [15-Apr-2017 19:32:17.107] [DEBUG] SMS: ATE0 sent, got OK
    [15-Apr-2017 19:32:17.311] [DEBUG] SMS: ReadToOK buffer content: '  OK  '
    [15-Apr-2017 19:32:17.311] [DEBUG] SMS: AT+CMGF=1 sent, got OK
    [15-Apr-2017 19:32:19.998] [DEBUG] SMS: serial port closed
    [15-Apr-2017 19:32:19.998] [DEBUG] Failed to send SMS (will not retry)
    [15-Apr-2017 19:32:19.998] [DEBUG] Failed to send SMS (complete failure)
    [15-Apr-2017 19:32:19.999] [DEBUG] EVENT SYS_SMS_FAILURE [30] (ID:3292 F:0x0001 S:1 TAG:"") FROM aida: Unable to send SMS to phone "NUMBER2"
    

    I don't know why sms to first number is sent but to second not. But sometimes even sms to first number is not sent.

    Thanks for your help.

    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