Hi,
I have installed ser and was amazed how easy it was to install (we have previously experimented with sipd, which finally runs ...).
I have run through the archives and also looked at all the documentation, but some things still don't work.
I use kphone 2.11 as client, but have tried sipc on a solaris box to the same extend. I am running kphone and ser 0.8.10 on redhat 8. MySQL is 3.23.52.
I have set the domain/realm things to cs.stir.ac.uk and restarted ser.
I have then set up a user using "serctl add srm test srm@cs.stir.ac.uk".
Now, on serweb in user_interface/index I cannot login with this user.
In kphone, I cannot register (it works ok on the columbia server):
----kphone says------------------------------------------
SipTransaction: Retransmit 1 (4000)
SipClient: Sending: 15:09:37.098 -------------------------------- REGISTER sip:cs.stir.ac.uk SIP/2.0 Via: SIP/2.0/UDP 139.153.254.196:5062 CSeq: 488 REGISTER To: "Stephan" sip:srm@cs.stir.ac.uk Expires: 900 From: "Stephan" sip:srm@cs.stir.ac.uk Call-ID: 1902284369@139.153.254.196 Content-Length: 0 User-Agent: KPhone/2.11 Event: registration Allow-Events: presence Contact: "root" sip:root@139.153.254.196:5062;transport=udp;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"
SipClient: Receiving message...
SipClient: Received: 15:09:39.724 --------------------------------- SIP/2.0 478 Unresolveable destination (478/TM) Via: SIP/2.0/UDP 139.153.254.196:5062 CSeq: 488 REGISTER To: "Stephan" sip:srm@cs.stir.ac.uk;tag=0a96755a1d32d0360b3e454593e5079b-9b73 From: "Stephan" sip:srm@cs.stir.ac.uk Call-ID: 1902284369@139.153.254.196 Server: Sip EXpress router (0.8.10 (i386/linux)) Content-Length: 0 Warning: 392 139.153.254.196:5060 "Noisy feedback tells: pid=5138 req_src_ip=139.153.254.196 in_uri=sip:cs.stir.ac.uk out_uri=sip:cs.stir.ac.uk via_cnt==1" --- end kphone -----------------------------------------------------
ser does answer, the Replied locally counter in serctl moni reflects this ok.
what is wrong? do you need any other files? In case you need more detail, where exactly is the server log??
by the way, I have tried this with auth turned on and off in ser.cfg. and without persistence. always the same ...
thanks S
-- Dr Stephan Reiff-Marganiec Research Fellow Department of Computing Science; University of Stirling email: srm@cs.stir.ac.uk tel: 01786 46 7448
Hello, comments inline.
On 16-01 15:24, Stephan Reiff-Marganiec wrote:
SIP/2.0 478 Unresolveable destination (478/TM) Via: SIP/2.0/UDP 139.153.254.196:5062 CSeq: 488 REGISTER To: "Stephan" sip:srm@cs.stir.ac.uk;tag=0a96755a1d32d0360b3e454593e5079b-9b73 From: "Stephan" sip:srm@cs.stir.ac.uk Call-ID: 1902284369@139.153.254.196 Server: Sip EXpress router (0.8.10 (i386/linux)) Content-Length: 0 Warning: 392 139.153.254.196:5060 "Noisy feedback tells: pid=5138 req_src_ip=139.153.254.196 in_uri=sip:cs.stir.ac.uk out_uri=sip:cs.stir.ac.uk via_cnt==1" --- end kphone -----------------------------------------------------
The problem is that the server tried to forward the request and was unable to resolve cs.stir.ac.uk.
But since it is a register, server should not forward it. There is a condition in the config script: if (uri == myself) which is true if request URI belongs to the host running ser. And because cs.stir.ac.uk cannot be resolved, ser does not know that this is a local domain and the test uri==myself will fail.
Add the following in your config file: alias="cs.stir.ac.uk"
See also section "Domain matching" in ser admin's guide: http://www.iptel.org/ser/doc/seruser.html
The problem is described there (including an example config).
In case you need more detail, where exactly is the server log??
/var/spool/messages
regards, Jan.