Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Html
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>




Html
 <div class="lang-box-pdf">
	<div>
		<div class="google-lang">
			<div id="google_translate_element">
			</div>
			<script type="text/javascript">
					function googleTranslateElementInit() {
						new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,es,fr,it,nl', autoDisplay: false}, 'google_translate_element');
						}
			</script>
			<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
		</div>
		
		<div class="pdf-button">
			<a href="https://confluence.wildix.com/spaces/flyingpdf/pdfpageexport.action?pageId=80708434" alt="Convert to .pdf" title="Convert to .pdf"><img src="https://confluence.wildix.com/download/attachments/14549012/pdf-button-download-wildix-documentation.png"></a>
		</div>
	</div>
</div>

...

Info

This Guide explains how to get the location of the nearest W-AIR Base Station in W-AIR Network in case of emergency alarm triggered on W-AIR Handset.

  • Min W-AIR firmware: 0501b5
  • Min WMS version: 5.02.20201207.3
  • W-AIR documentation: Link

Created: December 2020

Permalink: https://confluence.wildix.com/x/UoPPB

Table of Contents

Requirements

  • Hardware/ Virtual PBX
  • W-AIR Network Network set up on the PBX
  • W-AIR firmware starting from v. 0501b5

W-AIR base configuration

  1. Go to the web interface of the Primary W-AIR Base Station -> Management
  2. Enable Text Messaging 
  3. Set PBX as Text Messaging & Alarm Server
  4. Change Text Messaging Port to 9300 

...

  • Edit call file template config located in the file /var/lib/callweaver/dialplan/alarm.template. 

Follow the prompts in the file to edit it:

Code Block
# Call file template. Supported values (should be in {{}}):
# ID1, ID2 ... - RFPI Addresses, 10 hex digits, in descending signals level order, check it on the web interface of a base, Home/Status page
# SHORTID1, SHORTID2 ... - 2 last digits of IDs
# LEVEL1, LEVEL2 ... - corresponding signal levels, optional
# EXTENSION - extention of alarmed device
# NAME - user name of alarmed device
# TYPE - type of alarm, one decimal digit, check it on the web interface of a base, Alarm page, Idx column
Channel: Local/alarms@alarm-wair
Callerid: "{{NAME}}" <{{EXTENSION}}>
WaitTime: 60
MaxRetries: 3
RetryTime: 30
Context: alarm-wair, specify Dialpan procedure used for managing W-AIR calls here
Extension: {{SHORTID1}}{{TYPE}}
Priority: 1
Setvar: base={{ID1}}


    Edit Dialpan procedure used for managing
  • Start W-AIR

  • calls. For example:
  1. Custom application -> Set(WAIR_mac_address=${SIPCHANINFO(useragent):-27:12})
  2. Custom application -> Dial(SIP/100&SIP/300,30,A(00000/wair_${WAIR_mac_address}&00000/call_from_ext_${CALLERID(num)}))

where

  • SIP/100&SIP/300 - extension of Calls groups
  • 30 - indicates call timeout (in seconds, can be customized)
  • ${WAIR_mac_address} - returns the mac address of the Base on which the handset is registered
  • ${CALLERID (num)}  - returns the extension number of the caller
  • 00000/wair _${WAIR_mac_address} and 00000/call_from_ext _${CALLERID(num)} - indicate paths to recorded audio files. You need to add separate audio files to WMS -> Sounds, one for each W-AIR base station in the Network and each user who sends an emergency call
  • Start W-AIR alarms service on the PBX and enable it permanently:

    Code Block# systemctl start wairmsg # systemctl enable wairmsg

    alarms service on the PBX and enable it permanently:

    Code Block
    # systemctl start wairmsg
    # systemctl enable wairmsg


Dialplan configuration

Add the Dialplan context, which is specified in the template config file. By default, it should be named "alarm-wair".

In this new Dialplan context:

  1. Specify the called number alarms and under this number → Dial the phone or Call group
  2. Specify your base stations' RPNs as called numbers in the format XXX, where the first two digits correspond to the RPN of the base station, the last digit can be used to specify the alarm type. 
Note

RPN can be found on the W-AIR base station's interface; in the following example it is "00":



Note

The following IDs correspond to the alarm types: 

  • 0: Man Down
  • 1: No Movement
  • 2: Running
  • 3: Pull Cord
  • 4: Red Key


Here is an example of how you can specify called numbers in the alarm-wair Dialplan: 

In this example:

  • 000 and 004 are called in case the handset is located close to the base station with RPN 00:
    • 000 - in case it is a Man Down alarm,
    • 004 - in case it is a Red Button alarm.
  • 040 and 044 in their turn, are called in case the handset is located close to the base station with RPN 04

For each of XXX called numbers, you can use the Application "Play the sound" and specify the phrases that should be pronounced using the TTS service. For example: 

In this example we used the following:

  • "Alarm man down triggered in the marketing office" for 000; "Red button alarm triggered in the marketing office" for 004 - the base station with RPN 00 is located in the marketing office.
  • "Alarm man down triggered in the conference room" for 040; "Red button alarm triggered in the conference room" for 044 - the base station with RPN 04 is located in the conference room.

Keep in mind, that for other languages you need to use the "Set" application to manually set the language in case you use the dynamic TTS service. More information on TTS: Wildix Business Intelligence - Artificial Intelligence services.


Html
<div class="fb-like" data-href="https://confluence.wildix.com/x/UoPPB" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>

...