SBN Media 2-way voice forwarding
SBN Media can receive two-way voice alarms using a variety of protocols. The signal is interpreted and passed on to the Central Station software using an MLR2 format receiver. In order for the central station operator to gain access to the media element of the signal, SBN Media will need to be integrated into the PBX that the operator uses to make and receive phone calls.
This document describes the options available to forward the call to the correct phone extension of the operator.
Option 1: SBN Media Scripting to call Central Station Software endpoints
SBN Media has the ability to execute LUA scripts when an event is received. The scripts can be used to execute APIs within the central station software to retrieve information related to the operator processing the signal. An example LUA script is below:
Option 2: SBN Media API Endpoint
SBN Media provides an API endpoint to forward a call. This can be used to forward the media for a specific AlarmID
POST /api/v1/alarm/forward-media
Send the request to the address of the SBN Media API Proxy.
Payload
200 OK
The request was successfully processed
400 Bad Request
The request did not contain the correct payload
401 Unauthorized
A request token was not provided or was invalid
404 Not found
A call associated with the CID was not found