<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Arial">Hello,<br>
<br>
Hope someone can help me.<br>
<br>
I have a strange problem with date and time on my FreeSwitch.<br>
<br>
I have dialplan:<br>
<extension name="WW26"><br>
<condition field="destination_number" expression="26"/><br>
<condition field="year" expression="2011"><br>
<action application="bridge"
data="USER/26@$${domain}"/><br>
... skip ...<br>
</condition><br>
</extension><br>
<br>
Server time:<br>
# date<br>
Thu Nov 3 21:34:22 GMT 2011<br>
<br>
However FreeSwitch can not confirm the year 2011. Log file:<br>
Dialplan: <a class="moz-txt-link-abbreviated"
href="mailto:sofia/internal/07711567890@xx.xx.xx.xx">sofia/internal/07711567890@xx.xx.xx.xx</a>
parsing [public->WW26] continue=true<br>
Dialplan: sofia/internal/</font><font face="Arial">07711567890</font><font
face="Arial">@</font><font face="Arial">xx.xx.xx.xx</font><font
face="Arial"> Regex (PASS) [WW26] destination_number(26) =~ /26/
break=on-false<br>
Dialplan: sofia/internal/</font><font face="Arial">07711567890</font><font
face="Arial">@</font><font face="Arial">xx.xx.xx.xx</font><font
face="Arial"> Regex (FAIL) [WW26] year() =~ /2011/ break=on-false<br>
<br>
I get the same problem if I change field year to wday which set to
1-6 for example.<br>
<br>
Any ideas would be much appreciated.<br>
<br>
Thanks,<br>
Max<br>
</font> <br>
</body>
</html>