Actions

Audio Message from Standalone IP Speaker

From Zenitel Wiki

Revision as of 11:35, 25 March 2022 by Asle (talk | contribs) (Upload audio messages)
Edge-icon.jpg
icon This article is under construction!


This article describes how a Zenitel IP Speaker can be used to play a prerecorded message, triggered by a push button. The message can play once and then stop, or a second button can be used to stop the message.

Hardware wiring

For the man overboard we will have two buttons:

  • One to start playing the message
  • One to stop playing the message

Since it is a standalone speaker there is no network, except when configuring. Inside the speaker there is a TKIS-2 kit. This is displayed in the picture below.

Wiring V2.png
Wiring the TKIS-2 inside the speaker

Configuration steps

  1. The IP Speaker must be set as an Edge controller
  2. Upload and configure the Audio Message
  3. Configure the inputs

Setting up as Edge controller

Log in to the IP Speaker, and go to Main Settings. Enable “Edge Controller”, and set a Static IP address:

Set Edge Controller.PNG
Setting as the Edge Controller

Next is to give the IP Speaker a number in the Directory so it registers to itself. Go to Edge controller, System configuration, Directory:

Speaker Reg.PNG
Assigning the directory number

The inputs

The inputs 1 and 2 are used to start and stop the message. This is done by calling nonexistent numbers and the stop message function.

Inputs V2.png
Configuring the inputs

The call of course will fail but still generate an “call ended” event. That we will utilize for the audio messages.

The audio message

The start and stop of the audio messages is tied to the “call ended” event. In the previous chapter fake numbers were assigned to the inputs. These numbers must correlate with the numbers used for the call ended events. For example in the previous chapter input 1 was assigned fake number 112 and in this chapter we assign call ended with number 112 to start the message. The message is set to repeat so it will keep looping till we stop the message with the call ended to 113. The pause is to give a moment of silence between repetitions.

Audio message V2.png
Configuring the audio message

Upload audio messages

Log in to the Edge Controller, and go to System Configuration > Special Settings. Under Audio Messages, select "Show Settings".

Browse to the wav file, and Upload the file.

Next step is to link the audio message to a (non-existing) call number. When a call is initiated to this number, and the call fails, the linked message will be played. Good practice is to use number 501 = Message 1 (and 502 = Message 2 etc. if more messages).


In the screenshot below the messages will play in loop when a call is made to numbers 501. The message is stopped by making a call to number 599:

ManOverBoard.PNG
Message linked to call number 501. Message will play in loop. Stop the message by calling 599.

In the screenshot below the messages will play once, then stop, when a HTTP web call is made to numbers 501 to 503:

ManOverBoard2.PNG
Message linked to call number 501. Message will play once.
Note icon The wav file must be 16kHz sample rate, 16 bit resolution, mono


Multiple messages

If you want to use multiple messages you assign more inputs to fake numbers and use the same method “call ended” event to start the messages. You still only need one stop message.