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/ooB5Aw" 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="lang-switch">
			<span class="letters-form"><a title="English" href="#">EN</a>&nbsp;|&nbsp;<a title="Italian" href="#" >IT</a>&nbsp;|&nbsp;<a title="French" href="#" target="_blank">FR</a>&nbsp;|&nbsp;<a title="German" href="#">DE</a></span>
		</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=58294434" 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>


Info

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

Created: December 2015

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

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.


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 


  • 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 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.
    • - if a call is from a blacklisted contact, it is dropped
    • Call group -> if it is a normal call, it is routed to a Call group



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>

...