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/c4NpAg" 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=40469363" 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

The Document describes how to record a custom message via Dialplan Custom application.

Created: May 2019

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

Table of Contents

Use case

A user wants to change a standard IVR announcement from an external phone. To override restriction of not being able to dial feature code 74 as external caller - we can use configure it via Dialplan. 

Dialplan configuration

To For the configuration, the previously recorded audio message is used ("test" in our example):


Image Added


It is the original message that was recorded via Feature Code "Shared record" 74/ message recording option in WMS -> Sounds.  The idea is to replace it with the new one. When an external caller dials a DID to hit the Dialplan entry shown below - , a beep sound is played and the recording starts immediately. You can also add "Play sound" application to announce that a message will be recorded after "Beep" a beep sound (optional). 
To use this custom application, we need to build the following entry into the dial plan (matching a DID of course):
Add Custom application (it should match DID configuration):


Image Added

  • Custom application -> Record(/rw2/var/lib/callweaver/sounds/00000/test:alaw, 0,0,k)

...

It is the default path and is used by default. If you place your recording in another folder - you will see /path/to/file differently. In this example file is stored at , the path will be different. For example, ~/00000/MusicOnHold/ folderTo verify the path, open your Dialplan and use "Play sound" application and choose -> choose your message from Sounds menu: 


Image Added

  • test:alaw - the message name and format 
  • 0 - silence: seconds of silence allowed before the recording is stopped. If missing or 0, silence detection is disabled 
  • 0 - maxduration: the maximum duration of the recording in seconds. If missing or 0, the maximum duration is not set 
  • k - option: may be ‘skip’ "skip" option to return immediately if the line is not up, or ‘noanswer’ "noanswer" to record even if the line is not up ( In our case this is k )

...

  • up 

Other available options:

  • a - extends the existing recording (doesn't replace it)
  • n - does not answer, but record anyway if the line not yet answered
  • q - quiets (do not play a beep tonesound is not played)
  • - skips recording if the line is not yet answered
  • t - uses alternate "*’ terminator key (DTMF) " DTMF key instead of default ‘#’"#"
  • x - ignores all terminator sent DTMF keys (DTMF) and keep keeps recording until hangup
  • k - keeps recorded file upon hangup
  • y - terminates the recording if *any* DTMF digit is sent

...

Note

Note: the k option is used in our example dial plan and should likely be used in your case so that the a person who is calling in to change the announcement can simple hang up OR press the "#" key to terminate the recording of the new announcement.

Html
<div class="fb-like" data-href="https://confluence.wildix.com/x/c4NpAg" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>



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