[Freeswitch-users] read conference PIN from a file or db

Steven Ayre steveayre at gmail.com
Mon Jan 17 01:58:36 MSK 2011


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 at 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 at 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 at 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 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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/20110116/1df73433/attachment.html 


More information about the FreeSWITCH-users mailing list