This suggests asymmetrical invocation of rtpproxy, for example in 200 OK but not corresponding INVITE.

--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

On Oct 13, 2010, at 1:33 PM, Anders <vae...@gmail.com> wrote:

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();
}

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to