[asterisk-users] time on asterisk

Nhadie Ramos nhadie.ramos at yahoo.com
Fri Jun 13 02:35:09 CDT 2008


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?

really need help on this one. thank you

regards
nhadie






--- On Fri, 6/13/08, Lee, John (Sydney) <John.Lee at compuware.com> wrote:
From: Lee, John (Sydney) <John.Lee at compuware.com>
Subject: Re: [asterisk-users] time on asterisk
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Date: Friday, June 13, 2008, 1:22 AM

> > i'm using 64-bit Ubuntu Server Edition 8.04
> > I just use GMT+0, but i'm on Singapore whcih should be at GMT+8,
but
if
> i use GMT+8 the system does not give the correct time.
> 
> You should actually be using Asia/Singapure rather than guess.
> 
> >
> > i'm not using ntp, coz when i do i also don't get the correct
time.
> 
> That's because you have an incorrect timezone set.

I am also using gotoiftime in my IVR but I don't have any problems.

1) Install the distro and specify the timezone
2) Set the correct time in linux
3) Install ntp
4) Sync the time by ntpdate
ntp will always just sync using GMT time but the timezone specified in
the distro will provide the time difference and daylight savings.
That is it!

Also, can someone clarify if Asterisk really uses a different time than
the system time?



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080613/b0341cd4/attachment.htm 


More information about the asterisk-users mailing list