Thanks everybody for your assistance, SOAP is something new to me.. I will give it a try...
dim On Mon, 2009-04-20 at 09:48 -0400, Scott Lawrence wrote: > On Mon, 2009-04-20 at 09:22 -0400, Damian Krzeminski wrote: > > dimitris wrote: > > > I have created a web interface entirely in php for my running sipx > > > (3.11.11 installed from the ISO image). This interface is responsible to > > > update the postgres database of sipxconfig( the table named 'users' and > > > the relative ones) when a user wants to make a change(password,name > > > etc). My script works with no errors and the database is updated > > > perfectly, but the data are not usable , until i manually visit the GUI > > > of sipxconfig with superadmin privillages and press the "apply" button > > > to the respective user. > > > I am saying that the changed data are showing in the ui of user details > > > in sipxconfig, but there are not usable unless i do it manually. > > > > > > Is this normal ? > > > > > > > Yes - very much normal. > > > > sipXconfig is a bit more than an interface to a DB back-end. It does quite > > a lot of things when users are added. As Tony said you really should be > > using SOAP interface if you wrote you own UI. After 4.0 I am hoping we can > > offer RESTful interface which is going to be much easier to use for > > everyone who wants to run their own UI from scratch. > > > > There are probably ways to make sipXconfig notice an independently modified > > database: but they all involve SOAP in some ways or restarting (with > > --first-run flag) which is probably a bit too wasteful. > > Restating that in another way - direct access to the SIPXCONFIG database > is not something that is considered a 'public api'. The sipXconfig > developers may (and do) change the database schema and usage as the > needs of the application change. They work hard to maintain > compatibility for the SOAP (and soon RESTful) interfaces, so that's what > you should use. > > > _______________________________________________ > sipx-users mailing list > sipx-users@list.sipfoundry.org > List Archive: http://list.sipfoundry.org/archive/sipx-users > Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users _______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users