If your attachment is correct, there is no routing block for route(2) which is the logic to handle REGISTER request. Have you cut and paste the file correctly?
-----Original Message----- From: Martin Kjeldsen Sent: Wednesday, 1 June 2005 1:09 AM To: Greger V. Teigre Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Registrering trouble. Perhaps Fifo
This is what I get out of the netstat command:
osite1:~ # netstat -nlp | grep ser Active Internet connections (only servers) tcp 0 0 212.97.222.xxx:5060 0.0.0.0:* LISTEN 22531/ser udp 0 0 212.97.222.xxx:5060 0.0.0.0:* 22531/ser Active UNIX domain sockets (only servers)
So as far as I can see the SER should be listening on the port. Or am I wrong?
The output from the command ser -d -d -d -E -D is:
ser@osite1:~/running/ser0.9.0/sbin> ser -d -d -d -E -D 0(31063) read 2657387955 from /dev/urandom 0(31063) seeding PRNG with 3774970933 0(31063) test random number 849129338 Listening on udp: 212.97.222.xxx [212.97.222.xxx]:5060 tcp: 212.97.222.xxx [212.97.222.xxx]:5060 Aliases: tcp: osite1:5060 tcp: osite1.cuatro.dk:5060 udp: osite1:5060 udp: osite1.cuatro.dk:5060
WARNING: no fork mode stateless - initializing 0(0) Maxfwd module- initializing 0(0) INFO: udp_init: SO_RCVBUF is initially 111616 0(0) INFO: udp_init: SO_RCVBUF is finally 262142 2(31071) INFO: fifo process starting: 31071 2(31071) SER: open_uac_fifo: fifo server up at /tmp/ser_fifo... (stops here)
Can this have anything to do with SER not recieving/replying to UA messages?
And using this ser.cfg:
debug=3 fork=no log_stderror=yes
listen=212.97.222.xxx # put your server IP address here port=5060 #children=4
dns=no rev_dns=no fifo="/tmp/ser_fifo" fifo_db_url="mysql://ser:password@localhost/ser"
loadmodule "/home/ser/running/ser0.9.2/lib/ser/modules/sl.so" loadmodule "/home/ser/running/ser0.9.2/lib/ser/modules/tm.so" loadmodule "/home/ser/running/ser0.9.2/lib/ser/modules/rr.so" loadmodule "/home/ser/running/ser0.9.2/lib/ser/modules/maxfwd.so" loadmodule "/home/ser/running/ser0.9.2/lib/ser/modules/usrloc.so" loadmodule "/home/ser/running/ser0.9.2/lib/ser/modules/registrar.so"
modparam("usrloc", "db_mode", 0) modparam("rr", "enable_full_lr", 1)
route {
#
# Sanity Check Section #
if (!mf_process_maxfwd_header("10")) { sl_send_reply("483", "Too Many Hops"); break; }; if (msg:len > max_len) { sl_send_reply("513", "Message Overflow"); break; }; #
# Record Route Section #
if (method!="REGISTER") { record_route(); }; #
# Loose Route Section #
if (loose_route()) { route(1); break; }; #
# Call Type Processing Section #
if (uri!=myself) { route(1); break; }; if (uri==myself) { if (method=="REGISTER") { route(2); break; }; lookup("aliases"); if (uri!=myself) { route(1); break; }; if (!lookup("location")) { sl_send_reply("404", "User Not Found"); break; }; route(1); };
}
route[1] { #
# Default Message Handler #
if (!t_relay()) { sl_reply_error(); };
}
As simple as that. Again all help is greatly appreciated.
Martin