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 access denied

SMS access denied

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 31.4k 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.
  • A
    A
    Anders
    wrote on last edited by
    #1

    Hi,

    I'm trying to get our Huawei E367U modem to work with NetXMS to send SMS. I believe I've configured NetXMS correctly and the output from the NetXMS initial bootup seems to support that:

    Nov  7 15:49:49 monjj01 netxmsd[31752]: Loading Generic SMS Driver (configuration: /dev/ttyUSB0,9600,8,n,1)
    Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: port={/dev/ttyUSB0}, speed=9600, data=8, parity=NONE, stop=1
    Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS: port opened
    Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: ATZ sent, got {#015#012^BOOT:45195587,0,0,0,99#015#012}
    Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: ATE0 sent, got {#015#012OK#015#012}
    Nov  7 15:49:49 monjj01 netxmsd[31752]: SMS init: ATI3 sent, got {ATE0#015}
    Nov  7 15:49:49 monjj01 netxmsd[31752]: GSM modem on /dev/ttyUSB0,9600,8,n,1 initialized successfully. Hardware ID: "ATE0".
    

    NetXMS configuration:

    SMSDriver = /usr/lib/libnxsms_generic.so
    SMSDrvConfig = /dev/ttyUSB0,9600,8,n,1
    

    (In order to rule out setting issues, I have tried using minicom with the following device settings: /dev/ttyUSB0 and 9600, 8n1 to manually send SMS and its been successfull).

    But when I click on Tools -> Send SMS and enter the following data:
    Phonenr: 4670XXXXXXX
    Message: test test test

    I get a error message stating that it: "cannot send a message to 4670XXXXXXX: access denied", please see the attached screenshot.
    I've tried different combinations like +4670XXXXXXX or simply 070XXXXXXX, but everything gives me the same error message.
    The user that I'm attempting to send SMS with is the default administrator user, created upon initial install of NetXMS and I've checked so that it has permissions to send SMS.

    I'm clueless to what to try next, any help would be appreciated.

    Regards

    Anders


    netxms-error.jpg

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

      Hi!

      You have to set server configuration's variable AllowDirectSMS to 1, otherwise server will only allow SMS sending through event processing policy.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • A
        A
        Anders
        wrote on last edited by
        #3

        Thanks Victor! That solved my problem.

        Hopefully this post can be useful for someone else that runs into the same problem 🙂

        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