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: March 2018

WMS Version: 3.88

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

Table of Contents


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

...

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
  • To learn more about variables, read the Smart Dialplan guide: https://manuals.wildix.com/smart-dialplan-custom-application/
  • 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:

  • Cloud systems (monthly / yearly subscription)
  • 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:

  • Insert manually the string DIAL_OPTIONS into the first input field and g (or another option) into the second input field

  • Then add the Dialplan application to which it should be applied, e.g. “Dial the phone”, “Dial the trunk”, “Trunk group”

...




Case 2: Run shell commands or scripts - supported starting from WMS 3.86. For example, you can run data base query command:

  • 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

It is also possible to customize the way caller ID name is displayed:

  • Add Set ->  EXTRADISPLAYINFO to display any additional information instead of the company name
  • Add Set ->  DISPLAYINFOPATTERN to customize the way the Caller ID is displayed 
Warning

Known issue (temporary limitation): these two variables are not applied for Cloud PBX on WMS 3.88


Note

You can add these variables in Dialplan context or as a Global Dialplan variable; in the latter case it is not necessary to add "Lookup caller name in phonebook" application.


Example:



1 - display caller ID in format company / name

2 - display only 5 first digits of the caller name / [company]

3 - display custom information: name / W


DTMF

Generate DTMF

Generates a DTMF tone.

...