At 01:30 PM 1/31/2003, Ivan Vignola wrote:
Hi,
I have successfully (I think that) installed SER server with ser-mysql package.
I have set the environment variable 'SIP_DOMAIN="192.168.11.237"' (that
is server IP address).
I have succesfully added a user to subscriber table: 'serctl add ivan ivanpswd
ivan(a)hotmail.com'#39;, but registering WM to server fails:
URI = 'ivan(a)192.168.11.237'
Passwowd = 'ivanpswd'
User = 'ivan'
This is my ser.cfg file:
if (!www_authorize("192.168.11.237",
"subscriber")) {
if (!proxy_authorize("192.168.11.237",
"subscriber")) {
www_challenge("engiweb.org", "0");
break;
};
this is probably where the trouble lives. I'm too coffeinized now to see quickly what
is
the exaxct problem reason but two things seem strange to me:
- you challenge with a different realm ("engiweb") than you verify
("192...")
- the way how you compose ser actions is not easy to understand ... www_authorize's
'{' is matched by '}' behind save and before lookup. I guess that if
www_authorize
returns true (credentials are ok) a REGISTER is not saved but looked up, which is
what you probably do not want to do.
-jiri