> show function STRFTIME
-= Info about function 'STRFTIME' =-
[Syntax]
STRFTIME([<epoch>][,[timezone][,format]])
[Synopsis]
Returns the current date/time in a specified format.
[Description]
Not available
Example:
exten => s,n,NoOp(TIME=${STRFTIME(,EST5EDT,%d%b%Y-%H:%M:%S)})
MARK.
Corporate IT Solutions - Michael Dunne wrote:
I am using the latest SVN version 1.2 of Asterisk
When I attempt to test the output of certain variables, for use in file
naming etc, certain key ones appear to fail.
exten => 5555,1,NoOp(${EPOCH})
Returns
-- Executing NoOp("SIP/200-638c", "1141352935") in new stack
exten => 5556,1,NoOp(${TIMESTAMP})
Returns
-- Executing NoOp("SIP/200-8cc9", "") in new stack
exten => 5557,1,NoOp(${DATETIME})
Returns
-- Executing NoOp("SIP/200-83ca", "") in new stack
Epoch works fine, however none of the other "human" readable timestamps
seem to be working. Is there anything else required to initialise them,
or how can I test to make sure they are being initialised correctly.
Thanks
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users