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/LAFOAg" 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=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>

...

Info

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

Permalinkhttps://confluence.wildix.com/x/LAFOAg

Table of Contents

Dialplan configuration 

...

  • Custom application -> Page(Local/911@pbxservices,nA(00000/WPA))

Where:

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

00000/WPA - pre-recorded message

Cron file

...

setting up

  • Connect via SSH and run the following command to edit crontab file or create a new one if it doesn't exist:
Code Block
crontab -e -u root


  • In the cron file, specify the time
  • for
  • at which pre-recorded messages have to be played back (1 line) and run the command applying API Originate (2 line) :
Code Block
linenumberstrue
*/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

whereWhere:

*/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 to manage calls to W-PA userwhere the called number is matched

Announcer - the name of W-PA user

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

...