Hi Nils,
thank you for your suggestion.
192.168.11.237 is my sever IP address and realm. I've added a user with
USER_ID=ivan(a)192.168.11.237
PASSWORD=ivanpswd
EMAIL-ADDRESS=ivan(a)hotmail.com
in subscriber table as you wrote e I'm trying to register WM:
ACCOUNT=ivan(a)192.168.11.237
PASSWORD=ivanpswd
USER=ivan(a)192.168.11.237
Authentication doesn't work!!!
Where am I wrong?
Thank you in advance.
Ivan.
From: Nils Ohlmeier <nils(a)ohlmeier.de>
To: "Ivan Vignola" <ivanvignola(a)hotmail.com>om>, serusers(a)lists.iptel.org
Subject: Re: [Serusers] Windows Messenger authentication fails.
Date: Fri, 31 Jan 2003 14:36:47 +0100
Hi Ivan,
the problem with WM is that the address of the server have to be the same
as
the domain part of the URI (which is not RFC conform). For example you have
to add ivan(a)192.168.11.237 to the subscriber table and also use this
account
within your WM to get authentication working.
Regards
Nils Ohlmeier
On Friday 31 January 2003 13:30, 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:
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
loadmodule "//usr/lib/ser/modules/mysql.so"
loadmodule "//usr/lib/ser/modules/sl.so"
loadmodule "//usr/lib/ser/modules/tm.so"
loadmodule "//usr/lib/ser/modules/rr.so"
loadmodule "//usr/lib/ser/modules/maxfwd.so"
loadmodule "//usr/lib/ser/modules/usrloc.so"
loadmodule "//usr/lib/ser/modules/registrar.so"
loadmodule "//usr/lib/ser/modules/auth.so"
# ----------------- setting module-specific parameters ---------------
modparam("usrloc", "db_mode", 2)
modparam("auth", "db_url",
"sql://ser:heslo@localhost/ser")
modparam("auth", "calculate_ha1", yes)
modparam("auth", "password_column", "password")
# ------------------------- request routing logic -------------------
alias="engiweb.com"
alias="sip.engiweb.com"
route{
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
rewriteFromRoute();
if
(uri=~"^sip:(.+@)?(192\.168\.11\.237|(sip\.)?engiweb\.com)([:;\?].*)?$")
{
if (method=="REGISTER") {
if (!www_authorize("192.168.11.237", "subscriber")) {
if (!proxy_authorize("192.168.11.237", "subscriber")) {
www_challenge("engiweb.org", "0");
break;
};
save("location");
break;
};
lookup("aliases");
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
if (!t_relay()) {
sl_reply_error();
};
}
What could be the problem?
Best regards.
Ivan Vignola.
_________________________________________________________________
MSN Extra Storage: piena libertà di esprimersi e comunicare
http://www.msn.it/msnservizi/es/extra_storage_tag/
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
gpg-key:
http://www.ohlmeier.org/public_key.asc
<< attach3 >>
_________________________________________________________________
Vuoi ricevere fantastiche offerte promozionali via email?