[asterisk-users] Function TESTTIME example
Mindaugas Jasiulis
mindaugas.jasiulis at mediafon.lt
Wed Dec 28 07:01:40 CST 2011
Hi,
I do not know, whether this is the best way to use TESTTIME function, but for me it is working in that way:
exten => 123,n,Set(TESTTIME()=2011/12/25 18:30:00 Europe/Vilnius)
OR
You can use this:
Set(__TESTTIME=${STRPTIME(2011-12-25 18:00:00,Europe/Vilnius,%Y-%m-%d %H:%M:%S)})
Best regards,
Mindaugas
> Hi,
>
> Has someone a dialplan example using TESTTIME function (see core show
> function TESTTIME) ?
> I'm only getting replies such as "Function TESTTIME cannot be read".
>
> Regards
More information about the asterisk-users
mailing list