[Freeswitch-users] Dialplan question....
Ken Rice
krice at freeswitch.org
Mon Sep 14 23:48:13 MSD 2015
Are you sure you don’t have build skew or something else going on here? I just copy/pasted your config into a file in my configs and it worked just fine
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Igor Olhovskiy
Sent: Monday, September 14, 2015 2:18 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Dialplan question....
No.... Same....
2015-09-14 22:14 GMT+03:00 Michael Jerris <mike at jerris.com <mailto:mike at jerris.com> >:
maybe it doesn't like the _ in the context name?
On Monday, September 14, 2015, Igor Olhovskiy <igorolhovskiy at gmail.com <mailto:igorolhovskiy at gmail.com> > wrote:
File /usr/local/freeswitch/conf/dialplan/test_case.xml
xml_locate dialplan
<section name="dialplan" description="Regex/XML Dialplan">
<context name="test_cases">
<extension name="testing">
<condition field="destination_number" expression="^3335$">
<action application="info"></action>
</condition>
</extension>
</context>
</section>
.....
(other dialplan is handled by lua dbh)
reloadxml gives no error....
And I'm already at log7.
What is strange - I can't see strings in log for regex matching (PASS and FAIL), just No Route....
2015-09-14 20:53 GMT+03:00 Ítalo Rossi <italo at freeswitch.org <mailto:italo at freeswitch.org> >:
You're probably not reloading your dialplan due to an error in your xml, or overwriting the context test_case.
xml_locate root dialplan
and examine what FreeSWITCH have loaded.
reloadxml give you an error?
/log 7 will help you to see the dialplan hunt.
On Mon, Sep 14, 2015 at 2:15 PM, Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org> > wrote:
What directory do you have the file in and what is the file called?
On Mon, Sep 14, 2015 at 11:42 AM, Igor Olhovskiy <igorolhovskiy at gmail.com <mailto:igorolhovskiy at gmail.com> > wrote:
Yea, missed it. But the same
2015-09-14 18:41:19.880227 [DEBUG] switch_core_state_machine.c:166 loopback/3335-b Standard ROUTING
2015-09-14 18:41:19.880227 [INFO] mod_dialplan_xml.c:635 Processing <0000000000>->3335 in context test_cases
2015-09-14 18:41:19.880227 [INFO] switch_core_state_machine.c:241 No Route, Aborting
2015-09-14 19:29 GMT+03:00 Russell Treleaven <rtreleaven at bunnykick.ca <mailto:rtreleaven at bunnykick.ca> >:
3555 != 3335
On Mon, Sep 14, 2015 at 12:26 PM, Igor Olhovskiy <igorolhovskiy at gmail.com <mailto:igorolhovskiy at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Best regards,
Igor
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Brian West
brian at freeswitch.org <mailto:brian at freeswitch.org>
<http://billing.freeswitch.org/templates/default/img/whmcslogo.png>
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here <https://freeswitch.org/jira> ! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
T:+19184209001 <tel:%2B19184209001> | F:+19184209002 <tel:%2B19184209002> | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Ítalo Rossi
italo at freeswitch.org <mailto:italo at freeswitch.org>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Best regards,
Igor
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Best regards,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150914/0744247d/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list