[Freeswitch-users] No Dialplan on answer channel
Avi Marcus
avi at avimarcus.net
Fri Aug 31 11:25:01 MSD 2012
The wiki tells you alternative syntaxes:
http://wiki.freeswitch.org/wiki/Mod_commands#originate
e.g. originate sofia/example/1000 at somewhere.com &javascript(test.js)
... but if the quotes doesn't work, the next wiki entry is wrong...
-Avi
On Fri, Aug 31, 2012 at 8:53 AM, Michael Collins <msc at freeswitch.org> wrote:
> 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
>
>
>
> _________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120831/d890ec7d/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list