ok - I will take a look. what ser ver is? cvs? rpms?
bogdan
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