Dale Worley wrote: > On Fri, 2009-08-07 at 11:38 -0400, M. Ranganathan wrote: >> I would like to get some pointers on how I can access the In Memory >> Database that holds the SIP passwords of user accounts. I need to >> access the SIP passwords for the third party call controller. > > If you're using Java, I would say "Don't". (http://tinyurl.com/l7aftb) > Since the credentials table is generated by sipXconfig, you can pull the > data out of the Postgres database using the same code that sipXconfig > does. >
I cannot stop anyone from reading SIPXCONFIG DB but I do not think this is a good idea. First of all "generating" credentials data is not the same as reading it from the DB. The other things is sipXconfig reserves the rights to change the database schema so you'd have to track the changes and adapt. And the third thing is that sipXconfig DB is only available locally (you can change it but if you do you have to start worry about securing it appropriately). If reading IMDB from Java is really such a hassle sipXconfig can produce credential data in other formats. D. _______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX -- http://www.sipfoundry.org/
