-
btracht1210is there a way to refresh all notification data for system notifications or per account? the new user notifications do not match what should be sending?
-
btracht1210i was able to put the account notifications back to system default (docs.2600hz.com/supported/applications/crossbar/doc/notifications)
-
btracht1210but in the response i get: new_user": "not_found",
-
btracht1210the system new_user notification doc is present though
-
lvlinuxbtracht1210: Yes, there is a sup command for it.
-
lvlinuxbtracht1210: sup teletype_maintenance force_system_default
-
lvlinuxThat will force ALL templates on your system to default. If you want to just do for an account, add the account ID after the command.
-
lvlinuxbtracht1210: also you can do `sup teletype_maintenance remove_customization {ACCOUNT_ID}` which won't reset to system default, but will reset to the parent account notification settings. In other words if you have a parent account with a logo change, and then the child account has modified their template and changed the wording, this command will remove the wording change they made, but keep the logo
-
lvlinuxchange the parent account made.
-
lvlinuxI believe if you add the document ID after the account ID it will only work on a single template doc.
-
lvlinuxYou should be able to do similar with the API. Possibly the reason you got the new_user not_found response was because the template has an ID in the normal format or something (abcdef1234567890fedcba...) instead of "new_user". OR it could be the specific notification you are messing with is modified on a parent account, rather than this account. Doing a GET on the notifications for the account should tell
-
lvlinuxyou which ones have modification in THIS account.
-
btracht1210lvlinux: thanks! i used sup teletype_maintenance restore_system_template notification.new_user, then forced the account back to system default and found the new_user notification
-
btracht1210must have been something wrong with the system one where it wasn't recognizing it
-
lvlinuxk great :)