<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Debug logs should help you figure out what is and is not matching in your conditions.<div><br></div><div>Mike</div><div><br></div><div><div><div>On Jan 22, 2010, at 6:14 AM, mailinglist wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Tahoma, sans-serif; font-size: 13px; ">Ok, I set it up like this:<br>&lt;extension name="CompanyIn"&gt;<br>&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(8203)$" continue="true"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- man strftime - M-F, 9AM to 5PM --&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="${strftime(%w)}" expression="^([1-2])$"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="voicemail" data="default 10.11.12.25 10199"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="${strftime(%H%M)}" expression="^((09|1[0-6])[0-5][0-9]|1700)$"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="call_timeout=45"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="domain_name=10.11.12.25"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="continue_on_fail=true"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="hangup_after_bridge=true"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="group/company@${domain_name}"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="answer" data=""/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="1000"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="voicemail" data="default 10.11.12.25 10199"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action application="voicemail" data="default 10.11.12.25 10199"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>But now it gives me:<br><br>2010-01-22 11:52:08.667564 [NOTICE] switch_channel.c:602 New Channel sofia/external/2680xxxx@87.54.25.116 [16baec2f-4407-df11-8fb3-000c29b7b4cb]<br>2010-01-22 11:52:08.800123 [INFO] mod_dialplan_xml.c:252 Processing 2680xxxx-&gt;4692xxxx in context public<br>2010-01-22 11:52:08.830071 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/2680xxxx@87.54.25.116 to XML[8203@default]<br>2010-01-22 11:52:08.830071 [INFO] mod_dialplan_xml.c:252 Processing 2680xxxx-&gt;8203 in context default<br>2010-01-22 11:52:08.830071 [NOTICE] switch_ivr.c:1349 Transfer sofia/external/2680xxxx@87.54.25.116 to enum[8203@default]<br>2010-01-22 11:52:09.163439 [INFO] switch_core_state_machine.c:136 No Route, Aborting<br><br>huh<br></div></blockquote></div><br></div></body></html>