Hi Michael,<div><br></div><div>This error has been resolved. Error is in my configuration file and rule route in my sip proxy.</div><div><br></div><div>Thanks.<br><br><div class="gmail_quote">2012/9/4 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&quot;It doesn&#39;t work&quot; is a big vague. Could you be more specific?<span class="HOEnZb"><font color="#888888"><br>
-MC</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Mon, Sep 3, 2012 at 6:49 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 Avi,<div><br></div><div>My javascript work normal (I tested it in a xml dialplan). I still try with 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;) but It doesn&#39;t work.</div>


<div><br></div><div>Brs,</div><div>Khue Nguyen.<br><br><div class="gmail_quote">2012/8/31 Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</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">The wiki tells you alternative syntaxes:<div><a href="http://wiki.freeswitch.org/wiki/Mod_commands#originate" target="_blank">http://wiki.freeswitch.org/wiki/Mod_commands#originate</a></div><div><br></div>

<div>
e.g. <span style="background-color:rgb(249,249,249);line-height:1.1em">originate sofia/example/<a href="mailto:1000@somewhere.com" target="_blank">1000@somewhere.com</a> &amp;javascript(test.js)</span></div>

<div><br></div><div>... but if the quotes doesn&#39;t work, the next wiki entry is wrong...</div><div><span><font color="#888888"><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>


</font></span><div><div><div style="background-image:none;width:96%;border-top-color:rgb(255,204,0);border-right-color:rgb(255,204,0);border-bottom-color:rgb(255,204,0);border-left-color:rgb(255,204,0);border-top-width:5px;border-right-width:5px;border-bottom-width:5px;border-left-width:5px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;background-color:rgb(255,248,224);padding-top:8px;padding-bottom:8px;padding-left:9px;padding-right:9px">


<span style="font-size:11px;font-family:verdana;font-weight:bold;float:none">McAfee SiteAdvisor Warning<br>This e-mail message contains potentially unsafe links to these sites:<br><span style="font-weight:normal;font-family:verdana;font-size:11px;padding-left:15px"><a href="http://ostag.org" target="_blank">ostag.org</a> <a href="https://www.siteadvisor.com/sites/http://www.ostag.org/-?pip=false&amp;premium=true&amp;client_uid=3485470565&amp;client_ver=3.5.0.229&amp;client_type=IEPlugin&amp;suite=true&amp;aff_id=0&amp;locale=en_us&amp;ui=1&amp;os_ver=5.1.3.0" title="more info..." target="_blank"><img alt="more info..." border="0"></a></span><br>


<span style="font-weight:normal;font-family:verdana;font-size:11px;padding-left:15px"><a href="http://freeswitchsolutions.com" target="_blank">freeswitchsolutions.com</a> <a href="https://www.siteadvisor.com/sites/http://www.freeswitchsolutions.com/-?pip=false&amp;premium=true&amp;client_uid=3485470565&amp;client_ver=3.5.0.229&amp;client_type=IEPlugin&amp;suite=true&amp;aff_id=0&amp;locale=en_us&amp;ui=1&amp;os_ver=5.1.3.0" title="more info..." target="_blank"><img alt="more info..." border="0"></a></span><br>


</span></div>


<br><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 8:53 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@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">




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" target="_blank">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"><div><div>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>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
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><font color="#888888"><div>Khue Nguyen.</div>
</font></span><br></div></div>_________________________________________________________________________<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" 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" target="_blank">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><span><font color="#888888"><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>
</font></span><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" 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" target="_blank">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></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" 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" target="_blank">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>
<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" 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" target="_blank">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>
</div></div><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></div>