[asterisk-users] Feature Request: GotoIfTimeWithOffset

Steve Edwards asterisk.org at sedwards.com
Fri Dec 18 11:17:24 CST 2009


On Fri, 18 Dec 2009, Tilghman Lesher wrote:

> The syntax is actually:
>
> Set(TESTTIME()=2009-12-25 10:35:00 CST)

1) Does this set the "time" to a fixed value or does it set the time at 
the point of execution and then the "clock" increments from there?

2) Does this only affect gotoiftime() or does it affect every time value 
associated with the executing channel? Would

 	exten = *,n,			agi(foo,${EPOCH})

pass the number of seconds between "00:00:00 1970-01-01 UTC" and 
${TESTTIME}.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list