<div dir="ltr"><div>Hi all,</div><div><br></div><div>I&#39;m using FS 1.4.12 on CentOS 6.5 and I think I&#39;m running into an issue with &#39;dialplan parsed all at once&#39; when trying to implement the example based on </div><div><a href="https://wiki.freeswitch.org/wiki/Time_of_Day_Routing#Example_for_office_open_09:00-16:00">https://wiki.freeswitch.org/wiki/Time_of_Day_Routing#Example_for_office_open_09:00-16:00</a> :<br></div><div><br></div><div>When I dial our main &#39;9600&#39; external DID, the call is answered and routed exactly as I want, however, there is a lot of ugly logging going on and I suspect that the desired behaviour is by chance rather than design. I&#39;d love to hear some feedback on how to best implement the logic of &#39;Office open Mon-Fri 8am-6pm&#39;:</div><div><br></div><div> </div><div>2014-10-16 08:49:48.515467 [NOTICE] switch_channel.c:1055 New Channel sofia/external/<a href="mailto:nobody@87.238.73.162">nobody@87.238.73.162</a> [ee5fb654-31c0-4c89-977e-b85ad4a0cb23]</div><div>2014-10-16 08:49:48.515467 [NOTICE] switch_core_session.c:2987 Execute execute_extension(441614249600_${office_status})</div><div>2014-10-16 08:49:48.515467 [NOTICE] switch_core_session.c:2987 Execute execute_extension(441614249600_${office_status})<br></div><div>[.. 17 times in total...]</div><div>2014-10-16 08:49:48.515467 [NOTICE] switch_core_session.c:2987 Execute execute_extension(441614249600_${office_status})</div><div>2014-10-16 08:49:48.515467 [ERR] switch_core_session.c:2918 Error sofia/external/<a href="mailto:nobody@87.238.73.162">nobody@87.238.73.162</a> too many stacked extensions</div><div>2014-10-16 08:49:48.515467 [NOTICE] switch_core_session.c:2987 Execute set(domain_name=<a href="http://freeswitch.bashton.eu">freeswitch.bashton.eu</a>)</div><div>2014-10-16 08:49:48.515467 [NOTICE] switch_core_session.c:2987 Execute set(effective_caller_id_name=${cidlookup(${caller_id_number})})</div><div>2014-10-16 08:49:48.515467 [NOTICE] switch_core_session.c:2987 Execute ivr(bashton_9600_open)</div><div>2014-10-16 08:49:48.515467 [NOTICE] mod_sofia.c:2243 Pre-Answer sofia/external/<a href="mailto:nobody@87.238.73.162">nobody@87.238.73.162</a>!</div><div><br></div><div><div>    &lt;extension name=&quot;are_we_open&quot; continue=&quot;true&quot;&gt;</div><div>      &lt;condition wday=&quot;2-6&quot; hour=&quot;8-18&quot; break=&quot;never&quot;&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;office_status=open&quot; inline=&quot;true&quot;/&gt;</div><div>        &lt;anti-action application=&quot;set&quot; data=&quot;office_status=closed&quot; inline=&quot;true&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>    &lt;extension name=&quot;DDI_9600&quot; continue=&quot;true&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;441614249600&quot;&gt;</div><div>        &lt;action application=&quot;execute_extension&quot; data=&quot;441614249600_${office_status}&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>    &lt;extension name=&quot;DDI_9600_open&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;441614249600_open&quot;&gt;</div><div>       &lt;action application=&quot;set&quot; data=&quot;domain_name=$${domain}&quot;/&gt;</div><div>       &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=${cidlookup(${caller_id_number})}&quot;/&gt;</div><div>       &lt;action application=&quot;ivr&quot; data=&quot;bashton_9600_open&quot;/&gt;</div><div>      &lt;/condition&gt;<br></div><div>    &lt;/extension&gt;</div><div><br></div><div>    &lt;extension name=&quot;DDI_9600_closed&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;441614249600_closed&quot;&gt;</div><div>       &lt;action application=&quot;set&quot; data=&quot;domain_name=$${domain}&quot;/&gt;</div><div>       &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=${cidlookup(${caller_id_number})}&quot;/&gt;</div><div>       &lt;action application=&quot;ivr&quot; data=&quot;bashton_9600_closed&quot;/&gt;</div><div>      &lt;/condition&gt;<br></div><div>    &lt;/extension&gt;</div><div><br></div></div><div>Suggestions would be most welcome! :)</div><div><br></div><div>Cheers,</div><div>Gavin.</div><div><br></div><div><br></div></div>