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/JoEbB" 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=68911398" 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 Articles describes how to set up automatic DTMF sending for scenarios where  users regularly dial a number that is an IVR.

Created: April 2020

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

Table of Contents

Introduction

...

So, for instance, if a user wants to dial the number 6141234567 and then send extension number 582 via DTMF if the call is answered, the speed dial key should be defined as “6141234567P582”. See screenshot below! 


Image Added

Speed dial key (Advanced options)

...

  • Interdigit time: you may need to specify an interdigit time. For instance, if you intend to reach extension 258 but too much time passes between the first and second digit, you could end up in option 2 in the IVR.  In such a case, you can specify interdigit timeout. To care for this more advanced scenario, the Dialplan custom application can be used with a speed dial that includes a second P character followed by a number. Example, you could have a speed dial like: 6141234567P582P5 


    Image Added

With the specified speed dial, the system will dial 6141234567, and if answered, tones 582 will be sent using .5 seconds as the inter digit time.  So as you can see, the value you specify after the second P is used as interdigit at 1 tenth of a second; 5 equals .5

  • Tone duration: depending on the system receiving the call, you may need to specify a tone duration. The provided Dialplan sets tone duration to 150 milliseconds, which should typically be enough. However, if you notice that tones are sent but do not seem to be recognized by the remote end, you could try to increase the tone duration.  To do so, just add one more P to the speed dial: 6141234567P582P5P200 


Image Added


With the specified speed dial above, the system will dial 6141234567, and if answered, tones 582 will be sent using .5 seconds as inter digit time and and 200ms as the tone duration.

...

Once a speed dial is configured as needed and the “SendDTMFs” Dialplan procedure has been imported into the system, all you need to do is create a Dialplan that will match the speed dial string and enable the feature before making the call: 


Image Added


Shown entry (XXXXXX.P.)  in the previous picture was created in "users" Dialplan.

...

  1. Set -> var -> ${EXTEN} - all needed values are stored in the dialed number (EXTEN variable), so we create a variable called var and set its value to variable EXTEN. Using the most complete mentioned example, 6141234567P582P5P200, var will store it too
  2. Set -> number -> ${SHIFT(var,P)} - the SHIFT function will use P as field separator. We get (and remove) the first item from “var” variable. So, number will be 6141234567 (everything before the first P). Then the “var” variable is equal to 582P5P200 (everything after the first P)
  3. Set -> tones -> ${SHIFT(var,P)} - with SHIFT function, using P as separator, we get (and remove) the first item from var variable again. Since var is 582P5P200 at this point, tones will be 582 (everything before the first P) and var will now be equal to 5P200 (everything after the first P)
  4. Set -> interdigit -> ${SHIFT(var,P)} - with SHIFT function, using P as separator again, we get (and remove) the first item from var variable. Since var is now 5P200, interdigit will be 5 (everything before the first P) and var will now be equal to 200 (everything after the first P). If interdigit was not specified, the default value will be used
  5. Set -> duration -> ${SHIFT(var,P)} - and lastly, with SHIFT function again, using P as separator, we get (and remove) the first item from the string (var). Since var is now JUST 200, SHIFT will return the entire string (200), and assign it to duration. If duration was not specified, the default value will be used
  6. Custom application => NoOP(number:${number},tones:${tones},inter:${interdigit},duration:${duration}) - This is just a 'comment' to display the variables values, only visible on callweaver console or logs.
  7. SET => DIAL_OPTIONS => U(SendDTMFs^${tones}^${interdigit}^${duration}) :With this line we are enabling “SendDTMFs” dial plan and passing all needed arguments

...

  1. Use the dial the trunk application to send the call out the trunk of your choice.  Note the ${number} in the set portion of the application.  This must be there so that the dialed number will be the "number" variable which is derived from the first portion of the speed dial string (in step 2 shown above).


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