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 | ||||||||
---|---|---|---|---|---|---|---|---|
|
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 Permalink: https://wildix.atlassian.net/wiki/x/wRDOAQ |
Table of Contents |
---|
Dialplan configuration
You can use the following Custom application to play back pre-recorded messages:
- 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 | ||
---|---|---|
| ||
*/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
...
Macrosuite divider macro | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Button macro | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|