[Asterisk-Users] TIMESTAMP, DATETIME not working
Corporate IT Solutions - Michael Dunne
michael at citsolutions.com.au
Thu Mar 2 23:01:01 MST 2006
Ahha ...
That would explain it then, that makes more sense too I guess
considering STRFTIME is quite configurable.
Thanks very much for the help.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mark
Hulber
Sent: Friday, 3 March 2006 3:35 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] TIMESTAMP, DATETIME not working
> 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
More information about the asterisk-users
mailing list