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 39
 P: F8190A31   FCC0 3F4A 1ACB 84C2 505C  573E CC03 B08E F819 0A31
30 40
 D:
31 41
 
42
+N: Jamey Hicks
43
+C: jamey
44
+E: 
45
+D:
46
+
47
+
32 48
 N: Jiri Kuthan
33 49
 C: jiri
34 50
 E:
35 51
new file mode 100644
... ...
@@ -0,0 +1,36 @@
1
+Current ser core team in alphabetical order as of 23 November 2004:
2
+
3
+Andrei Pelinescu - Onciul
4
+Bogdan Andrei Iancu
5
+Daniel-Constantin Mierla
6
+Jan Janak
7
+Jiri Kuthan
8
+
9
+
10
+Contributors:
11
+
12
+Adrian Georgescu
13
+Dan Pascu
14
+Greg Fausak
15
+Jamey Hicks
16
+Juha Heinanen
17
+Maxim Sobolev
18
+Miklos Tirpak
19
+Nils Ohlmeier
20
+Ramona-Elena Modroiu
21
+Raphael Coeffic
22
+
23
+
24
+Emeritus contributors (old ser contributors now off doing other things):
25
+
26
+Gabriel Vasile
27
+Ricardo Baratto
28
+Stelios Sidiroglou-Douskos
29
+
30
+
31
+Outstanding email support (ser users which helped a lot other people on 
32
+                           ser's mailing lists):
33
+
34
+Java Rockx
35
+Klaus Darilion
36
+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 598
 $(error 			Unsupported compiler ($(CC):$(CC_NAME)), try gcc)
593 599
 endif		#CC_NAME, suncc
594 600
 endif		#CC_NAME, gcc
595
-endif	#ARCH, sparc
601
+endif	#ARCH, sparc64
596 602
 
597 603
 	#if ipaq/netwinder
598 604
 ifeq	($(ARCH), arm)
... ...
@@ -855,6 +861,15 @@ ifeq ($(OS), openbsd)
855 861
 	LIBS= -lfl 
856 862
 	OPENBSD_IS_AOUT= $(shell echo "$(OSREL)" | \
857 863
 				sed -e 's/^3\.[0-3][^0-9]*$$/yes/' |sed -e 's/^[0-2]\..*/yes/')
864
+# exception: on sparc openbsd 3.2 is elf and not aout
865
+ifeq ($(OSREL), 3.2)
866
+ifeq	($(ARCH), sparc)
867
+		OPENBSD_IS_AOUT:=no
868
+endif
869
+ifeq	($(ARCH), sparc64)
870
+		OPENBSD_IS_AOUT:=no
871
+endif
872
+endif
858 873
 	
859 874
 ifeq ($(OPENBSD_IS_AOUT), yes)
860 875
 		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 48
 
48 49
 new modules:
49 50
  - avp / avp_db / avp_radius - load and check avps per caller or callee
50
- - avopos - flexible module for operations with avps and database, introducing
51
+ - avpops - flexible module for operations with avps and database, introducing
51 52
    a pseudo-varible support in SER configuration file
52 53
  - cpl-c - implementation of Call Processing Language
53 54
  - 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 94
 Depends on: -
67 95
 Purpose:    Database emulation in plaintext files
68 96
 
97
+Name:       dispatcher
98
+Owner:      dcm
99
+Use:        experimental
100
+Maturity:   alpha
101
+Depends on: -
102
+Purpose:    Implements a dispatcher for incoming requests using hashes
103
+
104
+Name:       diversion
105
+Owner:      janakj
106
+Use:        experimental
107
+Maturity:   alpha
108
+Depends on: -
109
+Purpose:    Support for the Diversion extensions (draft-levy-sip-diversion-08)
69 110
 
70 111
 Name:       exec
71 112
 Owner:      jiri
... ...
@@ -88,6 +129,20 @@ Maturity:   alpha
88 129
 Depends on: -
89 130
 Purpose:    Execution of external commands
90 131
 
132
+Name:       flatstore
133
+Owner:      janakj
134
+Use:        experimental
135
+Maturity:   beta
136
+Depends on: -
137
+Purpose:    Very fast accounting in flat text files
138
+
139
+Name:       gflags
140
+Owner:      jiri
141
+Use:        experimental
142
+Maturity:   beta
143
+Depends on: -
144
+Purpose:    global flags that can be changed by fifo commands
145
+
91 146
 Name:       group
92 147
 Owner:      janakj
93 148
 Use:        regular
... ...
@@ -130,6 +185,13 @@ Maturity:   stable
130 185
 Depends on: -
131 186
 Purpose:    MySQL database support
132 187
 
188
+Name:       options
189
+Owner:      calrissian
190
+Use:        experimental
191
+Maturity:   beta
192
+Depends on: -
193
+Purpose:    Answers server options requests
194
+
133 195
 Name:       pa
134 196
 Owner:      janakj
135 197
 Use:        experimental
... ...
@@ -181,11 +243,18 @@ Purpose:    SMS gateway
181 243
 
182 244
 Name:       snmp
183 245
 Owner:      ric
184
-Use:        experimental
185
-Maturity:   alpha
246
+Use:        removed
247
+Maturity:   removed
186 248
 Depends on: -
187 249
 Purpose:    SNMP Management
188 250
 
251
+Name:       speeddial
252
+Owner:      ramona
253
+Use:        regular
254
+Maturity:   beta
255
+Depends on: -
256
+Purpose:    On-server speed dial facilities
257
+
189 258
 Name:       textops
190 259
 Owner:      andrei
191 260
 Use:        regular
... ...
@@ -207,6 +276,13 @@ Maturity:   stable
207 276
 Depends on: database
208 277
 Purpose:    Various URI checks
209 278
 
279
+Name:       uri_db
280
+Owner:      janakj
281
+Use:        experimental
282
+Maturity:   beta
283
+Depends on: mysql uri
284
+Purpose:    URI checking using DB
285
+
210 286
 Name:       uri_radius
211 287
 Owner:      janakj
212 288
 Use:        experimental
... ...
@@ -223,8 +299,8 @@ Purpose:    User location support
223 299
 
224 300
 Name:       vm
225 301
 Owner:      rco
226
-Use:        experimental
227
-Maturity:   alpha
302
+Use:        removed (functionality moved in tm)
303
+Maturity:   removed
228 304
 Depends on: tm
229 305
 Purpose:    Voicemail interface
230 306
 
... ...
@@ -279,3 +355,9 @@ Maturity:	beta
279 355
 Depends on:	-
280 356
 Purpose:	hosts.allow-like ACLs
281 357
 
358
+Name:       postgress
359
+Owner:      lgfausak
360
+Use:        experimental
361
+Maturity:   beta
362
+Depends on: -
363
+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 82
 		" xchg %b1, %0" : "=q" (val), "=m" (*lock) : "0" (val) : "memory"
81 83
 	);
82 84
 #endif /*NOSMP*/
83
-#elif defined __CPU_sparc64
85
+#elif defined(__CPU_sparc64) || defined(__CPU_sparc)
84 86
 	asm volatile(
85 87
 			"ldstub [%1], %0 \n\t"
86 88
 #ifndef NOSMP
... ...
@@ -161,7 +163,7 @@ inline static void release_lock(fl_lock_t* lock)
161 163
 		" movb $0, (%0)" : /*no output*/ : "r"(lock): "memory"
162 164
 		/*" xchg %b0, %1" : "=q" (val), "=m" (*lock) : "0" (val) : "memory"*/
163 165
 	); 
164
-#elif defined __CPU_sparc64
166
+#elif defined(__CPU_sparc64) || defined(__CPU_sparc)
165 167
 	asm volatile(
166 168
 #ifndef NOSMP
167 169
 			"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 33
 .BI \-P " pid\-file"
37 34
 ] [
38 35
 .BI \-i " fifo\-path"
36
+] [
37
+.BI \-x " socket\-path"
39 38
 ]
40 39
 
41 40
 .SH DESCRIPTION
... ...
@@ -90,15 +89,13 @@ Reads the configuration from
90 89
 ).
91 90
 .TP
92 91
 .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
92
+Listens on the specified address/interface. Multiple 
99 93
 .B \-l
100
-and to all the following that do not have a corresponding 
101
-.B \-p.
94
+mean listening on multiple addresses. The address format is 
95
+[proto:]address[:port], where proto = udp|tcp and
96
+address = host|ip_address|interface_name. Example: -l localhost, 
97
+-l udp:127.0.0.1:5080, -l eth0:5062.
98
+The default behaviour is to listen on all the ipv4 interfaces.
102 99
 .TP
103 100
 .BI \-n " processes\-no"
104 101
 Specifies the number of children processes forked per interface (default 8).
... ...
@@ -143,6 +140,13 @@ process.
143 140
 Creates a fifo, usefull for monitoring
144 141
 .B ser
145 142
 status.
143
+.TP
144
+.BI \-x " socket\-path"
145
+Creates a unix socket, usefull for monitoring
146
+.B ser
147
+status ( same as
148
+.BI \-i " fifo\-path" 
149
+but using instead unix sockets).
146 150
 
147 151
 
148 152
 .SH FILES
... ...
@@ -174,6 +178,3 @@ Mailing lists:
174 178
 serusers@iptel.org - ser user community
175 179
 .nf 
176 180
 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