<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>We have a setup with sipml5 to kamailio. It works perfectly within local network. In public network the signaling establishes perfectly, but most of the time we hear no voice, sometimes we hear one sided voice and in rare cases we hear voice from both sides. To fix this issue we configured our nathandler like the below: But, still no luck. Any idea how to fix this? Please HELP!!!<br><br>modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")<br>modparam("nathelper", "nortpproxy_str", "a=sdpmangled:yes\r\n")<br>.<br>.<br>.<br>route {<br>.<br>.<br> if (nat_uac_test("115")) {<br>                if(nat_uac_test("64"))<br>                    force_rport();<br>                }<br>                if (method=="REGISTER") {<br>                    fix_nated_register();<br>                    add_rcv_param();<br>                } else {<br>                    fix_nated_contact();<br>                    if(nat_uac_test("64")){<br>                        if (!add_contact_alias()) {<br>                            xlog("L_ERR", "Error aliasing contact <$ct>\n");<br>                            sl_send_reply("400", "Bad Request");<br>                            exit;<br>                        }<br>                    } else {<br>                        add_rcv_param();<br>                    }<br>                }<br>            }<br>.<br>.<br><br>onreply_route {<br>    if (nat_uac_test(64)) {<br>            add_contact_alias();<br>        }<br>.<br>.<br>}<br><br><br>                                        </div></body>
</html>