We will be forwarding all calls outside of normal regular business hours (Mon - Fri 09:00 - 17:00) to the doesn't match clause. If the current time is inside of regular business hours, calls will be directed to the matches clause.
Firstly drag and drop an Inbound number object to the main PBX configuration screen.
Click on the settings icon on the bottom right corner of the object and enter a name for the Inbound number, selecting the required number by highlighting the number in "Available numbers" and clicking the right arrow, this will populate the number into the "Included numbers" field. Click the Save button.
Drag and drop a Time conditions object on to the main PBX configuration screen and connect the Inbound number to the Time Conditions object.
Now select the settings icon on the bottom right corner of the object, enter a descriptive name for the Time condition and click on the Add time condition button, followed by the green + icon to add a new time range. Select hours.
Add the relevant times in the Hours fields. Click the plus button again to repeat the same, except this time, for the Day of week fields. For the purpose of this tutorial, we are adding the hours 09:00 - 17:00 and days Monday to Friday. Please note that the default time zone will be used in the time conditions object, which is configured via the settings and preferences menu. Once completed, press Save.
Drag and drop the User and Voicemail objects into the main PBX screen and connect both objects to the Time conditions object, ensuring that Matches follows the path to the User, or your desired configuration and the Doesn't match follows the path to Voicemail, or your desired configuration.
In this example we will now configure the User object. Full details on all the settings available within the User object can be found on the following link - https://support.voipcloud.online/hc/en-us/articles/115004698163-PBX-User-Object-SIP-Device-Configuration
Now for the Voicemail object. Enter an email address(s) you would like the voicemail recordings to be sent to once they have been left. The recordings will arrive as an attachment.
If you wish to use the default greeting, you may press Save and the Apply Configuration button to activate this call flow. If you wish to record or upload a custom greeting, please see the below.
Optionally, you may choose to record a a custom voicemail greeting instead of using the default greeting. To do this, click on the Greeting drop down menu and select the Custom greeting.
To record your voicemail message by calling an external number, SIP device or Skype for Business account, you will need to click the Red button. Then select the required call target from the drop down menu. Click the Call to record button and listen to the prompts to record your custom greeting.
Once completed, hang up, listen to the recording and click Save Recording if you are happy otherwise click the call to record again button.
If you already have a pre-recorded greeting, confirm that the file is in a 8000hz 16bit Mono WAV format. Click the green upload button and locate your recording.
If your file is not in the required format please follow the link https://support.voipcloud.online/hc/en-us/articles/214510323-PBX-Custom-Greeting-File-Format-Conversion for a conversion guide.
Finally click the Save button and apply the configuration.
If you have followed this tutorial completely, your completed call flow should look much like below.
Finally don't forget to Apply the Configuration when any changes are made to the Time conditions or associated objects.