On Fri, Jul 30, 2004 at 11:48:16AM +0200, Bogdan-Andrei IANCU wrote:
ok - I will take a look. what ser ver is? cvs? rpms?
bogdan
ser-0.8.14.tar.gz
ser@gabrielle$ ser -V
version: 0.8.14 (i386/freebsd)
flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM, SHM_MMAP,
PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024,
BUF_SIZE 65535
@(#) $Id: main.c,v 1.168.4.3 2004/06/28 15:41:21 andrei Exp $
main.c compiled on 23:45:27 Jul 29 2004 with gcc 2.95
ser@gabrielle$
/Tony
Tony Sarendal wrote:
On Fri, Jul 30, 2004 at 11:01:59AM +0200,
Bogdan-Andrei IANCU wrote:
Or should
I use aliases and unique usernames instead ?
you can use the same username for different domains, but be careful and
enable the "use_domain" param for the modules you use (ex: usrloc,
registrar) - Note, not all modules have this param.
Everything seems to be working, except the below.
---
ser@gabrielle$ export SIP_DOMAIN=test1.se
ser@gabrielle$ serctl add testuser testis testuser(a)test1.se
MySql password:
new user added
ser@gabrielle$ export SIP_DOMAIN=test2.se
ser@gabrielle$ serctl add testuser testis testuser(a)test2.se
MySql password:
new user added
ser@gabrielle$
mysql> select username,domain from subscriber where username like 'test%';
+----------+----------+
| username | domain |
+----------+----------+
| testuser | test1.se |
| testuser | test2.se |
+----------+----------+
2 rows in set (0.02 sec)
mysql>
ser@gabrielle$ export SIP_DOMAIN=test1.se
ser@gabrielle$ serctl rm testuser
MySql password:
ser@gabrielle$
mysql> select username,domain from subscriber where username like 'test%';
Empty set (0.00 sec)
mysql>
---
Both users disapeared after serctl rm testuser.
/Tony
--
---
Tony Sarendal - tony.sarendal(a)polarcap.org
Cisco/Unix/Babies
-= The scorpion replied,
"I couldn't help it, it's my nature." =-