Hi,
I'm trying to get the RTP proxy to work with Kamailio (1.5), but right
now I am getting this error here:
Oct 13 16:54:44 vn1031 /usr/local/sbin/kamailio[13622]:
ERROR:nathelper:force_rtp_proxy: incorrect port 0 in reply from rtp
proxy
There is probably something wrong in my cfg - for the use of
force_rtp_proxy that part of my config is here below. See anything odd
that could lead to the error above?
route {
......
route(4);
......
}
route[4]{
force_rport();
if (nat_uac_test("19")) {
if (method=="REGISTER") {
fix_nated_register();
} else {
fix_nated_contact();
}
setflag(5);
}
return;
}
route[5] {
if (is_method("BYE")) {
unforce_rtp_proxy();
} else if (is_method("INVITE")){
force_rtp_proxy();
}
if (!has_totag()) add_rr_param(";nat=yes");
return;
}
onreply_route[1] {
xdbg("incoming reply\n");
if (!(status =~ "183" || status =~ "200"))
exit;
#fix_nated_contact();
force_rtp_proxy();
}