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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to