[Serusers] rtp proxy problem
santhosh
santhosh at integsrv.com
Wed Apr 14 15:59:07 CEST 2004
Hi ,
I am testing two cisco ATA behind NAT(using rtpproxy). Sometimes the
call goes perfect but suddenly it stops.Sometimes it rings but the voice
does't pass through.
The logs show error connecting to the rtpproxy.
I'm using RTPPROXY (1.19.2.10) and ser ( 0.8.12-tcp_nonb ).
My configuration file is
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/textops.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"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
route{
# compulsory processing of Route header fields and adding RR
loose_route();
# ATA's are symmetric but don't advertise it -- force use of rport
force_rport();
fix_nated_contact();
/* registration (uses rewritten contacts) */
if (method=="REGISTER") {
save("location");
break;
};
if (method=="INVITE") {
record_route();
force_rtp_proxy();
/* set up reply processing */
t_on_reply("1");
if (method == "INVITE" || method == "CANCEL") {
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
/* set up reply processing and forward statefuly */
t_relay();
}
# all incoming replies for t_onrepli-ed transactions enter here
onreply_route[1] {
if (status=~"2[0-9][0-9]") {
fix_nated_contact();
force_rtp_proxy();
};
}
Pls help me out !
thanks in advance
santhosh
More information about the sr-users
mailing list