[asterisk-dev] [Code Review] Provide method for testing GotoIfTime without changing localtime
David Vossel
dvossel at digium.com
Tue Jan 12 16:18:23 CST 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/458/#review1356
-----------------------------------------------------------
/trunk/main/pbx.c
<https://reviewboard.asterisk.org/r/458/#comment3097>
Ah, I understand. Perhaps adding something like this would make it slightly more efficient then.
if (ctime) {
pbx_builtin_setvar_helper(chan, "TESTTIME", NULL);
}
- David
On 2010-01-11 15:22:43, Tilghman Lesher wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/458/
> -----------------------------------------------------------
>
> (Updated 2010-01-11 15:22:43)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> During the recent holidays, we had discussions on the mailing list about being able to verify whether the dates and times chosen actually performed as expected. To this end, I have created this method for setting the date and time at which GotoIfTime will be tested, to verify that a particular date and time will take a particular path.
>
>
> This addresses bug 16464.
> https://issues.asterisk.org/view.php?id=16464
>
>
> Diffs
> -----
>
> /trunk/include/asterisk/pbx.h 235421
> /trunk/main/pbx.c 235422
>
> Diff: https://reviewboard.asterisk.org/r/458/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Tilghman
>
>
More information about the asterisk-dev
mailing list