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>

...

Info

This guide explains in detail each Dialplan application and provides practical examples and use cases.

Updated: April 2019

WMS Version: 3.88/ 4.01

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

Table of Contents


Basic information on how Dialplan works: Dialplan: How does it work?

...

  • Select Call group: select the call group from the list to which the call is routed
  • Message for operator: click the button to access the Sounds menu of the PBX to be able to select or record the message to be played back to the call group member after the call is answered (before connecting to the caller) (this message, for example, can notify an operator present in several call groups, on the type of the call; e.g. one call agent is present both in Tech Support and in Sales group, the message can notify the user that this call is addressed to Tech Support group)
  • Timeout: enter timeout in seconds, in case of no success within the specified timeout, the system proceeds to the next Dialplan application; note that in case you enter no timeout, call will remain in queue forever
  • Music on hold class: select the music on hold to be played to the caller

...

Note

How to use TTS in Dialplan:

  • It is necessary to first set the language using “Set” application
  • Available from WMS 3.88: if required, you can change the default voice parameter for TTS message. Add "Set" application and use channel variable "TEXTTOSPEECH_VOICE" indicating the new voice parameter. Supported voices list can be found in WMS -> Sounds (secondary top menu)-> Text-to-speech page. Note, that the language of the voice parameter should match the language selected in "Set" application
  • Write a text using “Play sound” / “Play sound and wait for digits” applications. In case you need to insert a pause between words/ phrases, use a variable <break time="1s"/>, where the value "1s" can be changed to any number of seconds
  • To learn more about variables, read Smart Dialplan Guide - use of Custom Applications
  • You can jump to another Dialplan procedure based on TTS result: use “Jump to if” application with Condition "${TTSSTATUS}"!="SUCCESS" ("UNDEFINED"/"FAILURE")

Note, that this message will not be saved on the PBX and will be generated dynamically upon the execution of this Dialplan application.

Example:


Read more about Wildix Business Intelligence (WBI) services: https://confluence.wildix.com/x/3QM8AQ

Warning

Prerequisites:

  • Per User systems (monthly / yearly / five years subscription) (support for Virtual and Hardware PBXs has been added in WMS version 3.88.40314.18  (WMS-4362)
  • Premium license
  • Supported starting from WMS 3.87 (reference ticket WMS-3685)
  • It's necessary to set the language using "Set" application


...

Note

In case the option you would like to set is not available in the drop-down list of the "Set" applicaton, you can enter it manually. Below you can find some examples of using "Set" application with options which are not available in the drop-down list. Find some examples below.


Case 1: Set custom dial parameters (e.g. “g” – proceed with Dialplan execution at the next priority in the current extension if the destination channel hangs up) - supported starting from WMS 3.87:

...

  • Add Set -> USERID -${SHELL(/usr/bin/sqlite3 /mnt/cticonnect/cticonnectdb “select username from cti_contacts where phonebook_id = 6 and mobile = ‘${EXTEN:1}’”)}


Case 3: Display a different phone number instead of a real caller / called ID to user in call dialog and CDR - supported starting from WMS 3.86:

For outgoing external calls:

  • Add Set -> FORCE_LOOKUP_NUMBER)=XXXXX, (where XXXXX is the number which must be displayed to a user)
  • Then add Dial trunk / Trunk group Dialplan application

For incoming external calls:

  • Add Set -> FORCE_LOOKUP_NUMBER)=XXXXX, (where XXXXX is the number which must be displayed to a user)
  • Then add Look up caller name in phonebook Dialplan application

Case 4: Starting from WMS version 3.87, Caller ID is displayed with “Company” field for calls from trunks on Wildix devices

To make it work: add Diaplan application "Lookup caller name in phonebook", specify in which phonebook to search and in "Set" caller number, tick off "Custom" instead of "Default"

Note

The search is performed in the following priority:

  1. Search in LDAP (colleagues phonebook) - in case it is a colleague calling with Mobility service, the value specified in "Department" field is displayed
  2. Search in the selected phonebook - in case it is a phonebook contact, the value specified in "Organization" field is displayed
  3. Search in external resources, in the Worldwide Phonebook service is active - in this case the company name is not displayed

...