[asterisk-users] time on asterisk
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri Jun 13 07:31:45 CDT 2008
On Friday 13 June 2008 02:35:09 Nhadie Ramos wrote:
> Hi,
>
> I don't know what i'm doing wrong but i already reinstalled the system.
> still using ubuntu 64-bit. made sure i had the correct local date time.
>
> then did all this:
> ntpdate pool.ntp.org
> tzselect , i chose Asia/SIngapore
> /etc/timezone is Asia/Singapore
> i added TZ='Asia/Singapore'; export TZ to /etc/profile.
>
> date shows the correct date, i rebooted, date still shows the correct date.
>
> then installed zaptel, ./configure, make menuselect, make make install make
> config then libpri make && make install
> then asterisk, ./configure, make menuselect, make, make install, make
> samples then asterisk-addons, ./configure make menuselect, make make
> install make samples
>
> then run asterisk, then connect via asterisk -r
>
> [Jun 13 00:25:58] NOTICE[5159]: chan_sip.c:15075 handle_request_register:
> Registration from '100001002 <sip:100001002 at 202.79.221.211>' failed for
> '202..156.117.155' - No matching peer found [Jun 13 00:26:02] NOTICE[5159]:
> chan_sip.c:15075 handle_request_register: Registration from '100001002
> <sip:100001002 at 202.79.221.211>' failed for '202..156.117.155' - No matching
> peer found
>
> log shows June 13 00:25
> my system date shows
>
> /home/ronald# date
> Fri Jun 13 15:33:03 SGT 2008
>
> i installed everything as root via sudo su, how come i still dont get the
> correct time?
The only thing I can think of is that your zoneinfo files are not in the right
place. Does the file /usr/share/zoneinfo/Asia/Singapore exist? Also, does
a symlink exist from that file to /etc/localtime?
--
Tilghman
More information about the asterisk-users
mailing list