Seshu-Babu Kollipara wrote:
Seshu-Babu Kollipara wrote:
Please see
http://sipx-wiki.calivia.com/index.php/SipX_ConfigServer_How_to_change
Followed the steps but still not seeing the table getting added (attached list of tables).

Damian,

Actually the table was getting created in SIPXCONFIG_TEST dB but I was
looking in SIPXCONFIG dB.
SIPXCONFIG_TEST database is used only for tests by sipXconfig.
What needs to be done for creating the same table in SIPXCONFIG dB?
Currently I know of these 2 procedures:

1. >rm -rf /var/lib/pgsql/data
   >su - postgres -c "initdb /var/lib/pgsql/data"
   >./INSTALL/bin/sipxconfig.sh --setup

2. Running step-4 from Express Development Environment Setup


In both the cases we lose the old configuration data. Is there a better
way to do it?
All you need to do is to follow instructions from "How to add a database patch for a new feature" section in database.xml file. If you don't want to lose old data from DB, I think is a good option to run SQL commands directly. You can also make a database dump to save your data. But if you want to thoroughly test the database patch you must use first procedure and restart sipX (and yes. you will lose all data from database) - and make sure that database.xml from INSTALL/etc/sipxpbx/database/database.xml contains your changes.
Laurentiu



_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to