[Freeswitch-users] No Dialplan on answer channel

Michael Collins msc at freeswitch.org
Fri Aug 31 09:53:27 MSD 2012


It might be the location of your single quotes. Try something a little
different, like this:

*originate sofia/external/1000 at somewhere.com &javascript('hello.js
/opt/freeswitch/sounds/2.mp3')*

If that doesn't work then keep tinkering. If you still need more help then
I recommend putting your console output into pastebin.freeswitch.org and
linking back here in this thread. Be sure to use "FreeSWITCH Log" as the
syntax highlighting.

-MC

On Thu, Aug 30, 2012 at 9:02 PM, Khue Nguyen Minh <khuenm at vega.com.vn>wrote:

> Hi all,
>
> I want make outbound call to a user with command:
>
> *originate sofia/external/1000 at somewhere.com '&javascript(hello.js
> /opt/freeswitch/sounds/2.mp3)'*
>
> my javascript will play file /opt/freeswitch/sounds/2.mp3.
>
> The call make successful but hangup immediately. I see log in fs_cli and
> see this line "No Dialplan on answer channel". How I can fix this problem?
>
> Thanks
> Khue Nguyen.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120830/cdfa6852/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list