<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><extension name=no_name></span><div><br></div><div>That is not valid XML, you're missing the quotes. Not sure if that's the issue though, but it might be upsetting the parser.</div>
<div><br></div><div>-Steve</div><div><br></div><div><br style="background-color:rgb(255,255,255)"><br><div class="gmail_quote">On 21 June 2013 12:54, Ivan C Myrvold <span dir="ltr"><<a href="mailto:ivan@myrvold.org" target="_blank">ivan@myrvold.org</a>></span> wrote:<br>
<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>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<document type="freeswitch/xml"><br>
<section name="dialplan"><br>
<context name="default"><br>
<extension name=no_name><br>
<condition><br>
<action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/misc/8000/phone_not_auth.wav"/><br>
</condition><br>
</extension><br>
</context><br>
</section><br>
</document><br>
<br>
Here is the log from FreeSWITCH. I don'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 <160>->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><br></div>