<div dir="ltr">Seems to be, if you have a mix of lua - driven dialplan and XML, freeswitch just drop your XML parts.<div><br></div><div>Means in autoload_configs/lua.conf.xml i have</div><div>    &lt;param name=&quot;xml-handler-bindings&quot; value=&quot;configuration,dialplan,directory&quot;/&gt;<br></div><div><br></div><div>When I transfer a call to another context, I get </div><div><div>2015-09-15 15:06:32.051880 [INFO] mod_dialplan_xml.c:635 Processing 601 &lt;601&gt;-&gt;5555 in context test_cases</div><div>2015-09-15 15:06:32.051880 [DEBUG] freeswitch_lua.cpp:360 DBH handle 0x7fb46c214d50 Connected.</div><div>2015-09-15 15:06:32.051880 [DEBUG] freeswitch_lua.cpp:377 DBH handle 0x7fb46c214d50 released.</div><div>2015-09-15 15:06:32.051880 [INFO] switch_core_state_machine.c:241 No Route, Aborting</div></div><div>So, it tries to lookup this context via lua bindings, but not via plain XML.</div><div>But when I do a xml_lookup in CLI, I see this context.</div><div><br></div><div>Looks like a bug or not?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-14 23:16 GMT+03:00 Igor Olhovskiy <span dir="ltr">&lt;<a href="mailto:igorolhovskiy@gmail.com" target="_blank">igorolhovskiy@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Really dunno.<div>May be cause of mix of lua dbh dialplan and plain xml?</div><div>Will play more on it....</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-09-14 22:52 GMT+03:00 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">That should be fine, I use it a lot</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 14 September 2015 at 20:14, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">maybe it doesn&#39;t like the _ in the context name?  <div><div><span></span><br><br>On Monday, September 14, 2015, Igor Olhovskiy &lt;<a href="mailto:igorolhovskiy@gmail.com" target="_blank">igorolhovskiy@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>File /usr/local/freeswitch/conf/dialplan/test_case.xml</div><div><br></div><div><br></div><div>xml_locate dialplan</div><div>&lt;section name=&quot;dialplan&quot; description=&quot;Regex/XML Dialplan&quot;&gt;</div><div>    &lt;context name=&quot;test_cases&quot;&gt;</div><div>       &lt;extension name=&quot;testing&quot;&gt;</div><div>          &lt;condition field=&quot;destination_number&quot; expression=&quot;^3335$&quot;&gt;</div><div>              &lt;action application=&quot;info&quot;&gt;&lt;/action&gt;</div><div><br></div><div>     &lt;/condition&gt;</div><div><br></div><div>   &lt;/extension&gt;</div><div><br></div><div>  &lt;/context&gt;</div><div><br></div><div>  &lt;/section&gt;</div><div>.....</div><div>(other dialplan is handled by lua dbh)</div><div><br></div><div>reloadxml gives no error....</div><div>And I&#39;m already at log7.</div><div>What is strange - I can&#39;t see strings in log for regex matching (PASS and FAIL), just No Route....</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-14 20:53 GMT+03:00 Ítalo Rossi <span dir="ltr">&lt;<a>italo@freeswitch.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You&#39;re probably not reloading your dialplan due to an error in your xml, or overwriting the context test_case.<div><br></div><div>xml_locate root dialplan </div><div><br></div><div>and examine what FreeSWITCH have loaded.</div><div><br></div><div>reloadxml give you an error?</div><div><br></div><div>/log 7 will help you to see the dialplan hunt.</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 2:15 PM, Brian West <span dir="ltr">&lt;<a>brian@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What directory do you have the file in and what is the file called?</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 11:42 AM, Igor Olhovskiy <span dir="ltr">&lt;<a>igorolhovskiy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yea, missed it. But the same<div><br></div><div><div>2015-09-14 18:41:19.880227 [DEBUG] switch_core_state_machine.c:166 loopback/3335-b Standard ROUTING</div><div>2015-09-14 18:41:19.880227 [INFO] mod_dialplan_xml.c:635 Processing  &lt;0000000000&gt;-&gt;3335 in context test_cases</div><div>2015-09-14 18:41:19.880227 [INFO] switch_core_state_machine.c:241 No Route, Aborting</div></div><div><br></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2015-09-14 19:29 GMT+03:00 Russell Treleaven <span dir="ltr">&lt;<a>rtreleaven@bunnykick.ca</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(0,0,0);font-size:12.8000001907349px">3555 != </span><span style="color:rgb(0,0,0);font-size:12.8000001907349px">3335</span><br><div><span style="color:rgb(0,0,0);font-size:12.8000001907349px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Sep 14, 2015 at 12:26 PM, Igor Olhovskiy <span dir="ltr">&lt;<a>igorolhovskiy@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi!<div>I have a really strange dialplan problem or total misunderstanding of FreeSwitch dialplans....</div><div>I&#39;ve created file</div><div>test_cases.xml in dialplan directory with content:</div><div><div> &lt;include&gt;</div><div>  &lt;context name=&quot;test_cases&quot;&gt;</div><div>   &lt;extension name=&quot;testing&quot;&gt;</div><div>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^3335$&quot;&gt;</div><div>      &lt;action application=&quot;info&quot;/&gt;</div><div>     &lt;/condition&gt;</div><div>   &lt;/extension&gt;</div><div>  &lt;/context&gt;</div><div>&lt;/include&gt;</div><div><br></div><div>Than, after reloadxml. verify, that I have in log/freeswitch.xml.fsxml section with it (section=&quot;dialplan&quot; and other....)</div><div><br></div><div>In fs_cli I&#39;ve firing a commnand </div><div> originate loopback/3555/test_cases/XML user/101<br></div><div><br></div><div>But can&#39;t get to 3555 extension in dialplan. Got in log</div><div><br></div><div><div>.....</div><div>2015-09-14 18:16:31.000258 [INFO] mod_dialplan_xml.c:635 Processing  &lt;0000000000&gt;-&gt;3555 in context test_cases</div><div>2015-09-14 18:16:31.000258 [INFO] switch_core_state_machine.c:241 No Route, Aborting</div><div>2015-09-14 18:16:31.000258 [NOTICE] switch_core_state_machine.c:242 Hangup loopback/3555-b [CS_ROUTING] [NO_ROUTE_DESTINATION]</div><div>.....</div></div><div>But why? I have a context test_cases and corresponding extension with condition field.....</div><div><br></div><div>Looks like dumb question, but I&#39;m desperate...</div><span><font color="#888888"><div><br></div><div><br></div>-- <br><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</font></span></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a>brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><span><font color="#888888"><div><div dir="ltr">Ítalo Rossi<div><a>italo@freeswitch.org</a></div></div></div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</div>
</blockquote>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Best regards,<div>Igor</div></div></div>
</div>