json_db_handle just for mod_verto,you can
I’m using postgresql replace default sqlite. not familiar with mod_verto ,more verto detail pls explorer mod_verto.c
From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org]
On Behalf Of Gregor Nanger
Sent: Thursday, January 18, 2018 5:39 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] does verto.conf support odbc-dsn?
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@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@outlook.com>:
https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Databases
From: FreeSWITCH-users
[mailto:freeswitch-users-bounces@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@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::"/>
From: FreeSWITCH-users
[mailto:freeswitch-users-bounces@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@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-bounces@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@outlook.com> wrote:
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@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@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@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@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@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 |