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

The Article describes the procedure that allows users to dial a specific number from their phone to change their voicemail password.

Created: March 2020

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

Table of Contents

Introduction

...

There is a required script called “changePIN.php” that you need to upload to your system and place it in /var/www/scripts directory.  You can of course put the script in some other suitable place if you choose but you will need to adjust the corresponding entry in “execute” number within “changeVMPIN” procedure if you do so. Make sure that “changePIN.php” has execution permissions and is owned by WMS user.

Download the script:

View file
namechangePIN.php
height150
 

...

Import the Dialplan to your system and include it in any procedure your users already have access to (most likely "users" Dialplan).  For clarity, we mean add it as an “included procedure”.

Download the Dialplan

Section

Prior to WMS 5.03:                   Starting from WMS 5.03:

View file
namedialplan_2020.03.27_11.49.34_wildixacd_4.03.44914.08_221100002b70.bkp
height150
         
View file
namedialplan_2021.11.12_17.23.31_usateam502_5.03.20210927.4_221100006d85.bkp
height150


The Dialplan procedure consists of:

7777

  • Custom application -> NoOp(Setting all needed variables)
  • Set -> attempts -> 0
  • Custom application -> Set(uid=${SHELL(ldapsearch -xLLL -D 'cn=admin,dc=wildix' -b 'dc=wildix' -w 'wildix' '(&(objectClass=wPerson)(|(telephoneNumber=${CALLERID(num)})))' userPIN | grep dn | tr -d '\n')})
  • Custom application -> Set(pin=${SHELL(ldapsearch -xLLL -D 'cn=admin,dc=wildix' -b 'dc=wildix' -w 'wildix' '(&(objectClass=wPerson)(|(telephoneNumber=${CALLERID(num)})))' userPIN | grep userPIN | tr -d '\n')})
  • Custom application -> Read(pass,00000/vmpass,5,,2,5)
  • Jump to -> changeVMPIN procedure -> set "start" number
  • Hangup -> 16 - Normal Call Clearing

...