3555 != 3335



On Mon, Sep 14, 2015 at 12:26 PM, Igor Olhovskiy <igorolhovskiy@gmail.com> wrote:
Hi!
I have a really strange dialplan problem or total misunderstanding of FreeSwitch dialplans....
I've created file
test_cases.xml in dialplan directory with content:
 <include>
  <context name="test_cases">
   <extension name="testing">
    <condition field="destination_number" expression="^3335$">
      <action application="info"/>
     </condition>
   </extension>
  </context>
</include>

Than, after reloadxml. verify, that I have in log/freeswitch.xml.fsxml section with it (section="dialplan" and other....)

In fs_cli I've firing a commnand 
 originate loopback/3555/test_cases/XML user/101

But can't get to 3555 extension in dialplan. Got in log

.....
2015-09-14 18:16:31.000258 [INFO] mod_dialplan_xml.c:635 Processing  <0000000000>->3555 in context test_cases
2015-09-14 18:16:31.000258 [INFO] switch_core_state_machine.c:241 No Route, Aborting
2015-09-14 18:16:31.000258 [NOTICE] switch_core_state_machine.c:242 Hangup loopback/3555-b [CS_ROUTING] [NO_ROUTE_DESTINATION]
.....
But why? I have a context test_cases and corresponding extension with condition field.....

Looks like dumb question, but I'm desperate...


--
Best regards,
Igor

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org