[Serusers] SER not responding
Ryan Pagquil
rpagquil at philonline.com
Wed Jun 15 15:20:18 CEST 2005
Hi guys,
I have a problem with SER... whenever I register using X-lite i
never get logged in.... X-lite always prompts me that the connection
timed out.... in my SER machine I run tcpdump -i gem0 | grep 5060 and i
only see the request comming from my firewall and the SER machine is not
responding on the request.
here is the diagnostic of x-lite:
SEND TIME: 3530347
SEND >> 202.84.24.107:5060
REGISTER sip:philonline.com SIP/2.0
Via: SIP/2.0/UDP
202.84.24.126:5060;rport;branch=z9hG4bK1165436EDDDD11D9BFB500E04CAB4AB4
From: Ryan Pagquil <sip:rpagquil at philonline.com>;tag=2916895101
To: Ryan Pagquil <sip:rpagquil at philonline.com>
Contact: "Ryan Pagquil" <sip:rpagquil at 202.84.24.126:5060>
Call-ID: 11654266DDDD11D9BFB500E04CAB4AB4 at philonline.com
CSeq: 53597 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
here is my ser.cfg:
#debug=4 # debug level (cmd line: -dddddddddd)
#fork=no
#log_stderror=yes # (cmd line: -E)
# Uncomment these lines to enter debugging mode
#debug=3
#fork=yes
#log_stderror=yes
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/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
modparam("usrloc", "db_mode", 2)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
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;
};
record_route();
if (loose_route()) {
t_relay();
break;
};
if (uri==mysql) {
if (method=="REGISTER") {
if (!www_authorize("philonline.com",
"subscriber")) {
www_challenge("philonline.com", "0");
break;
};
save("location");
break;
};
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
if (!t_relay()) {
sl_reply_error();
};
}
my ser.cfg contains the default configuration and i just edited and
uncommented some parts of it.
Thanks,
--
Ryan Pagquil
Infodyne Inc. - PhilOnline.com
3603 Antel Global Corporate Center
Doña Julia Vargas Ave.
Ortigas Center Pasig City
Tel: 687-0715
Web: www.philonline.com
More information about the sr-users
mailing list