Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Articles explains how to set up call screening 

Created: March 2020

...


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="#" 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="#" 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

Call screening feature allows you to find out who is calling before deciding whether or not to answer a call. 

Created: March 2020

Updated: November 2021

Permalink: https://wildix.atlassian.net/wiki/x/JQHOAQ


Table of Contents

Step 1. Create a separate Dialplan

...

procedure 
Anchor
step1
step1

First you need , create a procedure to deal with declined calls:

Image Added


In this case, the call is sent to the called user voicemail (3 digit extension), but you can do whatever you want with the callit can be configured in any other way.

Step 2. Create audio files

Then you need to have Create 3 audio files:

  1. priv-recordintro -> ask the caller to record their name, “please say your name after the tone, when done press #”
  2. priv-callpending -> announce the called user that there is a call coming, “this is a call from -recorded name- “.“ (the caller's name recorded on the previous step is pronounced here)
  3. screen-callee-options -> let the called user know the options, “to accept the call press 1, to decline it press 2.                 “

    , it

    Warning

    It is important to have a couple of seconds of silence at the end of the audio to give the called user time to select an option.


All of the files need to be named as showed and be placed in /var/lib/callweaver/sounds/ folder

Note

Note: You can use mv (move), cd (change directory) or cp (copy) commands. For example: 

Code Block
mv /var/lib/callweaver/sounds/00000/priv-callpending.* /var/lib/callweaver/sounds

In this case, priv-callpending audio file is moved from /var/lib/callweaver/sounds/00000 directory to /var/lib/callweaver/sounds.


Step 3.

...

Set up call screening

Finally, to dial the target extension, we need to add this Dialplan:add the following Dialplan applications in users Dialplan (or in any Dialplan users are using). In this case, all 3 digit extensions will have “call screening”:are screened:

Image Added

  • Custom Application -> Dial(SIP/${EXTEN},,p)

Dial the user using call screening.

  • Jump to if -> “$> "${HANGUPCAUSE}"="16"

If the called user declines the call, the HANGUPCAUSE  is 16, so we do a jump Dialplan proceeds to the separate procedure that deals with declined calls ("screen" in our case, created in Step 1 of this guide).

  • Hangup -> Reason 16

If the called user accepted accepts the call, we need to be sure to hang up the application hang ups once the call is done.

...


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