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="fb-like" data-href="https://confluence.wildix.com/x/OwY8AQ" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>
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=20710971" 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>

Scroll export button
scopecurrent
template-id0fa09813-8b86-460a-aa1d-ef450a80e9ce
quick-starttrue
add-onScroll PDF Exporter

Info

This Admin Guide explains how to block outgoing calls from vacant hotel rooms via Dialplan.

WMS Version: 35.870X

Created: February 2018

Permalink: https://confluencewildix.wildixatlassian.comnet/wiki/x/OwY8AQbRrOAQ

Table of Contents

Introduction

In case you are using Hotel Manager interface available with Wildix WebAPI library, it can be useful to block outgoing calls from vacant rooms via Dialplan.

...

Note

For Wildix PBX integrated with PMS using FIAS protocol, read the document Hotel Integration (with xOpen).


Dialplan configuration

To configure the Dialplan procedure for blocking/ alowing outgoing calls, the variable "${DB(allowcalls/${CALLERID(num)})}" is applied, where "allowcalls/EXT" reflects the state of the room according to the Database (DB) value:

...

Here is the example of Dialplan configuration:

Image Added


  • 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)
Html
<div class="fb-like" data-href="https://confluence.wildix.com/x/OwY8AQ" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>

...



Macrosuite divider macro
dividerTypetext
dividerWidth70
emoji{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}
textColor#000000
dividerWeight2
labelPositionmiddle
textAlignmentcenter
iconColor#0052CC
fontSizemedium
textNot finding the help you need? Join the Facebook group to ask a question!
emojiEnabledfalse
dividerColor#DFE1E6
dividerIconbootstrap/CloudsFill

Button macro
buttonTextFacebook
isButtonShadowOntrue
emoji{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}
buttonBorderColor#4267b2ff
buttonColor#4267b2ff
buttonNewTabfalse
buttonFontColor#ffffff
buttonSizemedium
buttonIconColor#ffffff
buttonWidthDetection46
buttonHoverColor#ffffff
buttonIconfont-awesome/FacebookSquare
buttonTypeicon_left
buttonLink{"link":"https://www.facebook.com/groups/wildixtechwizards","source":"direct"}
buttonNewLink
buttonRadius3
buttonShadow0
id228
emojiEnabledfalse
buttonWidth20