[Freeswitch-users] No Dialplan on answer channel

Michael Collins msc at freeswitch.org
Tue Sep 4 20:46:47 MSD 2012


"It doesn't work" is a big vague. Could you be more specific?
-MC

On Mon, Sep 3, 2012 at 6:49 PM, Khue Nguyen Minh <khuenm at vega.com.vn> wrote:

> Hi Avi,
>
> My javascript work normal (I tested it in a xml dialplan). I still try
> with originate sofia/external/1000 at somewhere.com &javascript('hello.js
> /opt/freeswitch/sounds/2.mp3') but It doesn't work.
>
> Brs,
> Khue Nguyen.
>
> 2012/8/31 Avi Marcus <avi at avimarcus.net>
>
>> 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
>>  McAfee SiteAdvisor Warning
>> This e-mail message contains potentially unsafe links to these sites:
>> ostag.org [image: more info...]<https://www.siteadvisor.com/sites/http://www.ostag.org/-?pip=false&premium=true&client_uid=3485470565&client_ver=3.5.0.229&client_type=IEPlugin&suite=true&aff_id=0&locale=en_us&ui=1&os_ver=5.1.3.0>
>> freeswitchsolutions.com [image: more info...]<https://www.siteadvisor.com/sites/http://www.freeswitchsolutions.com/-?pip=false&premium=true&client_uid=3485470565&client_ver=3.5.0.229&client_type=IEPlugin&suite=true&aff_id=0&locale=en_us&ui=1&os_ver=5.1.3.0>
>>
>>
>> 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
>>>
>>>
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
> _________________________________________________________________________
> 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/20120904/c2f42b80/attachment-0001.html 


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