VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
nhadie.ramos at yahoo.com Guest
|
Posted: Wed Jun 11, 2008 5:52 pm Post subject: [asterisk-users] time on asterisk |
|
|
Hi,
I'm using gotoiftime on asterisk, but it seems there is a difference between the asterisk time and the system time. could it be because i adjusted the system timezone on my linux? do asterisk not detect the change of timezone on the system? How can I fix this prob?
Regards,
nhadie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080611/63e105bd/attachment.htm |
|
Back to top |
|
|
tilghman at mail.jeffa... Guest
|
Posted: Wed Jun 11, 2008 8:42 pm Post subject: [asterisk-users] time on asterisk |
|
|
On Wednesday 11 June 2008 17:52:15 Nhadie Ramos wrote:
Quote: | I'm using gotoiftime on asterisk, but it seems there is a difference
between the asterisk time and the system time. could it be because i
adjusted the system timezone on my linux? do asterisk not detect the change
of timezone on the system? How can I fix this prob?
|
Yes, that's probably the reason. The system timezone is cached once at
startup, for performance reasons. The only way to get it to pick up the new
timezone is a restart.
--
Tilghman |
|
Back to top |
|
|
nhadie.ramos at yahoo.com Guest
|
Posted: Thu Jun 12, 2008 2:14 am Post subject: [asterisk-users] time on asterisk |
|
|
Hi Sir,
I tried restarting asterisk, but still it has the wrong time.
I tried restarting the system, then start asterisk it still uses the wrong time.
I also tried recompiling asterisk, checked i have the correct time on the system, then restart the system then start asterisk but still i get the wrong time.
My system time (currently) Thu Jun 12 15:12:11 GST 2008
on asterisk i use EPOCH to look at the time, NoOp("SIP/105101-00857e60", "DATE: 20080612-081147")
i would really appreciate any help. TIA
ron
--- On Thu, 6/12/08, Tilghman Lesher <tilghman at mail.jeffandtilghman.com> wrote:
From: Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
Subject: Re: [asterisk-users] time on asterisk
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Date: Thursday, June 12, 2008, 1:42 AM
On Wednesday 11 June 2008 17:52:15 Nhadie Ramos wrote:
> I'm using gotoiftime on asterisk, but it seems&nbsp; there is a
difference
> between the asterisk time and the system time. could it be because i
> adjusted the system timezone on my linux? do asterisk not detect the
change
> of timezone on the system? How can I fix this prob?
Yes, that's probably the reason. The system timezone is cached once at
startup, for performance reasons. The only way to get it to pick up the new
timezone is a restart.
--
Tilghman
_______________________________________________
-- 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/20080612/17a96893/attachment.htm |
|
Back to top |
|
|
mkn0014 at gmail.com Guest
|
Posted: Thu Jun 12, 2008 3:20 am Post subject: [asterisk-users] time on asterisk |
|
|
Nhadie Ramos wrote:
Quote: | Hi Sir,
I tried restarting asterisk, but still it has the wrong time.
I tried restarting the system, then start asterisk it still uses the
wrong time.
I also tried recompiling asterisk, checked i have the correct time on
the system, then restart the system then start asterisk but still i
get the wrong time.
My system time (currently) Thu Jun 12 15:12:11 GST 2008
on asterisk i use EPOCH to look at the time,
NoOp("SIP/105101-00857e60", "DATE: 20080612-081147")
i would really appreciate any help. TIA
ron
--- On *Thu, 6/12/08, Tilghman Lesher
/<tilghman at mail.jeffandtilghman.com>/* wrote:
From: Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
Subject: Re: [asterisk-users] time on asterisk
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Date: Thursday, June 12, 2008, 1:42 AM
On Wednesday 11 June 2008 17:52:15 Nhadie Ramos wrote:
Quote: | I'm using gotoiftime on asterisk, but it seems there is a difference
between the asterisk time and the system time. could it be because i
adjusted the system timezone on my linux? do asterisk not detect the change
of timezone on the system? How can I fix this prob?
|
Yes, that's probably the reason. The system timezone is cached once at
startup, for performance reasons. The only way to get it to pick up the new
timezone is a restart.
--
Tilghman
|
Ron,
What OS/Distro are you using ?
What timezone are you using ?
Do you use NTP for syncing time/date?
/Mats |
|
Back to top |
|
|
nhadie.ramos at yahoo.com Guest
|
Posted: Thu Jun 12, 2008 3:59 am Post subject: [asterisk-users] time on asterisk |
|
|
hi mats,
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.
i'm not using ntp, coz when i do i also don't get the correct time.
i'm not sure how i can fix this, is this an ubuntu issue?
regards,
ron
--- On Thu, 6/12/08, mkn0014 <mkn0014 at gmail.com> wrote:
From: mkn0014 <mkn0014 at gmail.com>
Subject: Re: [asterisk-users] time on asterisk
To: nhadie.ramos at yahoo.com, "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Date: Thursday, June 12, 2008, 8:20 AM
Nhadie Ramos wrote:
> Hi Sir,
>
> I tried restarting asterisk, but still it has the wrong time.
>
> I tried restarting the system, then start asterisk it still uses the
> wrong time.
>
> I also tried recompiling asterisk, checked i have the correct time on
> the system, then restart the system then start asterisk but still i
> get the wrong time.
>
> My system time (currently) Thu Jun 12 15:12:11 GST 2008
>
> on asterisk i use EPOCH to look at the time,
> NoOp("SIP/105101-00857e60", "DATE: 20080612-081147")
>
> i would really appreciate any help. TIA
>
> ron
>
> --- On *Thu, 6/12/08, Tilghman Lesher
> /<tilghman at mail.jeffandtilghman.com>/* wrote:
>
> From: Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
> Subject: Re: [asterisk-users] time on asterisk
> To: "Asterisk Users Mailing List - Non-Commercial
Discussion"
> <asterisk-users at lists.digium.com>
> Date: Thursday, June 12, 2008, 1:42 AM
>
> On Wednesday 11 June 2008 17:52:15 Nhadie Ramos wrote:
> > I'm using gotoiftime on asterisk, but it seems&nbsp;
there is a difference
> > between the asterisk time and the system time. could it be
because i
> > adjusted the system timezone on my linux? do asterisk not detect
the change
> > of timezone on the system? How can I fix this prob?
>
> Yes, that's probably the reason. The system timezone is cached
once at
> startup, for performance reasons. The only way to get it to pick up
the new
> timezone is a restart.
>
> --
> Tilghman
>
>
Ron,
What OS/Distro are you using ?
What timezone are you using ?
Do you use NTP for syncing time/date?
/Mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080612/afd8732f/attachment.htm |
|
Back to top |
|
|
skoroneos at digital-o... Guest
|
Posted: Thu Jun 12, 2008 4:33 am Post subject: [asterisk-users] time on asterisk |
|
|
GMT timezone does not have daylight savings, so probably this is why you
have the wrong time
Select a timezone for a city and usually the correct daylight parameters are
used
Stelios S. Koroneos
Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com <http://www.digital-opsis.com/>
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nhadie Ramos
Sent: Thursday, June 12, 2008 12:00 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] time on asterisk
hi mats,
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.
i'm not using ntp, coz when i do i also don't get the correct time.
i'm not sure how i can fix this, is this an ubuntu issue?
regards,
ron
--- On Thu, 6/12/08, mkn0014 <mkn0014 at gmail.com> wrote:
From: mkn0014 <mkn0014 at gmail.com>
Subject: Re: [asterisk-users] time on asterisk
To: nhadie.ramos at yahoo.com, "Asterisk Users Mailing List - Non-Commercial
Discussion" <asterisk-users at lists.digium.com>
Date: Thursday, June 12, 2008, 8:20 AM
Nhadie Ramos wrote:
Quote: | Hi Sir,
I tried restarting asterisk, but still it has the wrong time.
I tried restarting the system, then start asterisk it still uses the
wrong time.
I also tried recompiling asterisk, checked i have the correct time on
the system, then restart the system then start asterisk but still i
get the wrong time.
My system time (currently) Thu Jun 12 15:12:11 GST 2008
on asterisk i use EPOCH to look at the time,
NoOp("SIP/105101-00857e60", "DATE: 20080612-081147")
i would really appreciate any help. TIA
ron
--- On *Thu, 6/12/08, Tilghman Lesher
/<tilghman at mail.jeffandtilghman.com>/* wrote:
From: Tilghman Lesher
|
<tilghman at mail.jeffandtilghman.com>
Quote: | Subject: Re: [asterisk-users] time on asterisk
To: "Asterisk Users Mailing List - Non-Commercial
| Discussion"
Quote: | <asterisk-users at lists.digium.com>
Date: Thursday, June 12, 2008, 1:42 AM
On Wednesday 11 June 2008 17:52:15 Nhadie Ramos wrote:
Quote: | I'm using gotoiftime on asterisk, but it seems
|
| there is a difference
Quote: | Quote: | between the asterisk time and the system time. could it be
|
| because i
Quote: | Quote: | adjusted the system timezone on my linux? do asterisk not detect
|
| the change
Quote: | Quote: | of timezone on the system? How can I fix this prob?
|
Yes, that's probably the reason. The system timezone is cached
| once at
Quote: | startup, for performance reasons. The only way to get it to pick up
| the new
Quote: | timezone is a restart.
--
|
Tilghman
Ron,
What OS/Distro are you using ?
What timezone are you using ?
Do you use NTP for syncing time/date?
/Mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080612/dfa23161/attachment.htm |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Thu Jun 12, 2008 4:45 am Post subject: [asterisk-users] time on asterisk |
|
|
On Thu, Jun 12, 2008 at 01:59:51AM -0700, Nhadie Ramos wrote:
Quote: | hi mats,
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.
Quote: |
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.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
nhadie at gmail.com Guest
|
Posted: Thu Jun 12, 2008 6:03 am Post subject: [asterisk-users] time on asterisk |
|
|
hi sir,
i forgot to mention it was originally at Asia/Singapore, when i noticed
that asterisk has a wrong time, that's why i tried GMT instead.
regards,
Ron
Tzafrir Cohen wrote:
Quote: | On Thu, Jun 12, 2008 at 01:59:51AM -0700, Nhadie Ramos wrote:
Quote: | hi mats,
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.
Quote: | 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.
|
|
|
Back to top |
|
|
jnovak at logisticshea... Guest
|
Posted: Thu Jun 12, 2008 8:23 am Post subject: [asterisk-users] time on asterisk |
|
|
I am also having this problem using includes based on time of day,
however the restart did not help and when enabled it finds no context
with extension 's'. This is for my incoming calls, see below... Any
Ideas!
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[default]
include =>extensions
include => after|18:00-7:29|mon-fri|*|*
include => during|7:30-17:59|mon-fri|*|*
;include => after|*|sat|*|*
;include => after|*|sun|*|*
;;;;;;;;;;;;;;;;;;;;;always on;;;;;;;;;;;;;;;;;;;;;;;;;;;
;exten => s,1,Answer
;off
;exten => s,2,Background(/tmp/afterhours)
;on
;exten =>s,2,dial(sip/202&sip/203,20)
;exten=>s,3,hangup()
;;;;;;;;;;;;;;;;;;;;;maingreeting ;;;;;;;;;;;;;;;;;;;;;;;;
[during]
exten => s,1,Answer
exten => s,2,SetMusicOnHold(default)
exten =>s,3,Set(TIMEOUT(DIGIT)=3)
exten => s,4,Background(/tmp/maingreeting)
exten =>s,5,waitexten(5)
exten =>s,6,dial(sip/201,20|t))
exten =>s,7,hangup()
exten => 1,1,Goto(dental,s,1)
exten =>1,2,hangup()
exten => 2,1,dial(zap/g2/322)
exten => 2,2,voicemail(u322))
exten =>2,3,hangup()
exten => 3,1,dial(sip/241,20)
exten => 3,2,voicemail(u241)
exten =>3,3,hangup()
exten => 4,1,Goto(medical,s,1)
exten =>4,2,hangup()
exten => 6,1,dial(sip/232,20)
exten => 6,2,voicemail(u232)
exten =>6,3,hangup()
exten => 7,1,Goto(admin,s,1)
exten =>7,2,hangup()
exten => 0,1,dial(sip/201,20)
exten => 0,2,voicemail(u201)
exten =>0,3,hangup()
;;;;;;;;;;;;;;;;;;;;;;;;;;;Nightmode;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[after]
exten => s,1,Answer
exten =>s,2,Set(TIMEOUT(DIGIT)=2)
exten => s,3,Background(/tmp/afterhours)
exten =>s,4,waitexten(10)
exten =>s,5,hangup()
exten =>5,1,Dial(zap/g1/XXXXXXXXXXXX,20)
exten =>5,2,hangup() |
|
Back to top |
|
|
nhadie.ramos at yahoo.com Guest
|
Posted: Thu Jun 12, 2008 8:00 pm Post subject: [asterisk-users] time on asterisk |
|
|
hi sir,
i forgot to mention it was originally at Asia/Singapore, when i noticed
that asterisk has a wrong time, that's why i tried GMT instead.
regards,
Ron
--- On Thu, 6/12/08, Stelios Koroneos <skoroneos at digital-opsis.com> wrote:
From: Stelios Koroneos <skoroneos at digital-opsis.com>
Subject: RE: [asterisk-users] time on asterisk
To: nhadie.ramos at yahoo.com, "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users at lists.digium.com>
Date: Thursday, June 12, 2008, 9:33 AM
GMT timezone does not have daylight savings, so probably
this is why you have the wrong time
Select a timezone for a city and usually the correct
daylight parameters are used
Stelios S. Koroneos
Digital OPSiS - Embedded
Intelligence
http://www.digital-opsis.com
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nhadie
Ramos
Sent: Thursday, June 12, 2008 12:00 PM
To:
asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] time
on asterisk
hi mats,
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.
i'm
not using ntp, coz when i do i also don't get the correct
time.
i'm not sure how i can fix this, is this an ubuntu
issue?
regards,
ron
--- On Thu, 6/12/08, mkn0014
<mkn0014 at gmail.com> wrote:
From:
mkn0014 <mkn0014 at gmail.com>
Subject: Re: [asterisk-users]
time on asterisk
To: nhadie.ramos at yahoo.com, "Asterisk Users
Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Date: Thursday, June 12,
2008, 8:20 AM
Nhadie Ramos wrote:
> Hi Sir,
>
> I tried restarting asterisk, but still it has the wrong time.
>
> I tried restarting the system, then start asterisk it still uses the
> wrong time.
>
> I also tried recompiling asterisk, checked i have the correct time on
> the system, then restart the system then start asterisk but still i
> get the wrong time.
>
> My system time (currently) Thu Jun 12 15:12:11 GST 2008
>
> on asterisk i use EPOCH to look at the time,
> NoOp("SIP/105101-00857e60", "DATE: 20080612-081147")
>
> i would really appreciate any help. TIA
>
> ron
>
> --- On *Thu, 6/12/08, Tilghman Lesher
> /<tilghman at mail.jeffandtilghman.com>/* wrote:
>
> From: Tilghman Lesher
<tilghman at mail.jeffandtilghman.com>
> Subject: Re: [asterisk-users] time on asterisk
> To: "Asterisk Users Mailing List - Non-Commercial
Discussion"
> <asterisk-users at lists.digium.com>
> Date: Thursday, June 12, 2008, 1:42 AM
>
> On Wednesday 11 June 2008 17:52:15 Nhadie Ramos wrote:
> > I'm using gotoiftime on asterisk, but it seems&nbsp;
there is a difference
> > between the asterisk time and the system time. could it be
because i
> > adjusted the system timezone on my linux? do asterisk not detect
the change
> > of timezone on the system? How can I fix this prob?
>
> Yes, that's probably the reason. The system timezone is cached
once at
> startup, for performance reasons. The only way to get it to pick up
the new
> timezone is a restart.
>
> --
>
Tilghman
>
>
Ron,
What OS/Distro are you using ?
What timezone are you using ?
Do you use NTP for syncing time/date?
/Mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080612/540ec8ce/attachment.htm |
|
Back to top |
|
|
Guest
|
Posted: Thu Jun 12, 2008 8:22 pm Post subject: [asterisk-users] time on asterisk |
|
|
Quote: | Quote: | 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
Quote: | i use GMT+8 the system does not give the correct time.
You should actually be using Asia/Singapure rather than guess.
Quote: |
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? |
|
Back to top |
|
|
nhadie.ramos at yahoo.com Guest
|
Posted: Fri Jun 13, 2008 2:35 am Post subject: [asterisk-users] time on asterisk |
|
|
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
Quote: | Quote: | 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
Quote: | i use GMT+8 the system does not give the correct time.
You should actually be using Asia/Singapure rather than guess.
Quote: |
i'm not using ntp, coz when i do i also don't get the correct
|
| time.
Quote: |
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 |
|
Back to top |
|
|
tilghman at mail.jeffa... Guest
|
Posted: Fri Jun 13, 2008 7:31 am Post subject: [asterisk-users] time on asterisk |
|
|
On Friday 13 June 2008 02:35:09 Nhadie Ramos wrote:
Quote: | 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 |
|
Back to top |
|
|
nhadie.ramos at yahoo.com Guest
|
Posted: Fri Jun 13, 2008 9:42 am Post subject: [asterisk-users] time on asterisk |
|
|
Hi Sir,
what i did is reinstall (again) but this time using debian 32-bit. and now i get the time correctly.
so i'm not sure if it's a prob with ubuntu or asterisk, or asterisk on ubuntu, or asterisk on ubuntu 64-bit. coz i dont know how to figure those out. but anyway debian+asterisk works fine. thanks to all your reply!
regards
ron
--- On Fri, 6/13/08, Tilghman Lesher <tilghman at mail.jeffandtilghman.com> wrote:
From: Tilghman Lesher <tilghman at mail.jeffandtilghman.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, 12:31 PM
On Friday 13 June 2008 02:35:09 Nhadie Ramos wrote:
Quote: | Hi,
I don't know what i'm doing wrong but i already reinstalled the
| system.
Quote: | 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.
Quote: |
then installed zaptel, ./configure, make menuselect, make make install
| make
Quote: | 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
Quote: | '202..156.117.155' - No matching peer found [Jun 13 00:26:02]
| NOTICE[5159]:
Quote: | 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
Quote: | 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
_______________________________________________
-- 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/6f775ced/attachment-0001.htm |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Fri Jun 13, 2008 12:29 pm Post subject: [asterisk-users] time on asterisk |
|
|
On Fri, Jun 13, 2008 at 07:31:45AM -0500, Tilghman Lesher wrote:
Quote: | 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?
|
This can be verified with 'zdump -v /etc/localtime'
$ zdump -v /usr/share/zoneinfo/Asia/Singapore
/usr/share/zoneinfo/Asia/Singapore Fri Dec 13 20:45:52 1901 UTC = Sat Dec 14 03:41:17 1901 SMT isdst=0 gmtoff=24925
/usr/share/zoneinfo/Asia/Singapore Sat Dec 14 20:45:52 1901 UTC = Sun Dec 15 03:41:17 1901 SMT isdst=0 gmtoff=24925
/usr/share/zoneinfo/Asia/Singapore Wed May 31 17:04:34 1905 UTC = Wed May 31 23:59:59 1905 SMT isdst=0 gmtoff=24925
/usr/share/zoneinfo/Asia/Singapore Wed May 31 17:04:35 1905 UTC = Thu Jun 1 00:04:35 1905 MALT isdst=0 gmtoff=25200
/usr/share/zoneinfo/Asia/Singapore Sat Dec 31 16:59:59 1932 UTC = Sat Dec 31 23:59:59 1932 MALT isdst=0 gmtoff=25200
/usr/share/zoneinfo/Asia/Singapore Sat Dec 31 17:00:00 1932 UTC = Sun Jan 1 00:20:00 1933 MALST isdst=1 gmtoff=26400
/usr/share/zoneinfo/Asia/Singapore Tue Dec 31 16:39:59 1935 UTC = Tue Dec 31 23:59:59 1935 MALST isdst=1 gmtoff=26400
/usr/share/zoneinfo/Asia/Singapore Tue Dec 31 16:40:00 1935 UTC = Wed Jan 1 00:00:00 1936 MALT isdst=0 gmtoff=26400
/usr/share/zoneinfo/Asia/Singapore Sun Aug 31 16:39:59 1941 UTC = Sun Aug 31 23:59:59 1941 MALT isdst=0 gmtoff=26400
/usr/share/zoneinfo/Asia/Singapore Sun Aug 31 16:40:00 1941 UTC = Mon Sep 1 00:10:00 1941 MALT isdst=0 gmtoff=27000
/usr/share/zoneinfo/Asia/Singapore Sun Feb 15 16:29:59 1942 UTC = Sun Feb 15 23:59:59 1942 MALT isdst=0 gmtoff=27000
/usr/share/zoneinfo/Asia/Singapore Sun Feb 15 16:30:00 1942 UTC = Mon Feb 16 01:30:00 1942 JST isdst=0 gmtoff=32400
/usr/share/zoneinfo/Asia/Singapore Tue Sep 11 14:59:59 1945 UTC = Tue Sep 11 23:59:59 1945 JST isdst=0 gmtoff=32400
/usr/share/zoneinfo/Asia/Singapore Tue Sep 11 15:00:00 1945 UTC = Tue Sep 11 22:30:00 1945 MALT isdst=0 gmtoff=27000
/usr/share/zoneinfo/Asia/Singapore Sun Aug 8 16:29:59 1965 UTC = Sun Aug 8 23:59:59 1965 MALT isdst=0 gmtoff=27000
/usr/share/zoneinfo/Asia/Singapore Sun Aug 8 16:30:00 1965 UTC = Mon Aug 9 00:00:00 1965 SGT isdst=0 gmtoff=27000
/usr/share/zoneinfo/Asia/Singapore Thu Dec 31 16:29:59 1981 UTC = Thu Dec 31 23:59:59 1981 SGT isdst=0 gmtoff=27000
/usr/share/zoneinfo/Asia/Singapore Thu Dec 31 16:30:00 1981 UTC = Fri Jan 1 00:30:00 1982 SGT isdst=0 gmtoff=28800
/usr/share/zoneinfo/Asia/Singapore Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 11:14:07 2038 SGT isdst=0 gmtoff=28800
/usr/share/zoneinfo/Asia/Singapore Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 11:14:07 2038 SGT isdst=0 gmtoff=28800
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|