Hi, I want to know if there is some configuration with which SER can update the user status upon an Unclean Shutdown of UA. SER tends to keep showing the user status as logged in with ' serctl ul show ' command.
Moreover, i wanna know if we enable voice converstaion between SER Clients, say Windows Messenger and Kphone, Will they exchange voice packets using the SER gateway or will they communicate directly (p2p)...
I'm a newbie, and your help is highly appreciated... I use ser-0.8.12-0.i386, below is my ser.cfg file
------------------------------------------------------------------------------------------ check_via=no # (cmd. line: -v) dns=no # (cmd. line: -r) rev_dns=no # (cmd. line: -R) fifo="/tmp/ser_fifo"
loadmodule "/usr/lib/ser/modules/mysql.so" loadmodule "/usr/lib/ser/modules/acc.so" loadmodule "/usr/lib/ser/modules/domain.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" loadmodule "/usr/lib/ser/modules/auth_db.so" loadmodule "/usr/lib/ser/modules/xlog.so" loadmodule "/usr/lib/ser/modules/pa.so" loadmodule "/usr/lib/ser/modules/msilo.so"
modparam("registrar", "default_expires", 120) modparam("auth_db", "db_url", "sql://ser:heslo@localhost/ser") modparam("usrloc", "db_url", "sql://ser:heslo@localhost/ser") modparam("usrloc", "db_mode", 2) modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password") modparam("rr", "enable_full_lr", 1)
# main routing logic
route{
# initial sanity checks -- messages with if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; };
if ( msg:len > max_len ) { sl_send_reply("513", "Message too big"); break; };
if (loose_route()) { route(2); break; };
record_route(); if (loose_route()) { t_relay(); break; };
if (uri==myself) { if (method=="REGISTER") { if (!www_authorize("192.168.0.220", "subscriber")) { www_challenge("192.168.0.220", "0"); break; }; save("location"); break; };
if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; }; };
if (uri=~"^sip:44*@") { rewritehostport ("192.168.0.220:5060"); forward(192.168.0.220, 5060); } else { # it is an IP destination -- try to lookup it up in user location DB forward(uri:host,uri:port); }
if (!t_relay()) { sl_reply_error(); }; } -------------------------------------------------------------------------------------------
Best regards, A. A. Mughal