The Document explains how to configure automatic announcements to be played back over W-PA at the fixed time using cron schedule.


<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">How to automatically broadcast messages over W-PA at the fixed time</span>



<div class="fb-like" data-href="https://confluence.wildix.com/x/LAFOAg" 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=38666540" 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>


The Document explains how to configure automatic announcements to be played back over W-PA at the fixed time using cron schedule.

Initial W-PA Documentation (how to provision, assign to user etc.): W-PA SIP Public Announcer - Admin Manual

Created: April 2019

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

Dialplan configuration 

You can use the following Custom application to play back pre-recorded messages:

Where:

911 - Feature Code "Paging" + Paging Group ID where the device is present

00000/WPA - pre-recorded message

Cron file setting up

crontab -e -u root


*/2 * * * * my-script.sh
curl -u admin:password -k -X POST --data-urlencode "channel=Local/112@users" --data-urlencode "exten=112" --data-urlencode "context=users" --data-urlencode "priority=1" --data-urlencode "callerid=\"Announcer\" <112>" https://127.0.0.1/api/v1/Originate

Where:

*/2 * * * * my-script.sh - the string that runs the next command every 2 minutes. More information about crontab syntax: LINK

admin:password - admin credentials of your PBX

112 - the extension number of W-PA user

users - Dialplan procedure where the called number is matched

Announcer - the name of W-PA user

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



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