Trever,<div><br></div><div>You&#39;re in one of those gray areas where xml_curl may actually be easier in the long run unless you have just this one single set of goofy conditions to handle. However, if I understand your question correctly you should be able to do this in the dialplan.</div>
<div><br></div><div>I can&#39;t be exactly certain why your call is failing since the debug log snippet you gave was a bit small, however my guess is that you don&#39;t actually have any actions inside of a matching &lt;condition&gt; for the call that was made. It looks like it was a &quot;private&quot; caller so this line would no doubt match:</div>
<div><br></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace" size="1"><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">&lt;condition field=&quot;caller_id_name&quot; expression=&quot;.*rivate.*&quot;</span><br style="background-color: rgb(255, 255, 255); ">
<span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">break=&quot;on-true&quot;/&gt;</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">When that condition matches, the dialplan processing will stop checking for any more conditions inside of the extension named &quot;screen&quot; and simply move on in the dialplan. (That behavior is caused by the break=&quot;on-true&quot; directive.) So, do you have any other extensions in this context? Whether you do or not, it seems like none of your conditions that actually have actions inside them is being matched, therefore you have no actions for this call and get the no route error.</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">My recommendation is to pastebin the entire Incoming-FXO context as well as debug level output for the incoming call. Paste the call log from start to finish. That will help us see what&#39;s really going on.</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">-MC<br></font><br><div class="gmail_quote">On Thu, Oct 27, 2011 at 1:44 PM, Trever L. Adams <span dir="ltr">&lt;<a href="mailto:trever.adams@gmail.com">trever.adams@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;">Hello everyone,<br>
<br>
The last few days I am beginning to explore freeswitch. I am having a<br>
bit of trouble. I am trying to user the examples near<br>
<a href="http://wiki.freeswitch.org/wiki/Dialplan_XML#Complex_Condition.2FAction_Rules" target="_blank">http://wiki.freeswitch.org/wiki/Dialplan_XML#Complex_Condition.2FAction_Rules</a><br>
in the documentation. If I use &#39;\&#39; as it says, I get an error about<br>
&lt;/extension&gt; being unexpected. If I use &#39;/&#39; it doesn&#39;t work. Below is my<br>
dialplan. It should trigger on empty number as well as the strings<br>
mentioned. I am pretty sure the regex is accurate. However, instead of<br>
running, I get:<br>
<br>
<br>
2011-10-27 14:38:16.269266 [INFO] mod_dialplan_xml.c:336 Processing<br>
private &lt;private&gt;-&gt; in context Incoming-FXO<br>
2011-10-27 14:38:16.269266 [INFO] switch_core_state_machine.c:177 No<br>
Route, Aborting<br>
<br>
The dialplan:<br>
<br>
&lt;include&gt;<br>
    &lt;context name=&quot;Incoming-FXO&quot;&gt;<br>
        &lt;extension name=&quot;screen&quot;&gt;<br>
            &lt;condition field=&quot;caller_id_number&quot; expression=&quot;^$&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_number&quot; expression=&quot;.nonymous.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_number&quot; expression=&quot;.nknown.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_number&quot; expression=&quot;.*rivate.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_number&quot;<br>
expression=&quot;.estricted.*&quot; break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_number&quot; expression=&quot;PTSN.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_number&quot; expression=&quot;.oll.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;.nonymous.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;.nknown.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;.*rivate.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;.estricted.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;PTSN.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;.oll.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;.--.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;,.*&quot;<br>
break=&quot;on-true&quot;/&gt;<br>
            &lt;condition field=&quot;caller_id_name&quot; expression=&quot;000.*&quot;&gt;<br>
                &lt;action application=&quot;set&quot;<br>
data=&quot;call_screen_filename=/tmp/${caller_id_number}-name.wav&quot;/&gt;<br>
                &lt;action application=&quot;answer&quot;/&gt;<br>
                &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<br>
                &lt;action application=&quot;phrase&quot; data=&quot;voicemail_record_name&quot;/&gt;<br>
                &lt;action application=&quot;playback&quot;<br>
data=&quot;tone_stream://%(500, 0, 640)&quot;/&gt;<br>
                &lt;action application=&quot;set&quot;<br>
data=&quot;playback_terminators=#*0123456789&quot;/&gt;<br>
                &lt;action application=&quot;record&quot;<br>
data=&quot;${call_screen_filename} 7 200 2&quot;/&gt;<br>
                &lt;action application=&quot;set&quot; data=&quot;group_confirm_key=1&quot;/&gt;<br>
                &lt;action application=&quot;set&quot;<br>
data=&quot;fail_on_single_reject=true&quot;/&gt;<br>
                &lt;action application=&quot;set&quot;<br>
data=&quot;group_confirm_file=phrase:screen_confirm:${call_screen_filename}&quot;/&gt;<br>
                &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>
&lt;!--                &lt;action application=&quot;bridge&quot; data=&quot;user/$1&quot;/&gt; --&gt;<br>
                &lt;action application=&quot;voicemail&quot; data=&quot;default $${domain}<br>
$1&quot;/&gt;<br>
                &lt;action application=&quot;hangup&quot;/&gt;<br>
            &lt;/condition&gt;<br>
        &lt;/extension&gt;<br>
    &lt;/context&gt;<br>
&lt;/include&gt;<br>
<br>
Any help would be greatly appreciated.<br>
<br>
Thank you,<br>
Trever<br>
<font color="#888888">--<br>
&quot;I know who I am. No one else knows who I am. If I was a giraffe, and<br>
someone said I was a snake, I&#39;d think, no, actually I&#39;m a giraffe.&quot; --<br>
Richard Gere<br>
<br>
<br>
</font><br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>