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="#" 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

Hotel Manager is a part of Wildix WebAPI library. This document explains how to configure and to use Hotel Manager extension.

Created: December 2018

Permalink:

Table of Contents

Introduction

...

To access the Hotel Manager interface, you can use our online demo available at https://www.wildix.com/webapi/hotelManager/.

Warning

If you are using our online demo or if you have uploaded Hotel Manager on your server, you need to add the domain to the whitelist in WMS Settings → PBX → Security; see documentation: Domain Whitelist (Allow Origin).

If you are having issues with accessing Hotel Manager, read the WebAPI document -> Access WebAPI Demo.

...

Info

You can also use Hotel Manager in the following ways:

  • use Hotel Manager on your web server accessible via HTTP/HTTPS - download the JavaScript library from the Wildix website and then upload the Hotel Manager folder on your server
  • upload Hotel Manager on your Wildix PBX - follow the instructions published in WebAPI document: Access WebAPI Demo 

To access the Hotel Manager page, select the PBX user to use for access to the Hotel Manager interface (receptionist), and make sure that:

...

Create a new procedure and name it "alarmclock": 

  • Called number: X.
    • Dial the phone → wake-up call is placed to the room 
    • Set - Caller nameFailed Alarm Clock-${EXTEN} → in case wake-up call failed (e.g. no answer / reject), caller name is changed to "Failed Alarm Clock-<room number>"
    • Dial the phone - 324 (receptionist extension number) → receptionist will receive a call in case of failed alarm clock and as caller name the following information will be displayed "Failed Alarm Clock-1001" (where 1001 is the room number)
  • Called number: alarm
    • Play sound - select the ring tone or upload a new one (this sound is played to the guest after they answer a wake-up call)

After you have configured the procedure for processing wake-up calls, write down this Dialplan procedure in Hotel Manager Settings (click the "Wheels" icon in the upper right corner):

...

It is recommended to create a separate ACL group for hotel rooms, as explained in the chapter Add rooms. In this way you will be able to restrict calls to certain destinations, for more information read the document ACL rules and Call classes management.

Block outgoing calls from hotel rooms

If you would like to block outgoing calls from vacant hotel rooms, you need to create a new Dialplan procedure in WMS → Dialplan.

In this Dialplan procedure the variable "${DB(allowcalls/${CALLERID(num)})}" is applied, where "allowcalls/EXT" reflects the state of the room according to the Database (DB) value:

  • Occupied (checked in) = 1

  • Vacant (checked out) = 0

Here is the example of Dialplan configuration:

  • 0. // this pattern is used for placing external calls
    • Set - ALLOWED - ${DB(allowcalls/${CALLERID(num)})}  // With the application Set we assign to the temporary local variable called ALLOWED the value inside the DB (checked in / checked out)
    • Custom application - GotoIf($["${ALLOWED}" != "1"]?blocked,1) // The dialplan jumps to the match "blocked" if the database value is 0 (checked out), otherwise if the value is 1 (checked in) it proceeds to the next application
    • Trunk group - ISDN // ISDN lines are used to place the outgoing call (if the value is 1 - checked in)
  • 01XX // this pattern is used for calling emergency services
    • Trunk group - ISDN // ISDN lines are used to place an outgoing call in case an emergency number is called. In this case there is no check of room status (checked in / checked out) to allow calls to this kind of services in all the cases
  • 9 // this number is used to call reception
    • Dial the phone - 700 // Which is the reception desk. No check of room status is performed.
  • blocked // this match is added to process outgoing calls in case room status is checked out (DB value 0) 
    • Play sound - 00000/disabilitato // Play a warning message if someone tries to place an outgoing call while the room status is check-out (DB value 0)

After you have created this procedure, assign it to each hotel room in WMS → Users: double-click on the room and select this Dialplan procedure in the field "Dialplan":

Allow placing calls from unassigned phones

You may want to allow placing calls to emergency services from unattended phones located in common areas. To do this, add a new Dialplan procedure called "login-emergency" and specify called numbers which can be dialed and Dialplan applications which must be executed for each called number, e.g.:

Enable PIN bypass for ACL restricted calls

This feature may often be applied to phones located in hotel common areas or in conference rooms. Here is an example:

  1. User dials a number that is restricted on this phone (for example, international phone number)

  2. User is prompted for the PIN since the call is not allowed from this phone normally

  3. User enters the PIN and if allowed based upon the entered PIN, the system routes the call to the restricted destination

Read the guide: How to enable PIN bypass for ACL restricted Calls.


Html
<div class="fb-like" data-href="#" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>

...