Sure you can - mod_spidermonkey gives you javascript, if you configure spidermonkey.conf.xml to load mod_spidermonkey_odbc you'll get odbc access so you can access a mysql database. http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc http://wiki.freeswitch.org/wiki/Session_setVariable -Steve On 16 January 2011 22:45, deniro <ayhkor@gmail.com> wrote:
how about writing a javascript and reading from mysql database when a match is hit return a value and load it into $pin how can I do this type of javascripting? thx
On Sun, Jan 16, 2011 at 3:49 PM, Steven Ayre <steveayre@gmail.com> wrote:
There's several ways, you can write your own module, a script, use xml curl etc.
The simplest option is probably to use lua - you can access odbc if you install luasql. I'm sure file access is possible too.
-Steve
On 16 January 2011 19:46, deniro <ayhkor@gmail.com> wrote:
Hi Regarding providing PIN numbers to a conference how can I read PINs from a file or database and allow them to go to a meeting thx deniro--
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org