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="#" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>

...

Scroll export button
scopecurrent
template-id0fa09813-8b86-460a-aa1d-ef450a80e9ce
quick-starttrue
add-onScroll PDF Exporter

Info

The Article describes how to set up the configuration when your users are receiving unwanted calls could be the blacklist featureblock calls from blacklisted contacts via Dialpan.

Created: December 2015

Updated: June 2019

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

Table of Contents

Block calls via Dialplan

Step 1. Phonebook configuration

You can add blacklist numbers blacklisted contacts to your phonebooks in different modes: from Collaboration, from the imported backend (MySQL, сsv, etc). In tphonebook is already configured and we can add the number from the Here it is described how to add a contact in Collaboration. 

  • Go to  Collaboration -> Phonebook 
  • Select the desired phonebook and press + to add a new contact
  • Set blacklist as  as a Type of contact


Note

Consult Collaboration User Guide for detailed information about how to create phonebooks and contacts.


Image Added

Step 2. Dialplan configuration

  • Create a separate Dialplan procedure for managing calls from blacklisted contacts
  • Configure the behavior of managing these calls. For example, add Hangup applicationapplication 


Image Added


  • Go to Dialplan procedure used for managing incoming calls ("main" procedure)
  • Configure Add the applications tions to check if a call is from a blacklisted contact:
    • Jump to if call type is -> blacklist -> route calls to the previously created Dialplan procedure for blacklisted calls - if a call is from a blacklisted contact, it is dropped

    If the calling number is in blacklist , if yes the call will be dropped from the main-dialplan if no the call will follow the next Dialplan application.

...

    • Call group -> if it is a normal call, it is routed to a Call group


Image Added

Alternative Way. Block calls via tagging in Phonebooks and Dialplan

Step 1. Create a dedicated phonebook with blocked users

To define a contact as blacklisted, add [blocked] tag to its name. Detailed information about how to create phonebooks and contacts can be found in Collaboration User Guide.


Image Added


Note

Note: If a contact is present in other phonebooks, you need to move it to the dedicated phonebook or replace/ rename it in another phonebook. Otherwise, [blocked] tag cannot be applied.

Step 2. Configure Dialplan

Modify Dialplan procedure used for managing incoming calls by adding Dialplan applications:

  • Verify caller -> [blocked] -> Blocked procedure - If caller name contains [blocked] tag, a call is routed to Dialplan procedure created for managing calls from blocked users ("Blocked" in the example)
  • Dial the phone - if caller name does not contain [blocked] tag, a call is routed to this step


Image Added


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