[asterisk-users] asterisk hangs on STRPTIME
Baji Panchumarti
baji.panchumarti at gmail.com
Sun Oct 7 19:38:56 CDT 2007
hello,
running asterisk 1.4.11 on CentOS 4.5
I am getting no response on function STRPTIME() the system just hangs,
STRFTIME() is working fine as seen below. Same thing happens whether
I called in from a softphone or via teliax.
While executing the following code :
;
exten => s,n,Set(v_ts=)
exten => s,n,Set(v_ts=${STRFTIME(|America/New_York|%Y-%m-%d)})
exten => s,n,NoOp(${v_ts})
;
exten => s,n,Set(v_ts=)
exten => s,n,Set(v_ts=${STRPTIME(2007-10-06
05:04:03|America/New_York|%Y-%m-%d %H:%M:%S)})
exten => s,n,NoOp(${v_ts})
;
I get the output :
-- Executing [s at return_values:6] Set("IAX2/4883-1", "v_ts=") in new stack
-- Executing [s at return_values:7] Set("IAX2/4883-1", "v_ts=2007-10-07") in
new stack
-- Executing [s at return_values:8] NoOp("IAX2/4883-1", "2007-10-07") in new
stack
-- Executing [s at return_values:9] Set("IAX2/4883-1", "v_ts=") in new stack
If this is a reported bug that has been fixed in 1.4.12, I can upgrade to
it,
but I'd like to know.
tia.
-baji.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071007/ac8be460/attachment.htm
More information about the asterisk-users
mailing list