Browse code

- various pre-release updates - use_domain set to 0 by default in all the modules - experimental sparc32 non-SMP support (thanks to Michael Grigoni)

Andrei Pelinescu-Onciul authored on 16/12/2004 17:39:46
Showing 12 changed files
... ...
@@ -22,6 +22,16 @@ C: dcm
22 22
 E: mierla@fokus.fraunhofer.de
23 23
 D:
24 24
 
25
+N: Gabriel Vasile
26
+C: gabriel
27
+E:
28
+D:
29
+
30
+N: Greg Fausak
31
+C: lgfausak
32
+E:
33
+D:
34
+
25 35
 N: Jan Janak
26 36
 C: janakj
27 37
 E: jan@iptel.org
... ...
@@ -29,6 +39,12 @@ W: http://iptel.org/~janakj
29 29
 P: F8190A31   FCC0 3F4A 1ACB 84C2 505C  573E CC03 B08E F819 0A31
30 30
 D:
31 31
 
32
+N: Jamey Hicks
33
+C: jamey
34
+E: 
35
+D:
36
+
37
+
32 38
 N: Jiri Kuthan
33 39
 C: jiri
34 40
 E:
35 41
new file mode 100644
... ...
@@ -0,0 +1,36 @@
0
+Current ser core team in alphabetical order as of 23 November 2004:
1
+
2
+Andrei Pelinescu - Onciul
3
+Bogdan Andrei Iancu
4
+Daniel-Constantin Mierla
5
+Jan Janak
6
+Jiri Kuthan
7
+
8
+
9
+Contributors:
10
+
11
+Adrian Georgescu
12
+Dan Pascu
13
+Greg Fausak
14
+Jamey Hicks
15
+Juha Heinanen
16
+Maxim Sobolev
17
+Miklos Tirpak
18
+Nils Ohlmeier
19
+Ramona-Elena Modroiu
20
+Raphael Coeffic
21
+
22
+
23
+Emeritus contributors (old ser contributors now off doing other things):
24
+
25
+Gabriel Vasile
26
+Ricardo Baratto
27
+Stelios Sidiroglou-Douskos
28
+
29
+
30
+Outstanding email support (ser users which helped a lot other people on 
31
+                           ser's mailing lists):
32
+
33
+Java Rockx
34
+Klaus Darilion
35
+Zeus Ng
... ...
@@ -52,7 +52,7 @@ MAIN_NAME=ser
52 52
 VERSION = 0
53 53
 PATCHLEVEL = 8
54 54
 SUBLEVEL =   99
55
-EXTRAVERSION = -dev26
55
+EXTRAVERSION = -dev27
56 56
 
57 57
 RELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
58 58
 OS = $(shell uname -s | sed -e s/SunOS/solaris/ | tr "[A-Z]" "[a-z]")
... ...
@@ -400,6 +400,12 @@ ifeq 	($(CC_NAME), gcc)
400 400
 endif
401 401
 endif
402 402
 
403
+ifeq ($(ARCH), sparc)
404
+	# smp no supported on sparc32
405
+	DEFS+= -DNOSMP 
406
+	use_fast_lock=yes
407
+endif
408
+
403 409
 ifeq ($(ARCH), arm)
404 410
 	use_fast_lock=yes
405 411
 endif
... ...
@@ -592,7 +598,7 @@ else
592 592
 $(error 			Unsupported compiler ($(CC):$(CC_NAME)), try gcc)
593 593
 endif		#CC_NAME, suncc
594 594
 endif		#CC_NAME, gcc
595
-endif	#ARCH, sparc
595
+endif	#ARCH, sparc64
596 596
 
597 597
 	#if ipaq/netwinder
598 598
 ifeq	($(ARCH), arm)
... ...
@@ -855,6 +861,15 @@ ifeq ($(OS), openbsd)
855 855
 	LIBS= -lfl 
856 856
 	OPENBSD_IS_AOUT= $(shell echo "$(OSREL)" | \
857 857
 				sed -e 's/^3\.[0-3][^0-9]*$$/yes/' |sed -e 's/^[0-2]\..*/yes/')
858
+# exception: on sparc openbsd 3.2 is elf and not aout
859
+ifeq ($(OSREL), 3.2)
860
+ifeq	($(ARCH), sparc)
861
+		OPENBSD_IS_AOUT:=no
862
+endif
863
+ifeq	($(ARCH), sparc64)
864
+		OPENBSD_IS_AOUT:=no
865
+endif
866
+endif
858 867
 	
859 868
 ifeq ($(OPENBSD_IS_AOUT), yes)
860 869
 		DEFS+=-DDLSYM_PREFIX='"_"'
... ...
@@ -8,8 +8,9 @@ $Id$
8 8
 
9 9
 new archs:
10 10
  - mips2/cobalt experimental support
11
- - x86_64 experimental support
11
+ - x86_64 support
12 12
  - OS X (darwin) support
13
+ - sparc32 single cpu highly experimental support
13 14
 
14 15
 modules:
15 16
  - enum - support for more than one NAPTR
... ...
@@ -47,7 +48,7 @@ modules:
47 47
 
48 48
 new modules:
49 49
  - avp / avp_db / avp_radius - load and check avps per caller or callee
50
- - avopos - flexible module for operations with avps and database, introducing
50
+ - avpops - flexible module for operations with avps and database, introducing
51 51
    a pseudo-varible support in SER configuration file
52 52
  - cpl-c - implementation of Call Processing Language
53 53
  - dispatcher - implements a dispatcher for incoming requests using hashes
... ...
@@ -52,10 +52,38 @@ Maturity:   beta
52 52
 Depends on: auth
53 53
 Purpose:    Radius support for digest authentication
54 54
 
55
+Name:       avp
56
+Owner:      jiri
57
+Use:        regular
58
+Maturity:   beta
59
+Depends on: -
60
+Purpose:    Loads and checks avps per caller or callee
61
+
62
+Name:       avp_db
63
+Owner:      janakj
64
+Use:        regular
65
+Maturity:   beta
66
+Depends on: mysql avp
67
+Purpose:    Database support for avps
68
+
69
+Name:       avp_db
70
+Owner:      janakj
71
+Use:        regular
72
+Maturity:   beta
73
+Depends on: avp
74
+Purpose:    Radius support for avps
75
+
76
+Name:       avpops
77
+Owner:      ramona
78
+Use:        regular
79
+Maturity:   beta
80
+Depends on: 
81
+Purpose:    avp operations, pseudo-variable support
82
+
55 83
 Name:       cpl-c
56 84
 Owner:      bogdan
57
-Use:        experimental
58
-Maturity:   alpha
85
+Use:        regular
86
+Maturity:   beta
59 87
 Depends on: -
60 88
 Purpose:    Call Processing Language
61 89
 
... ...
@@ -66,6 +94,19 @@ Maturity:   alpha
66 66
 Depends on: -
67 67
 Purpose:    Database emulation in plaintext files
68 68
 
69
+Name:       dispatcher
70
+Owner:      dcm
71
+Use:        experimental
72
+Maturity:   alpha
73
+Depends on: -
74
+Purpose:    Implements a dispatcher for incoming requests using hashes
75
+
76
+Name:       diversion
77
+Owner:      janakj
78
+Use:        experimental
79
+Maturity:   alpha
80
+Depends on: -
81
+Purpose:    Support for the Diversion extensions (draft-levy-sip-diversion-08)
69 82
 
70 83
 Name:       exec
71 84
 Owner:      jiri
... ...
@@ -88,6 +129,20 @@ Maturity:   alpha
88 88
 Depends on: -
89 89
 Purpose:    Execution of external commands
90 90
 
91
+Name:       flatstore
92
+Owner:      janakj
93
+Use:        experimental
94
+Maturity:   beta
95
+Depends on: -
96
+Purpose:    Very fast accounting in flat text files
97
+
98
+Name:       gflags
99
+Owner:      jiri
100
+Use:        experimental
101
+Maturity:   beta
102
+Depends on: -
103
+Purpose:    global flags that can be changed by fifo commands
104
+
91 105
 Name:       group
92 106
 Owner:      janakj
93 107
 Use:        regular
... ...
@@ -130,6 +185,13 @@ Maturity:   stable
130 130
 Depends on: -
131 131
 Purpose:    MySQL database support
132 132
 
133
+Name:       options
134
+Owner:      calrissian
135
+Use:        experimental
136
+Maturity:   beta
137
+Depends on: -
138
+Purpose:    Answers server options requests
139
+
133 140
 Name:       pa
134 141
 Owner:      janakj
135 142
 Use:        experimental
... ...
@@ -181,11 +243,18 @@ Purpose:    SMS gateway
181 181
 
182 182
 Name:       snmp
183 183
 Owner:      ric
184
-Use:        experimental
185
-Maturity:   alpha
184
+Use:        removed
185
+Maturity:   removed
186 186
 Depends on: -
187 187
 Purpose:    SNMP Management
188 188
 
189
+Name:       speeddial
190
+Owner:      ramona
191
+Use:        regular
192
+Maturity:   beta
193
+Depends on: -
194
+Purpose:    On-server speed dial facilities
195
+
189 196
 Name:       textops
190 197
 Owner:      andrei
191 198
 Use:        regular
... ...
@@ -207,6 +276,13 @@ Maturity:   stable
207 207
 Depends on: database
208 208
 Purpose:    Various URI checks
209 209
 
210
+Name:       uri_db
211
+Owner:      janakj
212
+Use:        experimental
213
+Maturity:   beta
214
+Depends on: mysql uri
215
+Purpose:    URI checking using DB
216
+
210 217
 Name:       uri_radius
211 218
 Owner:      janakj
212 219
 Use:        experimental
... ...
@@ -223,8 +299,8 @@ Purpose:    User location support
223 223
 
224 224
 Name:       vm
225 225
 Owner:      rco
226
-Use:        experimental
227
-Maturity:   alpha
226
+Use:        removed (functionality moved in tm)
227
+Maturity:   removed
228 228
 Depends on: tm
229 229
 Purpose:    Voicemail interface
230 230
 
... ...
@@ -279,3 +355,9 @@ Maturity:	beta
279 279
 Depends on:	-
280 280
 Purpose:	hosts.allow-like ACLs
281 281
 
282
+Name:       postgress
283
+Owner:      lgfausak
284
+Use:        experimental
285
+Maturity:   beta
286
+Depends on: -
287
+Purpose:    Postgress DB support
... ...
@@ -36,6 +36,8 @@
36 36
  *  2003-01-16  added PPC locking code contributed by Dinos Dorkofikis
37 37
  *               <kdor@intranet.gr>
38 38
  *  2004-09-12  added MIPS locking for ISA>=2 (>r3000)  (andrei)
39
+ *  2004-12-16  for now use the same locking code for sparc32 as for sparc64
40
+ *               (it will work only if NOSMP is defined) (andrei)
39 41
  *
40 42
  */
41 43
 
... ...
@@ -80,7 +82,7 @@ inline static int tsl(fl_lock_t* lock)
80 80
 		" xchg %b1, %0" : "=q" (val), "=m" (*lock) : "0" (val) : "memory"
81 81
 	);
82 82
 #endif /*NOSMP*/
83
-#elif defined __CPU_sparc64
83
+#elif defined(__CPU_sparc64) || defined(__CPU_sparc)
84 84
 	asm volatile(
85 85
 			"ldstub [%1], %0 \n\t"
86 86
 #ifndef NOSMP
... ...
@@ -161,7 +163,7 @@ inline static void release_lock(fl_lock_t* lock)
161 161
 		" movb $0, (%0)" : /*no output*/ : "r"(lock): "memory"
162 162
 		/*" xchg %b0, %1" : "=q" (val), "=m" (*lock) : "0" (val) : "memory"*/
163 163
 	); 
164
-#elif defined __CPU_sparc64
164
+#elif defined(__CPU_sparc64) || defined(__CPU_sparc)
165 165
 	asm volatile(
166 166
 #ifndef NOSMP
167 167
 			"membar #LoadStore | #StoreStore \n\t" /*is this really needed?*/
... ...
@@ -44,7 +44,7 @@
44 44
 /* defs*/
45 45
 
46 46
 #ifdef DBG_F_MALLOC
47
-#ifdef __CPU_sparc64
47
+#if defined(__CPU_sparc64) || defined(__CPU_sparc)
48 48
 /* tricky, on sun in 32 bits mode long long must be 64 bits aligned
49 49
  * but long can be 32 bits aligned => malloc should return long long
50 50
  * aligned memory */
... ...
@@ -43,7 +43,7 @@
43 43
 
44 44
 /* defs*/
45 45
 #ifdef DBG_QM_MALLOC
46
-#ifdef __CPU_sparc64
46
+#if defined(__CPU_sparc64) || defined(__CPU_sparc)
47 47
 /* tricky, on sun in 32 bits mode long long must be 64 bits aligned
48 48
  * but long can be 32 bits aligned => malloc should return long long
49 49
  * aligned memory */
... ...
@@ -360,7 +360,9 @@ int avp2timer(unsigned int* timer, int_str param)
360 360
 
361 361
 	avp = search_first_avp(AVP_VAL_STR | AVP_NAME_STR, param, &val_istr);
362 362
 	if (!avp) {
363
-		DBG("avp2timer: AVP '%.*s' not found\n", param.s->len, ZSW(param.s->s));
363
+		/*
364
+		 DBG("avp2timer: AVP '%.*s' not found\n", param.s->len, ZSW(param.s->s));
365
+		 */
364 366
 		return 1;
365 367
 	}
366 368
 	
... ...
@@ -269,7 +269,7 @@ static param_export_t params[]={
269 269
 	{"restart_fr_on_each_reply", INT_PARAM, &restart_fr_on_each_reply        },
270 270
 	{"fr_timer_avp",        STR_PARAM, &fr_timer_param.s                     },
271 271
 	{"fr_inv_timer_avp",    STR_PARAM, &fr_inv_timer_param.s                 },
272
-	{"tw_append",           STR_PARAM|USE_FUNC_PARAM, parse_tw_append        },
272
+	{"tw_append",           STR_PARAM|USE_FUNC_PARAM, (void*)parse_tw_append },
273 273
 	{0,0,0}
274 274
 };
275 275
 
... ...
@@ -13,9 +13,6 @@ ser \- very fast and configurable sip proxy
13 13
 .BI \-f " config\-file"
14 14
 ] [
15 15
 .BI \-l " address"
16
-[ 
17
-.BI \-p " port"
18
-] ]...
19 16
 ] [
20 17
 .BI \-n " processes\-no"
21 18
 ] [
... ...
@@ -36,6 +33,8 @@ ser \- very fast and configurable sip proxy
36 36
 .BI \-P " pid\-file"
37 37
 ] [
38 38
 .BI \-i " fifo\-path"
39
+] [
40
+.BI \-x " socket\-path"
39 41
 ]
40 42
 
41 43
 .SH DESCRIPTION
... ...
@@ -90,15 +89,13 @@ Reads the configuration from
90 90
 ).
91 91
 .TP
92 92
 .BI \-l " address"
93
-Listens on the specified address. Multiple 
94
-.B \-l
95
-mean listening on multiple addresses. The default behaviour is to listen on all the ipv4 interfaces.
96
-.TP
97
-.BI \-p " port"
98
-Listens on the specified port (default 5060). It applies to the last address specified with
93
+Listens on the specified address/interface. Multiple 
99 94
 .B \-l
100
-and to all the following that do not have a corresponding 
101
-.B \-p.
95
+mean listening on multiple addresses. The address format is 
96
+[proto:]address[:port], where proto = udp|tcp and
97
+address = host|ip_address|interface_name. Example: -l localhost, 
98
+-l udp:127.0.0.1:5080, -l eth0:5062.
99
+The default behaviour is to listen on all the ipv4 interfaces.
102 100
 .TP
103 101
 .BI \-n " processes\-no"
104 102
 Specifies the number of children processes forked per interface (default 8).
... ...
@@ -143,6 +140,13 @@ process.
143 143
 Creates a fifo, usefull for monitoring
144 144
 .B ser
145 145
 status.
146
+.TP
147
+.BI \-x " socket\-path"
148
+Creates a unix socket, usefull for monitoring
149
+.B ser
150
+status ( same as
151
+.BI \-i " fifo\-path" 
152
+but using instead unix sockets).
146 153
 
147 154
 
148 155
 .SH FILES
... ...
@@ -174,6 +178,3 @@ Mailing lists:
174 174
 serusers@iptel.org - ser user community
175 175
 .nf 
176 176
 serdev@iptel.org - ser development, new features and unstable version
177
-.PP
178
-For help/support, write an email to <serhelp@iptel.org>.
179
-
... ...
@@ -49,6 +49,4 @@ Mailing lists:
49 49
 serusers@iptel.org - ser user community
50 50
 .nf 
51 51
 serdev@iptel.org - ser development, new features and unstable version
52
-.PP
53
-For help/support, write an email to <serhelp@iptel.org>.
54 52