Difference between revisions of "Asterisk displays wrong time"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: | Line 1: | ||
It has been reported, when system moves to another time (summer <-> winter) asterisk still using old time, even when time is changed in system itself. Solution: make sure you have a right time running, by copying correct zoneinfo file from /usr/share/zoneinfo/ to /etc/localtime (example: 'cp /usr/share/zoneinfo/Europe/Vilnius /etc/localtime' will switch system time to "Europe/Vilnius"). Check time by entering "date" if its correct, then reboot your machine when you don't have any active calls (you can check any active calls by entering 'rasterisk' and then typing 'core show channels'). | It has been reported, when system moves to another time (summer <-> winter) asterisk still using old time, even when time is changed in system itself. Solution: make sure you have a right time running, '''by copying correct zoneinfo file from /usr/share/zoneinfo/ to /etc/localtime''' (example: 'cp /usr/share/zoneinfo/Europe/Vilnius /etc/localtime' will switch system time to "Europe/Vilnius"). Check time by entering "date" if its correct, then reboot your machine when you don't have any active calls (you can check any active calls by entering 'rasterisk' and then typing 'core show channels'). |
Revision as of 08:00, 17 March 2009
It has been reported, when system moves to another time (summer <-> winter) asterisk still using old time, even when time is changed in system itself. Solution: make sure you have a right time running, by copying correct zoneinfo file from /usr/share/zoneinfo/ to /etc/localtime (example: 'cp /usr/share/zoneinfo/Europe/Vilnius /etc/localtime' will switch system time to "Europe/Vilnius"). Check time by entering "date" if its correct, then reboot your machine when you don't have any active calls (you can check any active calls by entering 'rasterisk' and then typing 'core show channels').