hello friends,
iam using the stable cvs version of ser
and mediaproxy available on net.
user agents as xlite
in nated ips working fine sessin established
but with non nated ip -nated ip
xlite is not registering ,
i tried with estara softphone and msn messenger 4.7
they registered but no sound is coming either sides.
iam attaching my ser.cfg.
so where might iam going wrong
please help me in this
with regards rama kanth
-------------------ser.cfg---------------------------- # # $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $ # # simple quick-start config script #
# ----------- global configuration parameters ------------------------
debug=8 # debug level (cmd line: -dddddddddd) fork=yes log_stderror=yes # (cmd line: -E)
/* Uncomment these lines to enter debugging mode debug=7 fork=no 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 ----------------------------------
# Uncomment this if you want to use SQL database loadmodule "/usr/local/lib/ser/modules/mysql.so" loadmodule "/usr/local/lib/ser/modules/exec.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/textops.so" loadmodule "/usr/local/lib/ser/modules/domain.so" loadmodule "/usr/local/lib/ser/modules/mediaproxy.so"
# ----------------- setting module-specific parameters ---------------
# -- rr params -- # add value to ;lr param to make some broken UAs happy modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
modparam("mediaproxy", "natping_interval", 60)
route{ 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 (client_nat_test("3")) { if (method == "REGISTER" || ! search("^Record-Route:")) { force_rport(); fix_contact(); };
if (method=="INVITE") { use_media_proxy(); t_on_reply("1"); }; };
if (method=="REGISTER") { save("location"); break; };
if (method=="INVITE") { log(1, "INVITE\n"); setflag(1); /* set for accounting (the same value as in log_flag!) */ }; if (method=="MESSAGE") { log(1, "MESSAGE\n"); setflag(1); /* set for accounting (the same value as in log_flag!) */ };
if (method=="BYE" || method=="CANCEL") { log (1, "BYE or CANCEL\n"); setflag(1); };
# native SIP destinations are handled using our USRLOC DB if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; };
if (method == "BYE" || method == "CANCEL") { end_media_session(); };
if (loose_route()) { t_relay(); break; };
if (method == "INVITE") { record_route(); };
if (!t_relay()) { sl_reply_error(); }; }
onreply_route[1] {
if (status=~"(183)|2[0-9][0-9]") { if (client_nat_test("1")) { fix_contact(); }; use_media_proxy(); };
if (status=~"[3-4]0[0-9]") { end_media_session(); break; }; }
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/