@table said in Duplicating IVR entries in FreePBX 13:
@jaredbusch
Is there a better way to do this with whats included in freepbx or commercial modules? I was thinking just putting the script in cron and just have it run every so many hours. Then eventually making a form to add or modify the data.
What I would do is update your ivr3 to include the id and name from ivr_details and think of those as the unique key. Or add them to a separate cross reference table, however you want to handle it.
Then add logic to your system to fail and notify if there is a mismatch (aka someone changed it in FreePBX).
There is no way to do this in FreePBX itself.
Once you change the database, you will have to reload everything.
You can issue the fwconsole reload command from your script. That is the same as clicking the red "Apply Config" button.