Actions

Difference between revisions of "Audio Message from Standalone IP Speaker"

From Zenitel Wiki

(Created page with "{{E}} {{Cons}} The use case is that we have a standalone IP speaker and with the push of a button we want start playing a message in an endless loop. A second button is goin...")
 
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{E}}
 
{{E}}
 +
<table style="float:right; max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:ManOverBoard Diagram.PNG|400px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Audio Message triggered by push button</td>
 +
</tr>
 +
</table>
  
{{Cons}}
+
This article describes how a standalone 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 the message can play in loop and a second button can be used to stop the message.
 +
 
 +
==Hardware wiring==
 +
When the IP Speaker is used standalone there is no need for network connection, except during configuration.
  
The use case is that we have a standalone IP speaker and with the push of a button we want start playing a message in an endless loop. A second button is going to be used to stop the message playing.
+
Inside the speaker there is a TKIS-2 kit. The speaker must be powered by a 24VDC power supply.
  
==Hardware wiring==
+
Push buttons for start and stop message are wired as shown below.
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.
 
  
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<tr style="rowspan:2;">
 
<tr style="rowspan:2;">
<td style="display: block; vertical-align: bottom;">[[Image:Wiring V2.png|700px]]</td>
+
<td style="display: block; vertical-align: bottom;">[[Image:Wiring V2.png|500px]]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 20: Line 27:
 
</table>
 
</table>
  
==Configuration==
+
==Configuration steps==
The kit is set up as an Edge controller. We need to configure the inputs and the audio message.
+
# Set the IP Speaker as an [[Edge Controller]]
 +
# Upload and configure the Audio Message
 +
# Configure the inputs
 +
 
 +
 
 
===Setting up as Edge controller===
 
===Setting up as Edge controller===
In the usual way we set up the device as the Edge controller. We do this by checking the box “Edge Controller” in the main settings page.
+
[[Logging_into_an_IP_Station|Log in to the IP Speaker]], and go to '''Main Settings'''. Enable “Edge Controller”, and set a Static IP address:
  
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<tr style="rowspan:2;">
 
<tr style="rowspan:2;">
<td style="display: block; vertical-align: bottom;">[[Image:Main.png|700px]]</td>
+
<td style="display: block; vertical-align: bottom;">[[Image:Set Edge Controller.PNG|700px]]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 34: Line 45:
 
</table>
 
</table>
  
After this we give the device a number in the directory so it registers to itself. We do this in the page '''Edge controller''', '''System configuration''', '''Directory'''.
+
 
 +
Next is to give the IP Speaker a number in the '''Directory''' so it registers to itself. Go to '''Edge controller''' > '''System configuration''' > '''Directory''':
  
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<tr style="rowspan:2;">
 
<tr style="rowspan:2;">
<td style="display: block; vertical-align: bottom;">[[Image:Directory.png|700px]]</td>
+
<td style="display: block; vertical-align: bottom;">[[Image:Speaker Reg.PNG|700px]]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 45: Line 57:
 
</table>
 
</table>
  
===The inputs===
+
===Upload and configure audio message ===
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.
+
[[Logging_into_an_IP_Station|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 message will play in loop when a call is made to number 501. The message is stopped by making a call to number 599:
 +
 
 +
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 +
<tr style="rowspan:2;">
 +
<td style="display: block; vertical-align: bottom;">[[Image:ManOverBoard.PNG|700px]]</td>
 +
</tr>
 +
<tr>
 +
<td style='background-color:#efefef;'>Message linked to call number 501. Message will play in loop. Stop the message by calling 599.</td>
 +
</tr>
 +
</table>
 +
 
 +
 
 +
Instead of looping the message, it can play once then stop. In the screenshot below the message will play once, then stop, when a call is made to number 501:
  
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<tr style="rowspan:2;">
 
<tr style="rowspan:2;">
<td style="display: block; vertical-align: bottom;">[[Image:Inputs V2.png|700px]]</td>
+
<td style="display: block; vertical-align: bottom;">[[Image:ManOverBoard2.PNG|700px]]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td style='background-color:#efefef;'>Configuring the inputs</td>
+
<td style='background-color:#efefef;'>Message linked to call number 501. Message will play once.</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
The call of course will fail but still generate an “'''call ended'''” event. That we will utilize for the audio messages.
+
{{note|The wav file must be 16kHz sample rate, 16 bit resolution, mono}}
  
===The audio message===
+
===The inputs===
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.
+
* To start the playback of the message, the input 1 must initiate a call to the (non-existing) number 501 when activated.
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.
+
* To stop the message, the input 2 must initiate a call to the (non-existing) number 599 when activated.
  
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<table style="max-width:80%; border-style: double; border-color: #c7c7c7;">
 
<tr style="rowspan:2;">
 
<tr style="rowspan:2;">
<td style="display: block; vertical-align: bottom;">[[Image:Audio message V2.png|700px]]</td>
+
<td style="display: block; vertical-align: bottom;">[[Image:ManOverBoard Input.PNG|700px]]</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td style='background-color:#efefef;'>Configuring the audio message</td>
+
<td style='background-color:#efefef;'>Configuring the inputs</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
 
==Multiple messages==
 
==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.
+
If multiple messages are wanted, one can assign more inputs to fake numbers (e.g. 501, 502, 503 etc.) and use the same method “call ended” event to start the messages. You still need only one stop message.
  
  
  
 
[[Category:Public Address - Features and configuration]]
 
[[Category:Public Address - Features and configuration]]
 +
[[Category: IC-EDGE Configuration]]

Latest revision as of 11:33, 25 March 2022

Edge-icon.jpg
ManOverBoard Diagram.PNG
Audio Message triggered by push button

This article describes how a standalone 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 the message can play in loop and a second button can be used to stop the message.

Hardware wiring

When the IP Speaker is used standalone there is no need for network connection, except during configuration.

Inside the speaker there is a TKIS-2 kit. The speaker must be powered by a 24VDC power supply.

Push buttons for start and stop message are wired as shown below.

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

Configuration steps

  1. Set the IP Speaker 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

Upload and configure audio message

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 message will play in loop when a call is made to number 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.


Instead of looping the message, it can play once then stop. In the screenshot below the message will play once, then stop, when a call is made to number 501:

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


The inputs

  • To start the playback of the message, the input 1 must initiate a call to the (non-existing) number 501 when activated.
  • To stop the message, the input 2 must initiate a call to the (non-existing) number 599 when activated.
ManOverBoard Input.PNG
Configuring the inputs

Multiple messages

If multiple messages are wanted, one can assign more inputs to fake numbers (e.g. 501, 502, 503 etc.) and use the same method “call ended” event to start the messages. You still need only one stop message.