Module alarmqueue

Access the SBN alarm queue

Functions

AlarmQueue.findIncident (cid, deal_id)
Find an incident in alarm queue

Parameters:

  • cid string
  • deal_id string

Returns:

    number, number
AlarmQueue.lookupByCID (cid, deal_id)
Lookup an incident by CID

Parameters:

  • cid string
  • deal_id string

Returns:

    table | nil
AlarmQueue.lookupByIncident (s_inc, queue_id)
Lookup an incident by incident number

Parameters:

  • s_inc number
  • queue_id number

Returns:

    table | nil
AlarmQueue.waitForIncident (cid, deal_id, retries)
Wait for an incident

Parameters:

  • cid string
  • deal_id string
  • retries number

Returns:

    table | nil incident the incident
AlarmQueue.waitForTerminal (cid, deal_id, retries)
Wait for an incident to be assigned to a terminal

Parameters:

  • cid string
  • deal_id string
  • retries number

Returns:

  1. string terminal the terminal ID assigned to the incident
  2. table | nil incident the incident
AlarmQueue.waitForClear (incident)
Wait for an incident to be disposed

Parameters:

  • incident table | nil
AlarmQueue.getCallList (incident)
Get the call list of an incident

Parameters:

  • incident table

Returns:

    table | nil
AlarmQueue.take (incident, terminalID)
Take the incident from the queue

Parameters:

  • incident table
  • terminalID string

Returns:

    table | nil
AlarmQueue.remove (incident, terminalID, evnr)
Set contact called on an incident

Parameters:

  • incident table
  • terminalID string
  • evnr number

Returns:

    table | nil
AlarmQueue.contactCalled (incident, terminalID, contact, comment)
Log in SBN that a contact has been called

Parameters:

  • incident table
  • terminalID string
  • contact table
  • comment string

Returns:

    table|nil
generated by LDoc 1.5.0 Last updated 2025-06-05 18:17:56