Browse code

user_id changed to user

Jan Janak authored on 25/01/2003 14:59:15
Showing 10 changed files
... ...
@@ -5066,7 +5066,7 @@ int n = RES_ROW_N(res);
5066 5066
 			    Type: <type>string</type>
5067 5067
 			</para>
5068 5068
 			<para>
5069
-			    Default: <quote>user_id</quote>
5069
+			    Default: <quote>user</quote>
5070 5070
 			</para>
5071 5071
 		    </listitem>
5072 5072
 
... ...
@@ -58,7 +58,7 @@ modparam("usrloc", "db_url","sql://ser:heslo@dbhost/ser")
58 58
 #modparam("auth", "calculate_ha1", yes)
59 59
 
60 60
 modparam("auth", "db_url","sql://ser:heslo@dbhost/ser")
61
-modparam("auth", "user_column",   "user_id")
61
+modparam("auth", "user_column",   "user")
62 62
 # nonce generation secret; particularly useful if multiple servers
63 63
 # in a proxy farm are configured to authenticate
64 64
 #modparam("auth", "secret", "43sjkl33T9kjj_5jvlA384hg")
... ...
@@ -55,7 +55,7 @@ modparam("usrloc", "db_url",         "sql://root:@localhost/ser")
55 55
 # -- auth params --
56 56
 
57 57
 modparam("auth", "db_url",        "sql://root:@localhost/ser")
58
-modparam("auth", "user_column",   "user_id")
58
+modparam("auth", "user_column",   "user")
59 59
 # nonce generation secret; particularly useful if multiple servers
60 60
 # in a proxy farm are configured to authenticate
61 61
 modparam("auth", "secret",        "439tg8h349g8hq349t9384hg")
... ...
@@ -46,7 +46,7 @@ modparam("usrloc", "db_url",         "sql://csps:47csps11@dbhost/csps107")
46 46
 
47 47
 modparam("auth", "db_url",         "sql://csps:47csps11@dbhost/csps107")
48 48
 modparam("auth", "table",         "subscriber")
49
-modparam("auth", "user_column",         "user_id")
49
+modparam("auth", "user_column",         "user")
50 50
 
51 51
 modparam("acc", "report_ack", 1)
52 52
 modparam("acc", "early_media", 1)
... ...
@@ -46,7 +46,7 @@ modparam("usrloc", "db_url",         "sql://csps:47csps11@dbhost/csps107")
46 46
 
47 47
 modparam("auth", "db_url",         "sql://csps:47csps11@dbhost/csps107")
48 48
 modparam("auth", "table",         "subscriber")
49
-modparam("auth", "user_column",         "user_id")
49
+modparam("auth", "user_column",         "user")
50 50
 
51 51
 
52 52
 route{
... ...
@@ -54,7 +54,7 @@ modparam("usrloc", "db_url",         "sql://csps:47csps11@dbhost/csps107")
54 54
 # -- auth params --
55 55
 
56 56
 modparam("auth", "db_url",        "sql://csps:47csps11@dbhost/csps107")
57
-modparam("auth", "user_column",   "user_id")
57
+modparam("auth", "user_column",   "user")
58 58
 # nonce generation secret; particularly useful if multiple servers
59 59
 # in a proxy farm are configured to authenticate
60 60
 modparam("auth", "secret",        "439tg8h349g8hq349t9384hg")
... ...
@@ -13,7 +13,7 @@ loadmodule "modules/sl/sl.so"
13 13
 route[0] {
14 14
      if (!exec_msg('
15 15
 	QUERY="select email_address from subscriber 
16
-		where user_id=\"$SIP_OUSER\"";
16
+		where user=\"$SIP_OUSER\"";
17 17
 	EMAIL=`mysql  -Bsuser -pheslo -e "$QUERY" ser`;
18 18
 	if [ -z "$EMAIL" ] ; then exit 1; fi ;
19 19
 	echo "SIP request received from $SIP_HF_FROM for $SIP_OUSER" |
... ...
@@ -23,7 +23,7 @@ route[0] {
23 23
 
24 24
      	if (!exec_msg('
25 25
 		QUERY="select email_address from subscriber 
26
-			where user_id=\"$SIP_OUSER\"";
26
+			where user=\"$SIP_OUSER\"";
27 27
 		EMAIL=`mysql  -Bsuser -pheslo -e "$QUERY" ser`;
28 28
 		if [ -z "$EMAIL" ] ; then exit 1; fi ;
29 29
 		echo "SIP request received from $SIP_HF_FROM for $SIP_OUSER" |
... ...
@@ -49,7 +49,7 @@ route[1] {
49 49
 	# an email notification to him
50 50
      	if (!exec_msg('
51 51
 		QUERY="select email_address from subscriber 
52
-			where user_id=\"$SIP_OUSER\"";
52
+			where user=\"$SIP_OUSER\"";
53 53
 		EMAIL=`mysql  -Bsuser -pheslo -e "$QUERY" ser`;
54 54
 		if [ -z "$EMAIL" ] ; then exit 1; fi ;
55 55
 		echo "SIP request received from $SIP_HF_FROM for $SIP_OUSER" |
... ...
@@ -52,7 +52,7 @@ route[1] {
52 52
 	# an email notification to him
53 53
      	if (!exec_msg('
54 54
 		QUERY="select email_address from subscriber 
55
-			where user_id=\"$SIP_OUSER\"";
55
+			where user=\"$SIP_OUSER\"";
56 56
 		EMAIL=`mysql  -Bsuser -pheslo -e "$QUERY" ser`;
57 57
 		if [ -z "$EMAIL" ] ; then exit 1; fi ;
58 58
 		echo "SIP request received from $SIP_HF_FROM for $SIP_OUSER" |
... ...
@@ -71,7 +71,7 @@ reply_route[1] {
71 71
 	# just call exec, that's it
72 72
      	exec_msg('
73 73
 		QUERY="select email_address from subscriber 
74
-			where user_id=\"$SIP_OUSER\"";
74
+			where user=\"$SIP_OUSER\"";
75 75
 		EMAIL=`mysql  -Bsuser -pheslo -e "$QUERY" ser`;
76 76
 		if [ -z "$EMAIL" ] ; then exit 1; fi ;
77 77
 		echo "SIP request received from $SIP_HF_FROM for $SIP_OUSER" |