<p>Doesn&#39;t seem to even execute your code. Is it valid xml? it looks like you named the extension without quoting the name. Try fixing that.</p>
<p>-Avi</p>
<div class="gmail_quote">On Jun 21, 2013 2:58 PM, &quot;Ivan C Myrvold&quot; &lt;<a href="mailto:ivan@myrvold.org">ivan@myrvold.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am using mod_xml_curl to control the dialplan of FreeSWITCH. When a user is dialing a number he is not allowed to call (111), I want FreeSWITCH to play back the phone_not_auth.wav sound file. I am returning the following XML.<br>

<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;<br>
&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>
  &lt;section name=&quot;dialplan&quot;&gt;<br>
    &lt;context name=&quot;default&quot;&gt;<br>
        &lt;extension name=no_name&gt;<br>
          &lt;condition&gt;<br>
            &lt;action application=&quot;playback&quot; data=&quot;/usr/local/freeswitch/sounds/en/us/callie/misc/8000/phone_not_auth.wav&quot;/&gt;<br>
          &lt;/condition&gt;<br>
        &lt;/extension&gt;<br>
    &lt;/context&gt;<br>
  &lt;/section&gt;<br>
&lt;/document&gt;<br>
<br>
Here is the log from FreeSWITCH. I don&#39;t hear the sound that is played back, just the busy signal after a couple seconds of silence. What is wrong here?<br>
<br>
Ivan<br>
<br>
2013-06-21 11:51:54.690026 [NOTICE] switch_channel.c:978 New Channel sofia/internal/<a href="mailto:160@178.79.177.164">160@178.79.177.164</a> [f803e92a-da68-11e2-993c-1d15db576d4a]<br>
2013-06-21 11:51:55.369954 [INFO] mod_dialplan_xml.c:558 Processing Linksys 160 &lt;160&gt;-&gt;111 in context default<br>
2013-06-21 11:51:56.129953 [INFO] switch_core_session.c:2578 Sending early media<br>
2013-06-21 11:51:56.129953 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/<a href="mailto:160@178.79.177.164">160@178.79.177.164</a>!<br>
2013-06-21 11:51:58.849958 [NOTICE] switch_core_state_machine.c:262 sofia/internal/<a href="mailto:160@178.79.177.164">160@178.79.177.164</a> has executed the last dialplan instruction, hanging up.<br>
2013-06-21 11:51:58.849958 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/<a href="mailto:160@178.79.177.164">160@178.79.177.164</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
2013-06-21 11:51:58.849958 [NOTICE] switch_core_session.c:1566 Session 207 (sofia/internal/<a href="mailto:160@178.79.177.164">160@178.79.177.164</a>) Ended<br>
2013-06-21 11:51:58.849958 [NOTICE] switch_core_session.c:1570 Close Channel sofia/internal/<a href="mailto:160@178.79.177.164">160@178.79.177.164</a> [CS_DESTROY]<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div>