I created a Time condition and Time group in attempt to automate my “Call flow Control” instead of having individual BLF/Speed dials on the secretaries phones to enable/disable all of the different night modes we have.
This started to prove to be very difficult and I thought I’ll go a different route so I deleted the test time condition and time group and now when I click the Orange “Apply Config” button it gives me this error:
Unknown Error. Please Run: fwconsole reload --verbose
I ran this in the asterisk CLI and received this:
In extensions.class.php line 199:
[Exception]
died in splice timeconditions 1
I tested recreating these groups even with different names and it then lets me apply config but once I delete them again I can’t apply config. I’m assuming there is a setting somewhere in freepbx or a config file I’m unaware of that is still calling these time groups that may need manually removed. So I’m posting here in hopes someone else knows where those links are, thanks for any assistance!
I assume you’re referenced a now deleted time condition or time group, but whenever I try to repro this, I can’t using timeconditions 16.0.9. If you (or anyone) can provide steps to repro this, open a ticket. https://issues.freepbx.org/
I’m using 16.0.9. I rolledback to 16.0.8 and it did the same thing. And yes it’s technically a deleted group but if I recreate any time group (even with a different name) the issue goes away.
I monitored the var/log/asterisk/full log while clicking apply and got the following:
[2022-12-12 13:43:25] WARNING[15048] db.c: AstDB key /AMPUSER/234/queuehint does not exist
[2022-12-12 13:43:25] WARNING[15048] db.c: AstDB key /AMPUSER/555/queuehint does not exist
[2022-12-12 13:43:25] WARNING[15048] db.c: AstDB key /AMPUSER/201/pausequeuehint does not exist
[2022-12-12 13:43:25] WARNING[15048] db.c: AstDB key /AMPUSER/202/pausequeuehint does not exist
[2022-12-12 13:43:25] WARNING[15048] db.c: AstDB key /AMPUSER/204/pausequeuehint does not exist
[2022-12-12 13:43:25] WARNING[15048] db.c: AstDB key /AMPUSER/205/pausequeuehint does not exist
More lines were posted to include all extensions (modified and shortened to reduce the spam)
I’ve tried disabling phone apps/custom context as these are dependent on time conditions module. Then uninstalling time conditions. (Also deleted all time conditions/groups). Rebooted PBX, reinstalled Time Conditions module and it still gives the same error when applying the config.
Is this possibly a corrupt database issue? This didn’t happen at all until I messed with time conditions. If anyone has any ideas or knows how to mess with the database without breaking everything (I’m not sure) please let me know.