[Serusers] How can I add a domain to ser?

Sebastian Muñiz sjmuniz at fastmail.fm
Tue Jul 26 01:06:47 CEST 2005


I am a newbie, and I have tried to read the docs.
I am trying to do authorization.
I have already setup mysql with ser_mysql.sh
and uncommented the lines in ser.cfg.
It seems that mysql has the domain localtel.ath.cx in the database,
but ngrep still shows "Too many hops".

U 201.135.14.132:5060 -> 192.168.2.193:5060
  SIP/2.0 483 Too Many Hops..Via: SIP/2.0/UDP
201.145.17.115:5060;branch=z9hG4bK0re2im9ZQ9PVFf1A
  ..From: "667" <sip:667 at 201.135.14.132>;tag=HFSYYxJvpgDbM3S9..To: "667"
<sip:667 at 201.135.14.132
  >;tag=b27e1a1d33761e85846fc98f5f3a7e58.35d8..Call-ID:
vVKJwLiGYFQcbkKy at 201.145.17.115..CSeq: 2
  9436 REGISTER..Server: Sip EXpress router (0.9.3
(i386/linux))..Content-Length: 0..Warning: 39
  2 201.135.14.132:5060 "Noisy feedback tells:  pid=2022
req_src_ip=201.135.14.132 req_src_port=
  5060 in_uri=sip:201.135.14.132 out_uri=sip:201.135.14.132 via_cnt==18"....

At ser machine, I tried

zeus:~# serctl domain show
500 command 'domain_dump' not available
zeus:~# serctl domain add localtel.ath.cx
MySql password:
ERROR 1062 at line 1: Duplicate entry 'localtel.ath.cx' for key 1
SQL Error
zeus:~# serctl domain show
500 command 'domain_dump' not available
zeus:~#

What can be wrong?

Thanks in advance.
Sebastian.




More information about the sr-users mailing list