Asterisk Template Incorrect Reload Trigger

XMLWordPrintable

    • Type: Problem report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 5.0.12
    • Component/s: Templates (T)
    • None
    • Environment:
      asterisk 16.0.9

      In current asterisk template we have following trigger:

      {Template Tel Asterisk by HTTP:asterisk.uptime_reload.last()}

      <10m
      But value returned in asterisk.uptime_reload is always negative, so on reload this trigger is not closed after 10min.
      Example of data returned:
      {"version":"16.9.0","uptime":7818805.89,"uptime_reload":-1557.11,"active_channels":0,"active_calls":0,

      So, to make trigger correct this item should be turned to positive. I've solved that by addind one more preprocessing step to item configuration (after JSONPath)- Custom multiplier -1

       

            Assignee:
            Andrey Tocko (Inactive)
            Reporter:
            Oleg Gawriloff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: