[Freeswitch-users] Dialplan question....
Igor Olhovskiy
igorolhovskiy at gmail.com
Mon Sep 14 20:26:31 MSD 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150914/e9db30ba/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list