im trying to replace the ip address in c= and o= with force_rtp_proxy. i tried different flag co,rc,ro,fo,fc,rfco but still doesnt work.
hope some one can help me with this.. below is my noob simple script. hope someone can help.. thanks you :) route[RTPPROXY] { #!ifdef WITH_NAT if (is_method("BYE")) { unforce_rtp_proxy(); } else if (is_method("INVITE")){ xlog("L_INFO","force_rtp_proxy!!!! $rm from $fu (IP:$si:$sp)\n"); force_rtp_proxy("rfco","publicip"); } if (!has_totag()) add_rr_param(";nat=yes"); #!endif return; } -- Regards, MingHon
_______________________________________________ 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