Audio Message from Standalone IP Speaker
From Zenitel Wiki
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.
Contents
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 the TKIS-2 inside the speaker |
Configuration steps
- The IP Speaker must be set as an Edge controller
- Upload and configure the Audio Message
- 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:
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:
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.
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.
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:
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:
Uploaded three messages, and linked them to call numbers 501 - 503. Message will play once. |
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.