Latest FPBX 16 fully updated. I am using the accountcode
field in PJSIP extensions. I noticed it is no longer updating for some reason. It is a 10 digit phone number. No dashes or other characters. It continues to show in the UI but is not being saved in /var/lib/asterisk/astdb.sqlite3
for some reason.
I see the timestamp on the file updating when I submit my changes but the accountcode
is not being updated. I can change other things in the db from the FPBX UI, such as dial
, and see it get updated in the db immediately on submit
, but accountcode
does not.
I am watching the db directly from the asterisk cli and also confirmed by looking at the file using DBbrowser, making sure to close the file from within that program and reset permissions as needed. I set the permissions to 777 to make sure that is not a factor.
Asterisk cli commands to view the db are as follows.
database showkey accountcode
database put AMPUSER/xxx accountcode NXXNXXXXXX
where xxx is my extension and NXXNXXXXXX is the phone number I am trying to enter. I can enter the accountcode
into the db directly that way but I can’t do it from the Freepbx UI even though the UI remembers the number on refresh, so the UI is saving the number somewhere and remembering it, but it’s not being saved in the astdb where it belongs. Maybe I am missing something obvious idk.