Documentation |
Documentation.Install-DBDeployment-3-5 HistoryHide minor edits - Show changes to markup November 22, 2023, at 04:57 PM
by
- Changed line 24 from:
to:
Changed line 29 from:
You can find more information about the OpenSIPS CLI too configuration here. to:
You can find more information about the OpenSIPS CLI tool configuration here. June 14, 2019, at 03:57 PM
by
- Changed lines 19-20 from:
You can deploy the opensips database using the opensips-cli tool. Before you do that, you should install it. to:
You can deploy the opensips database using the opensips-cli tool. Before you do that, you should install it. Changed line 46 from:
You can also create a different database, for example to:
You can also specify a different name for the database, for example June 13, 2019, at 01:38 PM
by
- Changed lines 19-39 from:
Configuring DB CredentialsGo to the [Install_Path]/etc/opensips/ folder and open the opensipsctlrc file There take care of the following lines :
to:
You can deploy the opensips database using the opensips-cli tool. Before you do that, you should install it. Configuring OpenSIPS CLIOpen your OpenSIPS CLI configuration file and specify the following parameters:
You can find more information about the OpenSIPS CLI too configuration here. Note: OpenSIPS CLI searches for its configuration files in Changed line 36 from:
In order to create the DBNAME database that you have provisioned above, run to:
In order to create the Changed line 38 from:
[Install_Path]/sbin/opensipsdbctl create to:
opensips-cli -x database create Changed lines 41-43 from:
When prompted by the opensipsdbctl tool, please enter your DBROOTUSER password. If you want to create a different database other than the default DBNAME, you can call to:
Later, if you decide to add a new module, for example presence, simply call: Changed line 43 from:
[Install_Path]/sbin/opensipsdbctl create my_custom_db_name to:
opensips-cli -x database add presence Changed line 46 from:
The opensipsdbctl tool can also be used for things like taking backups, doing restores, and more. If you want to see the capabilities and help manual for the opensipsdbctl tool, you can run it with no parameters : to:
You can also create a different database, for example Changed line 48 from:
[Install_Path]/sbin/opensipsdbctl to:
opensips-cli -x database create opensips_test July 22, 2014, at 02:32 AM
by
- Added lines 29-30:
March 20, 2014, at 08:04 PM
by
- Added lines 1-55:
Documentation -> Manuals -> Manual 3.5 -> Database Deployment(:title Database Deployment - 3.5:) (:allVersions Install-DBDeployment 3.5:)
After installing your OpenSIPS, most likely you will need to also deploy a database that you could use for various reasons ( DB user authentication, persistent registrations, dialogs, etc ). (:toc-float Table of Content:) Configuring DB CredentialsGo to the [Install_Path]/etc/opensips/ folder and open the opensipsctlrc file There take care of the following lines :
Creating the DatabaseIn order to create the DBNAME database that you have provisioned above, run [Install_Path]/sbin/opensipsdbctl create When prompted by the opensipsdbctl tool, please enter your DBROOTUSER password. If you want to create a different database other than the default DBNAME, you can call [Install_Path]/sbin/opensipsdbctl create my_custom_db_name The opensipsdbctl tool can also be used for things like taking backups, doing restores, and more. If you want to see the capabilities and help manual for the opensipsdbctl tool, you can run it with no parameters : [Install_Path]/sbin/opensipsdbctl |