[Freeswitch-users] does verto.conf support odbc-dsn?
Gregor Nanger
gregor at infomedia.si
Thu Jan 18 09:39:25 UTC 2018
Hi,
I am using core-db-dsn for FS to use external db. But if I want also json
to use external DB, I need also to set json_db_handle? Or is there setting
to tell FS for everything use external db.
2018-01-18 9:47 GMT+01:00 Alexandr Popov <alexandr.popov at iqoption.com>:
> bob. chen, i mean i set this variable and on reload verto it created
> json_store table and i able to save my data with add and commit api
> comands. but not verto data -- when i try to commit or dump with uuid key
> by api it save only {}. so question was how to store verto data with this
> way?
>
> 2018-01-18 6:50 GMT+02:00 bob. chen <thetsinling at outlook.com>:
>
>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Databases
>>
>>
>>
>> *From:* FreeSWITCH-users [mailto:freeswitch-users-bounc
>> es at lists.freeswitch.org] *On Behalf Of *Alexandr Popov
>> *Sent:* Wednesday, January 17, 2018 9:37 PM
>>
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] does verto.conf support odbc-dsn?
>>
>>
>>
>> bob. chen, how do you use it?
>>
>>
>>
>> 2018-01-17 8:22 GMT+02:00 bob. chen <thetsinling at outlook.com>:
>>
>> Yes, set json_db_handle in vars.xml ,json_store created in my db success
>>
>> <X-PRE-PROCESS cmd="set" data="json_db_handle=mydsn::"/>
>>
>> Thk .
>>
>> *From:* FreeSWITCH-users [mailto:freeswitch-users-bounc
>> es at lists.freeswitch.org] *On Behalf Of *Michael Jerris
>> *Sent:* Wednesday, January 17, 2018 4:31 AM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] does verto.conf support odbc-dsn?
>>
>>
>>
>> oh yeah.. json store stuff.. you can set the global var json_db_handle
>>
>>
>>
>>
>>
>> On Jan 16, 2018, at 1:02 AM, bob. chen <thetsinling at outlook.com> wrote:
>>
>>
>>
>> Freeswitch mod_verto create sqlite db file named json.db that store in
>> ./freeswitch/db directory
>>
>> *From:* FreeSWITCH-users [mailto:freeswitch-users-bounc
>> es at lists.freeswitch.org <freeswitch-users-bounces at lists.freeswitch.org>] *On
>> Behalf Of *Michael Jerris
>> *Sent:* Monday, January 15, 2018 11:54 PM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] does verto.conf support odbc-dsn?
>>
>>
>>
>> verto does not use any database at all.
>>
>>
>>
>> On Jan 15, 2018, at 6:43 AM, bob. chen <thetsinling at outlook.com> wrote:
>>
>>
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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://confluence.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://confluence.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
>
--
Gregor Nanger
*CTO*
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180118/5ab3457a/attachment.html>
More information about the FreeSWITCH-users
mailing list