I ran a script today that massively updated the devices and users tables with the caller id names taken from another database. I avoided connecting to Asterisk from my script to also update the astdb as I was updating FreePBX’s db. So now FreePBX has the “right” caller id name info but astdb/Asterisk still use the old data.
How do I tell FreePBX to “re-populate” astdb?
I tried setting to “true” the require_reload field in the “admin” table and that made the orange toolbar show up but pressing it did not update astdb.
I can modify my script to also update astdb but I’m sure FreePBX can do that for me. I just didn’t find that out yet.
However, I’m using FreePBX 2.5 and this “hack” is unsuported. The FreePBX dev team hasn’t said yet whether this method is “clean” or not. Or if they will (or already have) implement(ed) such a “function”.