How to configure playing different IVR greetings depending on the date (first day of the month)?
Solution using PHP-AGI application:
- Create a new php-agi type application in the dialplan
- Use the date check script:
if (date("d") == 1){
$agi->exec_goto("internal", $ivr_one, "1");
}else{
$agi->exec_goto("internal", $ivr_all, "1");
}
- Direct incoming calls to this application
- Configure different IVRs for the first day and other days
Visit our group for more information: