Browse code

- renaming scripts (now really finished)

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4574 689a6050-402a-0410-94f2-e92a70836424

Klaus Darilion authored on 05/08/2008 16:14:56
Showing 21 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 #
3 3
 # $Id$
4 4
 #
5
-# openser control tool for maintaining openser
5
+# control tool for maintaining Kamailio
6 6
 #
7 7
 #===================================================================
8 8
 
... ...
@@ -13,11 +13,11 @@ PATH=$PATH:/usr/local/sbin/
13 13
 TEST="false"
14 14
 
15 15
 ### include config files
16
-if [ -f /etc/openser/kamctlrc ]; then
17
-	. /etc/openser/kamctlrc
16
+if [ -f /etc/kamailio/kamctlrc ]; then
17
+	. /etc/kamailio/kamctlrc
18 18
 fi
19
-if [ -f /usr/local/etc/openser/kamctlrc ]; then
20
-	. /usr/local/etc/openser/kamctlrc
19
+if [ -f /usr/local/etc/kamailio/kamctlrc ]; then
20
+	. /usr/local/etc/kamailio/kamctlrc
21 21
 fi
22 22
 if [ -f ~/.kamctlrc ]; then
23 23
 	. ~/.kamctlrc
... ...
@@ -33,7 +33,7 @@ fi
33 33
 ### force values for variables in this section
34 34
 # you better set the variables in ~/.kamctlrc
35 35
 if [ -z "$ETCDIR" ] ; then
36
-	ETCDIR="/usr/local/etc/openser"
36
+	ETCDIR="/usr/local/etc/kamailio"
37 37
 fi
38 38
 
39 39
 ### version for this script
... ...
@@ -44,7 +44,7 @@ if [ -z "$MYDIR" ] ; then
44 44
 fi
45 45
 
46 46
 if [ -z "$MYLIBDIR" ] ; then
47
-	MYLIBDIR="/usr/local/lib/openser/kamctl"
47
+	MYLIBDIR="/usr/local/lib/kamailio/kamctl"
48 48
 	if [ ! -d "$MYLIBDIR" ]; then
49 49
 		MYLIBDIR=$MYDIR
50 50
 	fi
... ...
@@ -347,14 +347,14 @@ check_ul_alias() {
347 347
 	RET="$?"
348 348
 	ALIAS_UL_EXISTS=0
349 349
 	if [ $RET -ne 0 ] ; then
350
-		merr "OpenSER $CTLENGINE not accessible: $RET"
350
+		merr "Kamailio $CTLENGINE not accessible: $RET"
351 351
 		exit 1
352 352
 	fi
353 353
 	echo "$RES" | $EGREP "^404" > /dev/null
354 354
 	if [ $? -ne 0 ] ; then
355 355
 		echo "$RES" | $EGREP "^400" > /dev/null
356 356
 		if [ $? -eq 0 ] ; then
357
-			merr "400; check if you use aliases in OpenSER"
357
+			merr "400; check if you use aliases in Kamailio"
358 358
 			exit 1
359 359
 		fi
360 360
 		echo "$RES" | $EGREP "^200" > /dev/null
... ...
@@ -1447,18 +1447,18 @@ dispatcher() {
1447 1447
 #
1448 1448
 openser_start() {
1449 1449
 	echo
1450
-	minfo "Starting OpenSER : "
1450
+	minfo "Starting Kamailio : "
1451 1451
 	if [ -r $PID_FILE ] ; then
1452
-		ps axw | $EGREP openser
1452
+		ps axw | $EGREP kamailio
1453 1453
 		ls -l $PID_FILE
1454
-		minfo "PID file exists ($PID_FILE)! OpenSER already running?"
1454
+		minfo "PID file exists ($PID_FILE)! Kamailio already running?"
1455 1455
 		exit 1
1456 1456
 	fi
1457 1457
 	
1458 1458
 	if [ ! -x "$OSERBIN" ] ; then
1459 1459
 		echo
1460
-		merr "OpenSER binaries not found at $OSERBIN"
1461
-		merr "set OSERBIN to the path of openser in $0 or ~/.kamctlrc"
1460
+		merr "Kamailio binaries not found at $OSERBIN"
1461
+		merr "set OSERBIN to the path of kamailio in $0 or ~/.kamctlrc"
1462 1462
 		exit 1
1463 1463
 	fi
1464 1464
 	if [ $SYSLOG = 1 ] ; then
... ...
@@ -1469,7 +1469,7 @@ openser_start() {
1469 1469
 	sleep 3
1470 1470
 	if [ ! -s $PID_FILE ] ; then
1471 1471
 		echo
1472
-		merr "PID file $PID_FILE does not exist -- OpenSER start failed"
1472
+		merr "PID file $PID_FILE does not exist -- Kamailio start failed"
1473 1473
 		exit 1
1474 1474
 	fi
1475 1475
 	minfo "started (pid: `cat $PID_FILE`)"
... ...
@@ -1481,14 +1481,14 @@ openser_start() {
1481 1481
 #
1482 1482
 openser_stop() {
1483 1483
 	echo
1484
-	minfo "Stopping OpenSER : "
1484
+	minfo "Stopping Kamailio : "
1485 1485
 	if [ -r $PID_FILE ] ; then
1486 1486
 		kill `cat $PID_FILE`
1487 1487
 		minfo "stopped"
1488 1488
 	else
1489 1489
 		echo
1490
-		merr "No PID file found ($PID_FILE)! OpenSER probably not running"
1491
-		minfo "check with 'ps axw | $EGREP openser'"
1490
+		merr "No PID file found ($PID_FILE)! Kamailio probably not running"
1491
+		minfo "check with 'ps axw | $EGREP kamailio'"
1492 1492
 		exit 1
1493 1493
 	fi
1494 1494
 }
... ...
@@ -1,10 +1,10 @@
1 1
 .\" $Id$
2
-.TH kamctl 8 21.06.2006 openser "OpenSER" 
2
+.TH kamctl 8 21.06.2006 Kamailio "Kamailio" 
3 3
 .\" Process with
4 4
 .\" groff -man -Tascii kamctl.8 
5 5
 .\"
6 6
 .SH NAME
7
-kamctl \- openser control tool
7
+kamctl \- Kamailio control tool
8 8
 .SH SYNOPSIS
9 9
 .B kamctl
10 10
 .BI command
... ...
@@ -15,14 +15,14 @@ kamctl \- openser control tool
15 15
 .SH DESCRIPTION
16 16
 .B kamctl
17 17
 is a shell script to control
18
-.B OpenSER SIP server
18
+.B Kamailio SIP server
19 19
 It can be used to manage users, domains, aliases and other server options
20 20
 
21 21
 .SH FILES
22 22
 .PD 0
23
-.I /etc/openser/.kamctlrc
23
+.I /etc/kamailio/.kamctlrc
24 24
 .br
25
-.I /usr/local/etc/openser/.kamctlrc
25
+.I /usr/local/etc/kamailio/.kamctlrc
26 26
 .br
27 27
 .I ~/.kamctlrc
28 28
 .br
... ...
@@ -210,17 +210,17 @@ lcr addroute +1 '' 1 1
210 210
 .SH AUTHORS
211 211
 
212 212
 see 
213
-.B /usr/share/doc/openser/AUTHORS
213
+.B /usr/share/doc/kamailio/AUTHORS
214 214
 
215 215
 .SH SEE ALSO
216
-.BR openser(8), openser.cfg(5)
216
+.BR kamailio(8), kamailio.cfg(5)
217 217
 .PP
218
-Full documentation on openser is available at
219
-.I http://www.openser.org/.
218
+Full documentation on Kamailio is available at
219
+.I http://www.kamailio.org/.
220 220
 .PP
221 221
 Mailing lists:
222 222
 .nf 
223
-users@openser.org - openser user community
223
+users@lists.kamailio.org - Kamailio user community
224 224
 .nf 
225
-devel@openser.org - openser development, new features and unstable version
225
+devel@lists.kamailio.org - Kamailio development, new features and unstable version
226 226
 
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# sc: openser control; tool for maintaining openser
4
+# control tool for maintaining Kamailio
5 5
 #
6 6
 #===================================================================
7 7
 
... ...
@@ -82,9 +82,9 @@ if [ -z "$EXPR" ] ; then
82 82
 fi
83 83
 
84 84
 ##### ------------------------------------------------ #####
85
-### configuration for starting/stopping openser
85
+### configuration for starting/stopping kamailio
86 86
 if [ -z "$PID_FILE" ] ; then
87
-	PID_FILE=/var/run/openser.pid
87
+	PID_FILE=/var/run/kamailio.pid
88 88
 fi
89 89
 if [ -z "$SYSLOG" ] ; then
90 90
 	SYSLOG=1 # 0=output to console, 1=output to syslog
... ...
@@ -96,7 +96,7 @@ if [ -z "$DIR" ] ; then
96 96
 	DIR=`dirname $0`
97 97
 fi
98 98
 if [ -z "$OSERBIN" ] ; then
99
-	OSERBIN=$DIR/openser
99
+	OSERBIN=$DIR/kamailio
100 100
 fi
101 101
 
102 102
 ##### ------------------------------------------------ #####
... ...
@@ -302,9 +302,9 @@ usage_base() {
302 302
 	mecho " -- command 'start|stop|restart'"
303 303
 	echo
304 304
 cat <<EOF
305
- restart ............................ restart OpenSER
306
- start .............................. start OpenSER
307
- stop ............................... stop OpenSER
305
+ restart ............................ restart Kamailio
306
+ start .............................. start Kamailio
307
+ stop ............................... stop Kamailio
308 308
 EOF
309 309
 }
310 310
 
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# sc: openser control; tool for maintaining openser
4
+# control tool for maintaining Kamailio
5 5
 #
6 6
 #===================================================================
7 7
 
... ...
@@ -1,6 +1,6 @@
1 1
 # $Id$
2 2
 #
3
-# openser control; tool for maintaining openser's databases
3
+# control tool for maintaining Kamailio
4 4
 #
5 5
 # History:
6 6
 # --------
... ...
@@ -10,7 +10,7 @@
10 10
 
11 11
 # path to the db_berkeley directory
12 12
 if [ -z "$DB_PATH" ] ; then
13
-	DB_PATH="/usr/local/share/openser/db_berkeley/openser"
13
+	DB_PATH="/usr/local/share/kamailio/db_berkeley/kamailio"
14 14
 fi
15 15
 
16 16
 #===================================================================
... ...
@@ -1,6 +1,6 @@
1 1
 # $Id$
2 2
 #
3
-# openser control: tool for maintaining openser's databases
3
+# control tool for maintaining Kamailio
4 4
 #
5 5
 #===================================================================
6 6
 
... ...
@@ -20,7 +20,7 @@ fi;
20 20
 
21 21
 # path to the dbtext database
22 22
 if [ -z "$DBTEXT_PATH" ] ; then
23
-	DBTEXT_PATH="/usr/local/share/openser/dbtext/openser"
23
+	DBTEXT_PATH="/usr/local/share/kamailio/dbtext/openser"
24 24
 fi
25 25
 
26 26
 export DBTEXT_PATH
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# openser control tool for maintaining openser
4
+# control tool for maintaining Kamailio
5 5
 #
6 6
 #===================================================================
7 7
 
... ...
@@ -24,7 +24,7 @@ fi
24 24
 ### parameters
25 25
 #
26 26
 if [ -z "$OSER_FIFO" ]; then
27
-	OSER_FIFO=/tmp/openser_fifo
27
+	OSER_FIFO=/tmp/kamailio_fifo
28 28
 fi
29 29
 
30 30
 #
... ...
@@ -53,7 +53,7 @@ fifo_cmd()
53 53
 	name=openser_receiver_$$
54 54
 	path=$CHROOT_DIR/tmp/$name
55 55
 	if [ ! -w $OSER_FIFO ]; then
56
-		merr "Error opening OpenSER's FIFO $OSER_FIFO"
56
+		merr "Error opening Kamailio's FIFO $OSER_FIFO"
57 57
 		merr "Make sure you have the line 'modparam(\"mi_fifo\", \"fifo_name\", \"$OSER_FIFO\")' in your config"
58 58
 		merr "and also have loaded the mi_fifo module."
59 59
 		if [ ! -z $CHROOT_DIR ]; then
... ...
@@ -102,7 +102,7 @@ fifo_openser_monitor() {
102 102
 	name=openser_receiver_$$
103 103
 	path=$CHROOT_DIR/tmp/$name
104 104
 	if [ ! -w $OSER_FIFO ]; then
105
-		merr "Error opening OpenSER's FIFO $OSER_FIFO"
105
+		merr "Error opening Kamailio's FIFO $OSER_FIFO"
106 106
 		merr "Make sure you have the line 'modparam(\"mi_fifo\", \"fifo_name\", \"$OSER_FIFO\")' in your config"
107 107
 		merr "and also have loaded the mi_fifo module."
108 108
 		exit 1
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# openser control tool for maintaining openser
4
+# control tool for maintaining Kamailio
5 5
 #
6 6
 #===================================================================
7 7
 
... ...
@@ -2,7 +2,7 @@
2 2
 #
3 3
 # $Id$
4 4
 #
5
-# sc: openser control; tool for maintaining openser
5
+# control tool for maintaining Kamailio
6 6
 #
7 7
 #===================================================================
8 8
 
... ...
@@ -44,7 +44,7 @@ if [ -z "$SQLPLUS" ] ; then
44 44
 fi
45 45
 
46 46
 if [ -z "$OPENSER_ORASEL" ] ; then
47
-	locate_tool openser_orasel
47
+	locate_tool kamailio_orasel
48 48
 	if [ -n "$TOOLPATH" ] ; then
49 49
 		OPENSER_ORASEL="$TOOLPATH"
50 50
 		export OPENSER_ORASEL
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# sc: openser control; tool for maintaining openser
4
+# control tool for maintaining Kamailio
5 5
 #
6 6
 #===================================================================
7 7
 
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# sc: openser control; tool for maintaining openser
4
+# control tool for maintaining Kamailio
5 5
 #
6 6
 #===================================================================
7 7
 
... ...
@@ -1,7 +1,7 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# sc: openser control; tool for maintaining openser
4
+# control tool for maintaining Kamailio
5 5
 #
6 6
 #===================================================================
7 7
 
... ...
@@ -25,7 +25,7 @@ fi
25 25
 #
26 26
 export CHROOT_DIR # needed for kamunix
27 27
 if [ -z "$OSER_UNIXSOCK" ]; then
28
-	OSER_UNIXSOCK=$CHROOT_DIR/tmp/openser.sock
28
+	OSER_UNIXSOCK=$CHROOT_DIR/tmp/kamailio.sock
29 29
 fi
30 30
 
31 31
 if [ -z "$OSERUNIX" ]; then
... ...
@@ -1,13 +1,13 @@
1 1
 # $Id$
2 2
 #
3
-# The OpenSER configuration file for the control tools.
3
+# The Kamailio configuration file for the control tools.
4 4
 #
5 5
 # Here you can set variables used in the kamctl and kamdbctl setup
6 6
 # scripts. Per default all variables here are commented out, the control tools
7 7
 # will use their internal default values.
8 8
 
9 9
 ## your SIP domain
10
-# SIP_DOMAIN=openser.org
10
+# SIP_DOMAIN=kamailio.org
11 11
 
12 12
 ## chrooted directory
13 13
 # $CHROOT_DIR="/path/to/chrooted/directory"
... ...
@@ -24,7 +24,7 @@
24 24
 # DBNAME=openser
25 25
 
26 26
 # database path used by dbtext or db_berkeley
27
-# DB_PATH="/usr/local/etc/openser/dbtext"
27
+# DB_PATH="/usr/local/etc/kamailio/dbtext"
28 28
 
29 29
 ## database read/write user
30 30
 # DBRWUSER=openser
... ...
@@ -87,12 +87,12 @@
87 87
 # must also adjust the STANDARD_TABLES or EXTRA_TABLES variable accordingly in the
88 88
 # kamdbctl.base script.
89 89
 
90
-# openser standard modules
90
+# Kamailio standard modules
91 91
 # STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo
92 92
 #                   alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher
93 93
 #                   dialplan"
94 94
 
95
-# openser extra modules
95
+# Kamailio extra modules
96 96
 # EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblacklist"
97 97
 
98 98
 
... ...
@@ -122,9 +122,9 @@
122 122
 # STORE_PLAINTEXT_PW=0
123 123
 
124 124
 ## OPENSER START Options
125
-## PID file path - default is: /var/run/openser.pid
126
-# PID_FILE=/var/run/openser.pid
125
+## PID file path - default is: /var/run/kamailio.pid
126
+# PID_FILE=/var/run/kamailio.pid
127 127
 
128 128
 ## Extra start options - default is: not set
129
-# example: start openser with 64MB share memory: STARTOPTIONS="-m 64"
129
+# example: start Kamailio with 64MB share memory: STARTOPTIONS="-m 64"
130 130
 # STARTOPTIONS=
... ...
@@ -2,7 +2,7 @@
2 2
 #
3 3
 # $Id$
4 4
 #
5
-# openser control tool for maintaining openser databases
5
+# control tool for maintaining Kamailio databases
6 6
 #
7 7
 #===================================================================
8 8
 
... ...
@@ -13,11 +13,11 @@ PATH=$PATH:/usr/local/sbin/
13 13
 TEST="false"
14 14
 
15 15
 ### include resource files, if any
16
-if [ -f /etc/openser/kamctlrc ]; then
17
-	. /etc/openser/kamctlrc
16
+if [ -f /etc/kamailio/kamctlrc ]; then
17
+	. /etc/kamailio/kamctlrc
18 18
 fi
19
-if [ -f /usr/local/etc/openser/kamctlrc ]; then
20
-	. /usr/local/etc/openser/kamctlrc
19
+if [ -f /usr/local/etc/kamailio/kamctlrc ]; then
20
+	. /usr/local/etc/kamailio/kamctlrc
21 21
 fi
22 22
 if [ -f ~/.kamctlrc ]; then
23 23
 	. ~/.kamctlrc
... ...
@@ -38,7 +38,7 @@ if [ -z "$MYDIR" ] ; then
38 38
 fi
39 39
 
40 40
 if [ -z "$MYLIBDIR" ] ; then
41
-	MYLIBDIR="/usr/local/lib/openser/kamctl"
41
+	MYLIBDIR="/usr/local/lib/kamailio/kamctl"
42 42
 	if [ ! -d "$MYLIBDIR" ]; then
43 43
 		MYLIBDIR=$MYDIR
44 44
 	fi
... ...
@@ -2,7 +2,7 @@ PATH=$PATH:/usr/local/sbin
2 2
 
3 3
 # config vars
4 4
 
5
-# name of the database to be used by OpenSER
5
+# name of the database to be used by Kamailio
6 6
 DBNAME=${DBNAME:-openser}
7 7
 
8 8
 # address of database server
... ...
@@ -1,17 +1,17 @@
1 1
 #
2 2
 # $Id$
3 3
 #
4
-# Script for maintaining OpenSER Berkeley DB tables
4
+# Script for maintaining Kamailio Berkeley DB tables
5 5
 # Copyright (C) 2007 Cisco Systems
6 6
 #
7
-# This file is part of openser, a free SIP server.
7
+# This file is part of Kamailio, a free SIP server.
8 8
 #
9
-# openser is free software; you can redistribute it and/or modify
9
+# Kamailio is free software; you can redistribute it and/or modify
10 10
 # it under the terms of the GNU General Public License as published by
11 11
 # the Free Software Foundation; either version 2 of the License, or
12 12
 # (at your option) any later version
13 13
 #
14
-# openser is distributed in the hope that it will be useful,
14
+# Kamailio is distributed in the hope that it will be useful,
15 15
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 16
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 17
 # GNU General Public License for more details.
... ...
@@ -87,23 +87,23 @@ if [ $ret -eq 0 ] ; then
87 87
 fi ;
88 88
 
89 89
 # path to the database schemas
90
-DATA_DIR="/usr/local/share/openser"
91
-if [ -d "$DATA_DIR/db_berkeley/openser" ] ; then
92
-	DB_SCHEMA="$DATA_DIR/db_berkeley/openser"
90
+DATA_DIR="/usr/local/share/kamailio"
91
+if [ -d "$DATA_DIR/db_berkeley/kamailio" ] ; then
92
+	DB_SCHEMA="$DATA_DIR/db_berkeley/kamailio"
93 93
 else
94
-	DB_SCHEMA="./db_berkeley/openser"
94
+	DB_SCHEMA="./db_berkeley/kamailio"
95 95
 fi
96 96
 
97 97
 # path to the db_berkeley database
98 98
 if [ -z "$DB_PATH" ]; then
99
-	DB_PATH="/usr/local/etc/openser/db_berkeley"
99
+	DB_PATH="/usr/local/etc/kamailio/db_berkeley"
100 100
 fi
101 101
 
102 102
 berkeley_usage() 
103 103
 {
104 104
 COMMAND=`basename $0`
105 105
 cat <<EOF
106
-Script for maintaining OpenSER Berkeley DB tables
106
+Script for maintaining Kamailio Berkeley DB tables
107 107
        $COMMAND list      (lists the underlying db files in DB_PATH)
108 108
        $COMMAND cat       <db>  (db_dump the underlying db file to STDOUT)
109 109
        $COMMAND swap      <db>  (installs db.new by db -> db.old; db.new -> db)
... ...
@@ -1,6 +1,6 @@
1 1
 # $Id$
2 2
 #
3
-# Script for adding and dropping OpenSER DBTEXT tables
3
+# Script for adding and dropping Kamailio DBTEXT tables
4 4
 #
5 5
 # History:
6 6
 # 2007-02-14  Branch from mysqldb.sh script and adapt minimal capabilities(Cesc Santasusana)
... ...
@@ -10,16 +10,16 @@
10 10
 #             control tool for database tasks, like the kamctl (henning)
11 11
 
12 12
 # path to the database schemas
13
-DATA_DIR="/usr/local/share/openser"
14
-if [ -d "$DATA_DIR/dbtext/openser" ] ; then
15
-	DB_SCHEMA="$DATA_DIR/dbtext/openser"
13
+DATA_DIR="/usr/local/share/kamailio"
14
+if [ -d "$DATA_DIR/dbtext/kamailio" ] ; then
15
+	DB_SCHEMA="$DATA_DIR/dbtext/kamailio"
16 16
 else
17
-	DB_SCHEMA="./dbtext/openser"
17
+	DB_SCHEMA="./dbtext/kamailio"
18 18
 fi
19 19
 
20 20
 # path to the dbtext database
21 21
 if [ -z "$DB_PATH" ] ; then
22
-	DB_PATH="/usr/local/etc/openser/dbtext"
22
+	DB_PATH="/usr/local/etc/kamailio/dbtext"
23 23
 fi
24 24
 
25 25
 openser_drop()  # pars: <database name>
... ...
@@ -1,6 +1,6 @@
1 1
 # $Id$
2 2
 #
3
-# Script for adding and dropping OpenSER MySQL tables
3
+# Script for adding and dropping Kamailio MySQL tables
4 4
 #
5 5
 # History:
6 6
 # 2006-04-07  removed gen_ha1 dependency - use md5sum;
... ...
@@ -17,7 +17,7 @@
17 17
 # 2007-06-11  Use a common control tool for database tasks, like the kamctl
18 18
 
19 19
 # path to the database schemas
20
-DATA_DIR="/usr/local/share/openser"
20
+DATA_DIR="/usr/local/share/kamailio"
21 21
 if [ -d "$DATA_DIR/mysql" ] ; then
22 22
 	DB_SCHEMA="$DATA_DIR/mysql"
23 23
 else
... ...
@@ -159,7 +159,7 @@ for TABLE in $STANDARD_MODULES; do
159 159
 	fi
160 160
 done
161 161
 
162
-minfo "Core OpenSER tables succesfully created."
162
+minfo "Core Kamailio tables succesfully created."
163 163
 
164 164
 if [ -e $DB_SCHEMA/extensions-create.sql ]
165 165
 then
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 # $Id$
3 3
 #
4
-# Script for adding and dropping OpenSER Oracle tables
4
+# Script for adding and dropping Kamailio Oracle tables
5 5
 #
6 6
 # History:
7 7
 
... ...
@@ -12,7 +12,7 @@ DBSYSUSER="sys"
12 12
 
13 13
 
14 14
 # path to the database schemas
15
-DATA_DIR="/usr/local/share/openser"
15
+DATA_DIR="/usr/local/share/kamailio"
16 16
 if [ -d "$DATA_DIR/oracle" ] ; then
17 17
 	DB_SCHEMA="$DATA_DIR/oracle"
18 18
 else
... ...
@@ -39,7 +39,7 @@ if [ -z "$SQLPLUS" ] ; then
39 39
 	export SQLPLUS
40 40
 fi
41 41
 if [ -z "$OPENSER_ORASEL" ] ; then
42
-	OPENSER_ORASEL=`which openser_orasel 2>/dev/null`
42
+	OPENSER_ORASEL=`which kamailio_orasel 2>/dev/null`
43 43
 	if [ -n "$SQLPLUS" ]; then
44 44
 		export OPENSER_ORASEL
45 45
 	fi
... ...
@@ -209,7 +209,7 @@ if [ -e $DB_SCHEMA/extensions-create.sql ]; then
209 209
 	fi
210 210
 fi
211 211
 
212
-minfo "Core OpenSER tables succesfully created."
212
+minfo "Core Kamailio tables succesfully created."
213 213
 
214 214
 get_answer $INSTALL_PRESENCE_TABLES "Install presence related tables? (y/n): "
215 215
 if [ "$ANSWER" = "y" ]; then
... ...
@@ -1,6 +1,6 @@
1 1
 # $Id$
2 2
 #
3
-# Script for adding and dropping OpenSER Postgres tables
3
+# Script for adding and dropping Kamailio Postgres tables
4 4
 #
5 5
 # History:
6 6
 # 2006-05-16  added ability to specify MD5 from a configuration file
... ...
@@ -29,7 +29,7 @@
29 29
 # 2007-06-11  Use a common control tool for database tasks, like the kamctl
30 30
 
31 31
 # path to the database schemas
32
-DATA_DIR="/usr/local/share/openser"
32
+DATA_DIR="/usr/local/share/kamailio"
33 33
 if [ -d "$DATA_DIR/postgres" ] ; then
34 34
 	DB_SCHEMA="$DATA_DIR/postgres"
35 35
 else
... ...
@@ -161,7 +161,7 @@ then
161 161
 	fi
162 162
 fi
163 163
 
164
-minfo "Core OpenSER tables succesfully created."
164
+minfo "Core Kamailio tables succesfully created."
165 165
 
166 166
 get_answer $INSTALL_PRESENCE_TABLES "Install presence related tables? (y/n): "
167 167
 if [ "$ANSWER" = "y" ]; then
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 # $Id$
3 3
 #
4
-# Script for common functions for Oracle engine in openser
4
+# Script for common functions for Oracle engine in Kamailio
5 5
 #
6 6
 # History:
7 7