[asterisk-users] GoToIfTime problem

Michiel van Baak michiel at vanbaak.info
Thu Apr 24 15:05:55 CDT 2008


On 15:43, Thu 24 Apr 08, Lee Jenkins wrote:
> 
> I'm having a problem at a custom site where GotoIfTime doesn't seem to be 
> working for some reason.  I had putty running and logging CLI output and below 
> is the call data:
> 
> -- Executing Answer("Zap/3-1", "") in new stack
> -- Executing Ringing("Zap/3-1", "") in new stack
> -- Executing Wait("Zap/3-1", "0") in new stack
> -- Executing SetMusicOnHold("Zap/3-1", "default") in new stack
> -- Executing Goto("Zap/3-1", "check_time|s|1") in new stack
> -- Goto (check_time,s,1)
> -- Executing GotoIf("Zap/3-1", "0?set_no_callerid|s|1") in new stack
> -- Executing NoOp("Zap/3-1", "CallerID: 443866XXXX Cell Phone   MD") in new stack
> -- Executing GotoIfTime("Zap/3-1", "08:30-17:00|mon-fri|*|*|?daytime_ivr|s|1") 
> in new stack
> -- Executing Goto("Zap/3-1", "after_hours|s|1") in new stack
> -- Goto (after_hours,s,1)
> 
> This call came in at about 3:10 PM EDT today (Thursday).  I did a "date" command 
> at the linux prompt and the date and time of the computer is set correctly.
> 
> Now, I have had problem with this particular computer in that the date/time gets 
> changed somehow, although I'm not sure exactly how.  I've changed it back 
> several times using the commands (copied from command line history):
> 
> # date -s "23 APR 2008 1:42:00"
> # hwclock --utc --systohc

Install ntp so it will sync with the internet all the time.
It's the first package I install on servers, no matter if it's brandnew
or not-so-brandnew hardware.
Time IS important for a lot of applications.
-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"




More information about the asterisk-users mailing list