[Freeswitch-users] Does chatplan support javascript?

Anthony Minessale anthony.minessale at gmail.com
Tue Aug 14 20:10:28 MSD 2012


that did not exist,

I just added it but if you find another obstacle after that you're on your own.


On Tue, Aug 14, 2012 at 5:34 AM, Pip Live <itispip-qq at hotmail.com> wrote:
> Hi, new Javascript interface in chatplan works well; But strangely I cannot
> call js function "email", every attempt ended up "Reference error, email is
> not defined". Call to other js fucntions no problem.
>
> Is this function missed in src?
>
> Pip
>
> 2012/8/11 Anthony Minessale <anthony.minessale at gmail.com>
>>
>> its entirely possible but does not yet exist.
>> I pushed a patch that may enable it, but i did not have a way to test
>> it atm.  So you will have to try it for me and see what happens.
>>
>> try git HEAD
>>
>>
>>
>> On Fri, Aug 10, 2012 at 5:35 AM, 王理 <itispip-qq at hotmail.com> wrote:
>> > Hi FS Gurus,
>> >
>> > I'm new to freeswitch. Trying to use javascript in chatplan, but get
>> > error
>> > code c:716 Invalid chat application interface [javascript]!
>> >
>> > Same fucntion call in Lua is OK. So looking chatplan not support
>> > javascript?
>> >
>> > If yes, any plan to add javascript to chatplan? Chatplan mainly dealing
>> > with
>> > text manipulation, Lua is a bit weak at string handling.
>> >
>> > /rgds, Pip
>> >
>> >
>> > _________________________________________________________________________
>> > 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
>> >
>> > Join Us At ClueCon - Aug 7-9, 2012
>> >
>> > 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
>> >
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> 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
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



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