<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16466"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI">
<DIV>Hi Guys</DIV>
<DIV>&nbsp;</DIV>
<DIV>Still working on my pfsense based freeswitch.</DIV>
<DIV>So far it's actually working really good, thanks to all the help on the mailinglist and the excellent tutorials, thankyou very much to all!</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm trying to have one of the phonenumbers react on the TimeOfDay. I followed the guide in the wiki.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In public I have set it up to dial the local extension 8203 when the company phone rings.</DIV>
<DIV>So I put all this in the default.xml to have it process it:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; &lt;extension name="Company-x8203"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^8203$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="transfer" data="CompanyIn"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<BR>&nbsp;&nbsp; &lt;/extension&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; &lt;extension name="CompanyIn" continue="true"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^CompanyIn$"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition wday="2-6"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition minute-of-day="540-1020"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="Company_open=true"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="transfer" data="xfer-to-company"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="set" data="Company_open=false"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="transfer" data="xfer-to-company"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<BR>&nbsp;&nbsp; &lt;/extension&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; &lt;extension name="xfer-to-company"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^xfer-to-company$"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="${Company_open}" expression="^true$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="<A href='mailto:group/company@${domain_name}"/'>group/company@${domain_name}"/</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="answer"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="2000"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="voicemail" data="default ${domain_name} 1011"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="voicemail" data="default ${domain_name} 1011"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<BR>&nbsp;&nbsp; &lt;/extension&gt;<BR></DIV>
<DIV>But it doesn't react on the time. I'm wondering if wday and minute-of-day is working on the pfsense package, as far as I know it's version 0.9.5?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any input on this?</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>