Ad Widget

Collapse

Let "Wiki SMS script (part of Clickatell) support span the long message to few messag

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • calebwong
    Junior Member
    • Dec 2011
    • 10

    #1

    Let "Wiki SMS script (part of Clickatell) support span the long message to few messag

    The wiki SMS script:
    http://www.zabbix.com/wiki/howto/config/alerts/smsapi

    Hi All,
    I am using this script with "clickatell" gateway service. (cli_sms_clickatell.php) The script is work fine. In some time, the zabbix message will longer than standard SMS length (One text SMS will be sent for every 160 characters or 140 bytes. ). We will get an error by the message length is too long.

    The official option "concat" can be set and define how many message can be send in 1 action. So, I have add "concat" into line 71 of this script.(after the line "from"=>$from,) (official recommended length is 3.)

    For the details, we can refer to "http://cdn.clickatell.com/downloads/http/Clickatell_HTTP.pdf"

    example:
    "concat" => '3',
Working...