Connect PHP SOAP Web Server with SQLite database of FS
Now I am building a PHP SOAP Web Service to access the database of FS. Anyone has idea about how to access sqlite database of FS through PHP ? I have read about socket event in FS, but I don't know whether it can response with the query of database or not. Thanks for your help. -- View this message in context: http://www.nabble.com/Connect-PHP-SOAP-Web-Server-with-SQLite-database-of-FS... Sent from the Freeswitch-users mailing list archive at Nabble.com.
If you really wanted: http://php.net/manual/en/book.sqlite.php But I would recommend you make use of ODBC to use a client/server RDBMS. Here's some good reading: http://www.sqlite.org/cvstrac/wiki?p=WhenToUseSqlite On October 20, 2009 10:53:01 am homqua wrote:
Now I am building a PHP SOAP Web Service to access the database of FS. Anyone has idea about how to access sqlite database of FS through PHP ? I have read about socket event in FS, but I don't know whether it can response with the query of database or not. Thanks for your help.
If you really want to access this information outside I would strongly recommend using odbc instead of the internal sqlite db, it does not handle locking contention well. If you need access to things in the core db (like show calls and show channels information) you will need to write a small daemon that listens on events socket and puts that information into a database. Mike On Oct 20, 2009, at 2:23 PM, Chris Burns wrote:
If you really wanted: http://php.net/manual/en/book.sqlite.php
But I would recommend you make use of ODBC to use a client/server RDBMS. Here's some good reading: http://www.sqlite.org/cvstrac/wiki?p=WhenToUseSqlite
On October 20, 2009 10:53:01 am homqua wrote:
Now I am building a PHP SOAP Web Service to access the database of FS. Anyone has idea about how to access sqlite database of FS through PHP ? I have read about socket event in FS, but I don't know whether it can response with the query of database or not. Thanks for your help.
participants (3)
-
Chris Burns
-
homqua
-
Michael Jerris