Scroll export button | ||||||||
---|---|---|---|---|---|---|---|---|
|
Info |
---|
This Admin Guide explains how to block outgoing calls from vacant hotel rooms via Dialplan configuration. 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.
In this Dialplan configuration, the system checks the room state (Occupied/ Vacant) and based on it, manages the outgoing calls according to the added matches.
Learn more on Hotel manager WebAPI and how to configure Dialplan for managing Wake up calls: https://blog.wildix.com/wildix-hotel-updates-and-apis/
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:
...
- 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)
- 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/qAc8AQ" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div> |
Macrosuite divider macro dividerType text dividerWidth 70 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 dividerWeight 2 labelPosition middle textAlignment center iconColor #0052CC fontSize medium text Not finding the help you need? Join the Facebook group to ask a question! emojiEnabled false dividerColor #DFE1E6 dividerIcon bootstrap/CloudsFill
Button macro buttonText Facebook isButtonShadowOn true 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 buttonNewTab false buttonFontColor #ffffff buttonSize medium buttonIconColor #ffffff buttonWidthDetection 46 buttonHoverColor #ffffff buttonIcon font-awesome/FacebookSquare buttonType icon_left buttonLink {"link":"https://www.facebook.com/groups/wildixtechwizards","source":"direct"} buttonNewLink buttonRadius 3 buttonShadow 0 id 228 emojiEnabled false buttonWidth 20