Setting up Different IVR Greetings Based on Date

How to configure playing different IVR greetings depending on the date (first day of the month)?

Solution using PHP-AGI application:

  1. Create a new php-agi type application in the dialplan
  2. Use the date check script:
if (date("d") == 1){
$agi->exec_goto("internal", $ivr_one, "1");
}else{
$agi->exec_goto("internal", $ivr_all, "1");
}
  1. Direct incoming calls to this application
  2. Configure different IVRs for the first day and other days

Visit our group for more information: