<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><extension name="CompanyIn"><br> <condition field="destination_number" expression="^(8203)$" continue="true"/><br> <!-- man strftime - M-F, 9AM to 5PM --><br> <condition field="${strftime(%w)}" expression="^([1-2])$"/><br> <anti-action application="voicemail" data="default 10.11.12.25 10199"/><br> <condition field="${strftime(%H%M)}" expression="^((09|1[0-6])[0-5][0-9]|1700)$"><br> <action application="set" data="call_timeout=45"/><br> <action application="set" data="domain_name=10.11.12.25"/><br> <action application="set" data="continue_on_fail=true"/><br> <action application="set" data="hangup_after_bridge=true"/><br> <action application="bridge" data="group/company@${domain_name}"/><br> <action application="answer" data=""/><br> <action application="sleep" data="1000"/><br> <action application="voicemail" data="default 10.11.12.25 10199"/><br> <anti-action application="voicemail" data="default 10.11.12.25 10199"/><br> </condition><br></extension><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->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->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>