Ad Widget

Collapse

Problems sending SMS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rileo8
    Junior Member
    • Feb 2007
    • 27

    #1

    Problems sending SMS

    Hi,
    i'm tryubg ti send sms from zabbix 1.4

    I have a Siemens MC35 gsm modem attached to /dev/ttyS0

    from console i can send sms but zabbix gives me an error:

    Expected [+CMGS: ] received [OK]

    I checked the sms.c and is like this :

    /* 0 */ {ZBX_AT_ESC , NULL , 0 }, /* Send <ESC> */
    /* 1 */ {"AT+CMEE=2\r" , "OK" , 5 }, /* verbose error values */
    /* 1 */ {"ATE0\r" , "OK" , 5 }, /* Turn off echo */
    /* 2 */ {"AT\r" , "OK" , 5 }, /* Init modem */
    /* 3 */ {"AT+CMGF=1\r" , "OK" , 5 }, /* Switch to text mode */
    /* 4 */ {"AT+CMGS=\"" , NULL , 0 }, /* Set phone number */
    /* 5 */ {number , NULL , 0 }, /* Write phone number */
    /* 6 */ {"\"\r" , "> " , 5 }, /* Set phone number */
    /* 7 */ {message , NULL , 0 }, /* Write message */
    /* 8 */ {ZBX_AT_CTRL_Z , "+CMGS: " , 40 }, /* Send message */
    /* 9 */ {NULL , "OK" , 1 }, /* ^Z */
    /* EOS */ {NULL , NULL , 0 }
    };

    I need to change something?

    Thanks,
    Riccardo
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Please, try ZABBIX 1.4.4. The MC35 should work perfectly.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • rileo8
      Junior Member
      • Feb 2007
      • 27

      #3
      I'm using zabbix 1.4.4 but it seems not to work...
      Any idea?

      Thanks,
      Riccardo

      Comment

      Working...