I have some questions about the tenant admin GUI
Are their ways to remove certain things so the customer has no control over them such as
Routes - so they cannot screw this up
Call history - If we cannot let them select a Time Zone box that auto computes the GMT for them
This seems like a customer calling nightmare.
System settings - Maybe the customer does not use CRM or we choose not to let them
It would be nice to impliment the Time zone check box that allows the user to select the time tone they are in that would autocompute the GMT offset and what they see is what they did.
Also maybe to have a manager login that would give us control of all catagories so we can select as the admin what they can see when they log into thier system.
If we have more control over them we can control the stupid questions from them such as how do I or why won't it do this.
Thanks
there's a couple concerns
there's a couple concerns about time offset..
1) system resources.. even though only 25 records are displayed per page, the query is all done at one time. Therefore, the math to change the displayed time might be a drain on resources on a box serving out several hundred concurrent calls.
2) GMT. For time off-set to work, the CDR would absolutely have to be stored in GMT time so that the offset math can calculate the display time correctly. Any other time source would incur daylight savings adjustments by the system before the record gets recorded into CDR. That would be a total coding nightmare(bear in mind that the code is always written from an international position). By converting your CDR to GMT, your other applications that query this CDR data would show its time in GMT. Given that this is a stated problem for you, you'd be once again addressing this problem if your billing software printed reports out of the CDR database.
3) Daylight savings time... there's no simple way to keep track of this.. so this time offset math will have to be done without consideration of DST; meaning customers are still going to have to do their own 1hr additions in the summer time. Even in the USA there's a few states and cities that do not observe DST. Globally each region has their own days when daylight time starts and stops and not everyone participates. For these reasons the remaining DST adjustment would likely need to be human-based.
Idea 2
How about this.
What if we were able during the setup of the tenant be able to select the time zone of the tenant and this would be able to be used for multiple things.
During phone adds it would set the time zone of the phone if we chose not to use the DHCP option and it would be able to adjust the time stamps before it wrote the information to the CDR?
Is that way possible just thinking out loud.
I know this would not work for all tenants because some tenants may have sites that cross time zones but if that were the case we could setup 2 tenants and bridge 4 digit dialing between them?
Do you think that would be an option?
well for phones your best
well for phones your best option is to use the tenant-specific overrides of /etc/asterisk/user_provisioning/tenantname
each phone config requires different values formatted differently so there would be no one-shoe-fits all approach. DHCP uses seconds for its offset value, but phone configs might just timezone names or it might use hours in increments of half-hour increments (good old Newfoundland doing things AFU).
the time-offset, if implemented, would also need to hook into the displayed date-times of the files displayed in thirdlane (voicemail recordings, recorded messages etc) who get their time from system time (which again would require switching the system time over to GMT)
The first part was answered off forum but wanted to update this so we will have a record of it here.
EEMAN informed me that after setting up the admin login that I can go into system settings/Administrators and select the admin(I just created) to toggle off what they are needing to see and what I did not want them to see.
Thanks again Eric...
It still would be nice to have Alex look at the CDR time offset thing to see if we can just select and it auto computes.