Automatically generate a call and play a recording 


<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>



<span class="page-title-pdf">https://confluence.wildix.com/x/44AbB</span>



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


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


This document explains how to set up the Dialplan to automatically generate a call and play a recording

Created: April 2020

Permalink: https://confluence.wildix.com/x/44AbB


Scenario

An external caller should leave a voice message. Then the call should be hung up and the system should automatically generate a call to a mobile phone number and play back the recorded message.

Note: in this scenario our customer doesn't use Collaboration or Mobile apps–the company's employees are located in a basement without Internet connectivity on their smartphones. 

Solution

  1. The call comes in and the message from an external caller and is recorded. We use the variables DD (caller number) and TT (date / time) to assign a unique name to the file. 


  2. Preparing for the automatic call generation.


  3. Create two "dummy" users on the system to be used for call forwarding.


  4. Two "called numbers":


Download the Dialplan configuration

Download the Dialplan configuration.







<div class="ask-question">
		<div class="text-before-buttons">
			<span style="font-size: 24px; text-align: center;">Not finding the help you need?</span><br>
Join the Facebook group to ask a question!
		</div>
<div class="fb-buttons">
<span style="align: center;"><a href="https://www.facebook.com/groups/wildixtechwizards" target="_blank"><img src="https://manuals.wildix.com/wp-content/uploads/2017/03/facebook_tech-wizards.png" alt="facebook_tech-wizards" width="282" height="80" align="center"/></a></span></div>
	</div>