It might be the location of your single quotes. Try something a little different, like this:<br><br><i><b>originate sofia/external/<a href="mailto:1000@somewhere.com" target="_blank">1000@somewhere.com</a> &amp;javascript(&#39;hello.js /opt/freeswitch/sounds/2.mp3&#39;)</b></i><br>
<br>If that doesn&#39;t work then keep tinkering. If you still need more help then I recommend putting your console output into <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> and linking back here in this thread. Be sure to use &quot;FreeSWITCH Log&quot; as the syntax highlighting.<br>
<br>-MC<br><br><div class="gmail_quote">On Thu, Aug 30, 2012 at 9:02 PM, Khue Nguyen Minh <span dir="ltr">&lt;<a href="mailto:khuenm@vega.com.vn" target="_blank">khuenm@vega.com.vn</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<div><br></div><div>I want make outbound call to a user with command:</div><div><br></div><div><i><b>originate sofia/external/<a href="mailto:1000@somewhere.com" target="_blank">1000@somewhere.com</a> &#39;&amp;javascript(hello.js /opt/freeswitch/sounds/2.mp3)&#39;</b></i></div>

<div><br></div><div>my javascript will play file /opt/freeswitch/sounds/2.mp3.</div><div><br></div><div>The call make successful but hangup immediately. I see log in fs_cli and see this line &quot;No Dialplan on answer channel&quot;. How I can fix this problem?</div>

<div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Khue Nguyen.</div>
</font></span><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>