hello,<br><br> running asterisk 1.4.11 on CentOS 4.5 <br><br> I am getting no response on function STRPTIME() the system just hangs,<br> STRFTIME() is working fine as seen below. Same thing happens whether<br> I called in from a softphone or via teliax.
<br> <br><br> While executing the following code :<br><br><font size="1"><span style="font-family: courier new,monospace;">;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
exten => s,n,Set(v_ts=)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> exten => s,n,Set(v_ts=${STRFTIME(|America/New_York|%Y-%m-%d)})</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> exten => s,n,NoOp(${v_ts})</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> exten => s,n,Set(v_ts=)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> exten => s,n,Set(v_ts=${STRPTIME(2007-10-06 05:04:03|America/New_York|%Y-%m-%d %H:%M:%S)})
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> exten => s,n,NoOp(${v_ts})</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
;</span><br style="font-family: courier new,monospace;"></font><br><span style="font-family: courier new,monospace;"></span>I get the output :<br><br><font size="1"><span style="font-family: courier new,monospace;"> -- Executing [
s@return_values:6] Set("IAX2/4883-1", "v_ts=") in new stack</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> -- Executing [s@return_values:7] Set("IAX2/4883-1", "v_ts=2007-10-07") in new stack
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> -- Executing [s@return_values:8] NoOp("IAX2/4883-1", "2007-10-07") in new stack</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> -- Executing [s@return_values:9] Set("IAX2/4883-1", "v_ts=") in new stack</span><br style="font-family: courier new,monospace;"></font><br><br> If this is a reported bug that has been fixed in
1.4.12, I can upgrade to it,<br> but I'd like to know.<br><br> tia.<br><br> -baji.<br><br>--<br><br>