How to configure Askozia for Business Hours:
Prerequisites
The information in this document is based on these software and hardware versions:
· AskoziaPBX v.1.03
· Recordings packages already installed http://www.zrnet.it (Roberto Zilli);
· Recorded Message already registered in the path /storage/recordings.pkg/data/recordings (for example “it-Businness-hours.sln”);
· Alix23x Embedded Appliance
Setup a Custom Application with the following logic:
From AskoziaPBX GUI, Dialplan>Applications, create a new Custom Application as follow:

Extension:
(this is the number for reach the application):
000BH01
Name:
(this is the name for application):
BusinessHours
Logic:
(this is the script for BusinessHours Application):
1,NoOp(Application start)
2,Set(DATAPATH=/storage/recordings.pkg/data/recordings)
3,GotoIfTime(09:00-13:00,mon-fri,*,*?8)
4,GotoIfTime(14:00-18:00,mon-fri,*,*?8)
5,Wait(2)
6,Playback(${DATAPATH}/it-business-hours)
7,Hangup()
8,Dial(Local/210@internal/n,,m)
9,Hangup();
Description of Logic Application:
1,NoOp (Application Start)
(do nothing, only a description for understand what application is doing)
2,Set(DATAPATH=/storage/recordings.pkg/data/recordings)
(datapath of custom play file)
3,GotoIfTime(09:00-13:00,mon-fri,*,*?8)
(Conditional Goto Based the AskoziaPBX appliance local time, if time is from 09:00 t0 13:00 from monday to friday, go to application number 8)
4,GotoIfTime(14:00-18:00,mon-fri,*,*?8)
(Conditional Goto Based the AskoziaPBX appliance local time, if time is from 14:00 t0 18:00 from monday to friday, go to application number 8)
5,Wait(2)
(Wait for some time… 2 seconds! so we are able to listen custom play file correctly).
6,Playback(${DATAPATH}/it-business-hours)
(Play it-business-hours.lsn file from DATAPATH variable, see application number 2). ATTENTION, no file extension required.
7,Hangup()
(Put down the call).
8,Dial(Local/210@internal/n,,m)
(Dial an extension, the “m” parameter is for music on hold; this could be a call group with 3 internal extension for example).
9,Hangup()
(Put down the call).
Click save

In the next step, we will see how associate the BusinessHours Application with a External extension.
Tags: aa, alix, askozia, AskoziaPBX, embedded, green, ippbx, ivr, pbx, pbxip
Setup SJPhone for Askozia PBXIP

Setup 3CXPhone for Askozia PBXIP

Tags: aa, alix, askozia, AskoziaPBX, embedded, green, ippbx, ivr, pbx, pbxip