[asterisk-users] asterisk hangs on STRPTIME
Baji Panchumarti
baji.panchumarti at gmail.com
Mon Oct 8 13:43:01 CDT 2007
Successful Post mortem :
Output for below as seen on the 32-bit machine for STRPTIME
-- Executing [s at return_values:6] Set("IAX2/4883-2", "v_ts=") in new stack
-- Executing [s at return_values:7] Set("IAX2/4883-2", "v_ts=2007-10-08") in
new stack
-- Executing [s at return_values:8] NoOp("IAX2/4883-2", "2007-10-08") in new
stack
-- Executing [s at return_values:9] Set("IAX2/4883-2", "v_ts=") in new stack
-- Executing [s at return_values:10] Set("IAX2/4883-2", "v_ts=1191665043") in
new stack
-- Executing [s at return_values:11] NoOp("IAX2/4883-2", "1191665043") in new
stack
Tilghman <= Gracee
-baji.
--
On 10/7/07, Baji Panchumarti <baji.panchumarti at gmail.com> wrote:
> 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/20071008/ca7fceef/attachment.htm
More information about the asterisk-users
mailing list